krane 2.1.2 → 2.1.3

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
  SHA256:
3
- metadata.gz: 5ad41e92d16ba261b260e69cef284e77c6a0849f3470f56de06b16cafc802d8b
4
- data.tar.gz: 006ad4dc7823bff047095de7442c3aabf6cd8660f45f745f0d75d23e342fc483
3
+ metadata.gz: 5a6ce0892fb00b50930df4316057572b08245e946d7eb9e60d938c76e4ba826e
4
+ data.tar.gz: 903999c3121acbd58162ebfffedb10fbfa22a347262c7108bc3c499527654a22
5
5
  SHA512:
6
- metadata.gz: cdad877f2a08f48fd9f483795c4b8b90ec8b60661da4a52dfdad3f52d2f1faf913946a0fc714537f374efac635f0b541e2b79fe16f2bc66daee4e23871502e2f
7
- data.tar.gz: 2024fc45779c55e0209de8d543379be64f7f42c94c58b084ce22021806f4680c142fb7d36b60c506d1cf53a63e1c0a8f3511f8674b1ab6d11fa05542d00a6f2e
6
+ metadata.gz: ca770038ea36996205013d9baae03f4acb6da0b37e57aa7f261d1c95a5846999135bb147392c1016a9c0c04377258e07e155f5f3a994e4a3e1fd8bffb69f296d
7
+ data.tar.gz: b1c3fc517252cd4be20cf11a7dbf2381591890aeb6074859a6058f2dfd0becd060039800704106451dff116494a4725af93c2d0175550437df1a9c94428453b1
@@ -13,31 +13,3 @@ steps:
13
13
  env:
14
14
  LOGGING_LEVEL: 4
15
15
  KUBERNETES_VERSION: v1.15-latest
16
- - name: 'Run Test Suite (:kubernetes: 1.14-latest)'
17
- command: bin/ci
18
- agents:
19
- queue: k8s-ci
20
- env:
21
- LOGGING_LEVEL: 4
22
- KUBERNETES_VERSION: v1.14-latest
23
- - name: 'Run Test Suite (:kubernetes: 1.13-latest)'
24
- command: bin/ci
25
- agents:
26
- queue: k8s-ci
27
- env:
28
- LOGGING_LEVEL: 4
29
- KUBERNETES_VERSION: v1.13-latest
30
- - name: 'Run Test Suite (:kubernetes: 1.12-latest)'
31
- command: bin/ci
32
- agents:
33
- queue: k8s-ci
34
- env:
35
- LOGGING_LEVEL: 4
36
- KUBERNETES_VERSION: v1.12-latest
37
- - name: 'Run Test Suite (:kubernetes: 1.11-latest)'
38
- command: bin/ci
39
- agents:
40
- queue: k8s-ci
41
- env:
42
- LOGGING_LEVEL: 4
43
- KUBERNETES_VERSION: v1.11-latest
@@ -38,31 +38,3 @@ steps:
38
38
  env:
39
39
  LOGGING_LEVEL: "4"
40
40
  KUBERNETES_VERSION: v1.15-latest
41
- - label: 'Run Test Suite (:kubernetes: 1.14-latest)'
42
- command: bin/ci
43
- agents:
44
- queue: k8s-ci
45
- env:
46
- LOGGING_LEVEL: "4"
47
- KUBERNETES_VERSION: v1.14-latest
48
- - label: 'Run Test Suite (:kubernetes: 1.13-latest)'
49
- command: bin/ci
50
- agents:
51
- queue: k8s-ci
52
- env:
53
- LOGGING_LEVEL: "4"
54
- KUBERNETES_VERSION: v1.13-latest
55
- - label: 'Run Test Suite (:kubernetes: 1.12-latest)'
56
- command: bin/ci
57
- agents:
58
- queue: k8s-ci
59
- env:
60
- LOGGING_LEVEL: "4"
61
- KUBERNETES_VERSION: v1.12-latest
62
- - label: 'Run Test Suite (:kubernetes: 1.11-latest)'
63
- command: bin/ci
64
- agents:
65
- queue: k8s-ci
66
- env:
67
- LOGGING_LEVEL: "4"
68
- KUBERNETES_VERSION: v1.11-latest
@@ -1,5 +1,10 @@
1
1
  ## next
2
2
 
