kubernetes-deploy 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6837800094b0b4ab018fd5f293c7b1fae54ab733
4
- data.tar.gz: 42831de0eeb6024cca35b8c3761361240d0bc479
3
+ metadata.gz: 847d8896587cd1782e7fcda36d6f73afb9f52989
4
+ data.tar.gz: 359192fb71943bd4dd916436b12225c798ae2e70
5
5
  SHA512:
6
- metadata.gz: a9d77d3b4285211c41b181840978b7e164880cba555684d14cef1f08756163b3ad35519a6f4d3826f95468bb76d27e680eda3e4e43d2f7868c3baea7b7c5bcd0
7
- data.tar.gz: f1ef9ce650c57368ecf523972be26056313aedce65ab664692ebb3885264b839fae5f227fe405b3ba5391711675b71abd0a6492a32e22fea5aa7226fdce28bad
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.5.1+ binary must be available in your path
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.5.1 or higher](https://kubernetes.io/docs/user-guide/prereqs/) as well if you don't already have it.
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
@@ -1,7 +1,7 @@
1
1
  #!/bin/bash
2
2
  set -eox pipefail
3
3
 
4
- KUBERNETES_VER=1.5.2
4
+ KUBERNETES_VER=1.6.0
5
5
 
6
6
  echo "--- Installing dependencies"
7
7
  bundle install --jobs 4
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.5.1 or higher:\nhttps://kubernetes.io/docs/user-guide/prereqs/\033[0m"
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.5.1 or greater.\033[0m"
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
- # error: unable to decode "/tmp/path/to/file": [pos 96]: json: expect char '"' but got char '{'
153
- match = stderr.match(/error: unable to decode "(?<path>\S+)":/)
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]
@@ -1,3 +1,3 @@
1
1
  module KubernetesDeploy
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
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.1
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-06 00:00:00.000000000 Z
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.6.7
155
+ rubygems_version: 2.5.1
156
156
  signing_key:
157
157
  specification_version: 4
158
158
  summary: Kubernetes deploy scripts