kubernetes-deploy 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/bin/ci +1 -1
- data/bin/setup +2 -2
- data/lib/kubernetes-deploy/runner.rb +2 -2
- data/lib/kubernetes-deploy/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 847d8896587cd1782e7fcda36d6f73afb9f52989
|
4
|
+
data.tar.gz: 359192fb71943bd4dd916436b12225c798ae2e70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 061ddcbfd5009eac42f43c489b1d6ab471e53eea281666d76919d1de91f4fb8ad20e15b9e8c2d7bb1e2c2dd242640d69926355a0efe941a1556fb70ee32fa867
|
7
|
+
data.tar.gz: 8f7d8be0baa2d6b265cbffdc269fc8b532cbc27a6825a6eda0f039a3f5355347a2a7d17258bae629e1904ed3451c7e47c48e27fd68f8e5df8fe82f4493e2a275
|
data/README.md
CHANGED
@@ -26,7 +26,7 @@ Or install it yourself as:
|
|
26
26
|
|
27
27
|
Requirements:
|
28
28
|
|
29
|
-
- kubectl 1.
|
29
|
+
- kubectl 1.6.0+ binary must be available in your path
|
30
30
|
- `ENV['KUBECONFIG']` must point to a valid kubeconfig file that includes the context you want to deploy to
|
31
31
|
- The target namespace must already exist in the target context
|
32
32
|
- `ENV['GOOGLE_APPLICATION_CREDENTIALS']` must point to the credentials for an authenticated service account if your user's auth provider is GCP
|
@@ -42,7 +42,7 @@ The following command will restart all pods in the `web` and `jobs` deployments:
|
|
42
42
|
|
43
43
|
## Development
|
44
44
|
|
45
|
-
After checking out the repo, run `bin/setup` to install dependencies. You currently need to [manually install kubectl version 1.
|
45
|
+
After checking out the repo, run `bin/setup` to install dependencies. You currently need to [manually install kubectl version 1.6.0 or higher](https://kubernetes.io/docs/user-guide/prereqs/) as well if you don't already have it.
|
46
46
|
|
47
47
|
To run the tests:
|
48
48
|
|
data/bin/ci
CHANGED
data/bin/setup
CHANGED
@@ -9,8 +9,8 @@ if [ ! -x "$(which minikube)" ]; then
|
|
9
9
|
fi
|
10
10
|
|
11
11
|
if [ ! -x "$(which kubectl)" ]; then
|
12
|
-
echo -e "\n\033[0;33mPlease install kubectl version 1.
|
12
|
+
echo -e "\n\033[0;33mPlease install kubectl version 1.6.0 or higher:\nhttps://kubernetes.io/docs/user-guide/prereqs/\033[0m"
|
13
13
|
else
|
14
14
|
KUBECTL_VERSION=$(kubectl version --short --client | grep -oe "v[[:digit:]\.]\+")
|
15
|
-
echo -e "\n\033[0;32mKubectl version $KUBECTL_VERSION is already installed. This gem requires version v1.
|
15
|
+
echo -e "\n\033[0;32mKubectl version $KUBECTL_VERSION is already installed. This gem requires version v1.6.0 or greater.\033[0m"
|
16
16
|
fi
|
@@ -149,8 +149,8 @@ MSG
|
|
149
149
|
# to make it easier for developer to understand what's going on
|
150
150
|
def inspect_kubectl_out_for_files(stderr)
|
151
151
|
# Output example:
|
152
|
-
#
|
153
|
-
match = stderr.match(
|
152
|
+
# Error from server (BadRequest): error when creating "/path/to/configmap-gqq5oh.yml20170411-33615-t0t3m":
|
153
|
+
match = stderr.match(%r{BadRequest.*"(?<path>\/\S+\.yml\S+)"})
|
154
154
|
return unless match
|
155
155
|
|
156
156
|
path = match[:path]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kubernetes-deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kir Shatrov
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-04-
|
13
|
+
date: 2017-04-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
152
|
version: '0'
|
153
153
|
requirements: []
|
154
154
|
rubyforge_project:
|
155
|
-
rubygems_version: 2.
|
155
|
+
rubygems_version: 2.5.1
|
156
156
|
signing_key:
|
157
157
|
specification_version: 4
|
158
158
|
summary: Kubernetes deploy scripts
|