3
+ ## 2.1.3
4
+
5
+ - Add version exception for ServiceNetworkEndpointGroup (GKE resource) [#768](https://github.com/Shopify/krane/pull/768)
6
+ - Kubernetes 1.14 and lower is no longer officially supported as of this version ([#766](https://github.com/Shopify/krane/pull/766))
7
+
3
8
  ## 2.1.2
4
9
 
5
10
  - Add version exception for FrontendConfig (GKE resource) [#761](https://github.com/Shopify/krane/pull/761)
data/README.md CHANGED
@@ -74,7 +74,7 @@ If you need the ability to render dynamic values in templates before deploying,
74
74
  ## Prerequisites
75
75
 
76
76
  * Ruby 2.5+
77
- * Your cluster must be running Kubernetes v1.11.0 or higher<sup>1</sup>
77
+ * Your cluster must be running Kubernetes v1.15.0 or higher<sup>1</sup>
78
78
 
79
79
  <sup>1</sup> We run integration tests against these Kubernetes versions. You can find our
80
80
  official compatibility chart below.
@@ -90,7 +90,7 @@ official compatibility chart below.
90
90
 
91
91
  ## Installation
92
92
 
93
- 1. [Install kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl-binary-via-curl) (requires v1.11.0 or higher) and make sure it is available in your $PATH
93
+ 1. [Install kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl-binary-via-curl) (requires v1.15.0 or higher) and make sure it is available in your $PATH
94
94
  2. Set up your [kubeconfig file](https://kubernetes.io/docs/tasks/access-application-cluster/authenticate-across-clusters-kubeconfig/) for access to your cluster(s).
95
95
  3. `gem install krane`
96
96
 
@@ -493,7 +493,7 @@ resource to restart.
493
493
 
494
494
  ## Prerequisites
495
495
 
496
- * You've already deployed a [`PodTemplate`](https://v1-10.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.11/#podtemplate-v1-core) object with field `template` containing a `Pod` specification that does not include the `apiVersion` or `kind` parameters. An example is provided in this repo in `test/fixtures/hello-cloud/template-runner.yml`.
496
+ * You've already deployed a [`PodTemplate`](https://v1-15.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.15/#podtemplate-v1-core) object with field `template` containing a `Pod` specification that does not include the `apiVersion` or `kind` parameters. An example is provided in this repo in `test/fixtures/hello-cloud/template-runner.yml`.
497
497
  * The `Pod` specification in that template has a container named `task-runner`.
498
498
 
499
499
  Based on this specification `krane run` will create a new pod with the entrypoint of the `task-runner ` container overridden with the supplied arguments.
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.11.0 or higher:\nhttps://kubernetes.io/docs/user-guide/prereqs/\033[0m"
12
+ echo -e "\n\033[0;33mPlease install kubectl version 1.15.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.11.0 or greater.\033[0m"
15
+ echo -e "\n\033[0;32mKubectl version $KUBECTL_VERSION is already installed. This gem requires version v1.15.0 or greater.\033[0m"
16
16
  fi
data/dev.yml CHANGED
@@ -13,7 +13,7 @@ up:
13
13
  - custom:
14
14
  name: Minikube Cluster
15
15
  met?: test $(minikube status | grep Running | wc -l) -ge 2 && $(minikube status | grep -q 'Configured')
16
- meet: minikube start --kubernetes-version=v1.11.10 --vm-driver=hyperkit
16
+ meet: minikube start --kubernetes-version=v1.15.12 --vm-driver=hyperkit
17
17
  down: minikube stop
18
18
  commands:
19
19
  reset-minikube: minikube delete && rm -rf ~/.minikube
@@ -89,7 +89,8 @@ module Krane
89
89
  version_override = { "CronJob" => "v1beta1", "VolumeAttachment" => "v1beta1",
90
90
  "CSIDriver" => "v1beta1", "Ingress" => "v1beta1",
91
91
  "CSINode" => "v1beta1", "Job" => "v1",
92
- "IngressClass" => "v1beta1", "FrontendConfig" => "v1beta1" }
92
+ "IngressClass" => "v1beta1", "FrontendConfig" => "v1beta1",
93
+ "ServiceNetworkEndpointGroup" => "v1beta1" }
93
94
 
94
95
  pattern = /v(?<major>\d+)(?<pre>alpha|beta)?(?<minor>\d+)?/
95
96
  latest = versions.sort_by do |version|
@@ -19,5 +19,5 @@ require 'krane/task_config'
19
19
  require 'krane/task_config_validator'
20
20
 
21
21
  module Krane
22
- MIN_KUBE_VERSION = '1.11.0'
22
+ MIN_KUBE_VERSION = '1.15.0'
23
23
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Krane
3
- VERSION = "2.1.2"
3
+ VERSION = "2.1.3"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: krane
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katrina Verey
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2020-10-29 00:00:00.000000000 Z
13
+ date: 2020-12-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport