Skip to content

Commit

Permalink
chore(*) update helm and controller-runtime (#2764)
Browse files Browse the repository at this point in the history
* chore(deps): bump helm.sh/helm/v3 from 3.3.4 to 3.6.3

Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.3.4 to 3.6.3.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](helm/helm@v3.3.4...v3.6.3)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix breaking changes

Signed-off-by: Charly Molter <charly.molter@konghq.com>

* chore(*) get read of admission v1beta1 api

Signed-off-by: Bart Smykla <bartek@smykla.com>

* chore(*) remove minikube 1.16 from tests

As we stopped supporting Kubernetes < 1.17, I'm removing minikube
1.16 from our CI/CD

Signed-off-by: Bart Smykla <bartek@smykla.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bart Smykla <bartek@smykla.com>
  • Loading branch information
3 people authored Oct 11, 2021
1 parent 5abca2f commit 5d0380f
Show file tree
Hide file tree
Showing 60 changed files with 872 additions and 989 deletions.
28 changes: 0 additions & 28 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1213,15 +1213,6 @@ workflows:
- check
# custom parameters
use_local_kuma_images: true
- example_minikube:
<<: *commit_workflow_filters
name: minikube_v1_16
requires:
- images
- check
# custom parameters
kubernetes_version: v1.16.15
use_local_kuma_images: true
- example_minikube:
<<: *commit_workflow_filters
name: minikube_v1_18
Expand Down Expand Up @@ -1367,15 +1358,6 @@ workflows:
- check
# custom parameters
use_local_kuma_images: true
- example_minikube:
<<: *master_workflow_filters
name: minikube_v1_16
requires:
- images
- check
# custom parameters
kubernetes_version: v1.16.15
use_local_kuma_images: true
- example_minikube:
<<: *master_workflow_filters
name: minikube_v1_17
Expand Down Expand Up @@ -1481,16 +1463,6 @@ workflows:
# custom parameters
# docker images for a release build must be downloaded from a public Docker registry
use_local_kuma_images: false
- example_minikube:
<<: *release_workflow_filters
name: minikube_v1_16
requires:
- images-kumactl
- release
# custom parameters
kubernetes_version: v1.16.15
# docker images for a release build must be downloaded from a public Docker registry
use_local_kuma_images: false
- example_minikube:
<<: *release_workflow_filters
name: minikube_v1_17
Expand Down
1 change: 0 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ updates:
interval: "weekly"
labels:
- "dependencies"

Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,25 @@ rules:
- get
- list
- watch
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -998,7 +1017,7 @@ spec:
metadata:
annotations:
checksum/config: 6df33ec160599ac1a5e9fda109e2ba0d02c865f926ac14ecf92895e96b70a228
checksum/tls-secrets: d8ac1200f37beba280c699118234c29b3a11e7bf7130917d12eb2fec8e403263
checksum/tls-secrets: 8d96524f2edd766fb63fe05db26d83be9f7d7a5823e0878040d4a6ab95446e78
labels:
app.kubernetes.io/name: kuma
app.kubernetes.io/instance: kuma
Expand Down Expand Up @@ -1085,7 +1104,6 @@ spec:
name: kuma-control-plane-config
---
apiVersion: admissionregistration.k8s.io/v1

kind: MutatingWebhookConfiguration
metadata:
name: kuma-admission-mutating-webhook-configuration
Expand All @@ -1096,7 +1114,7 @@ metadata:
app.kubernetes.io/instance: kuma
webhooks:
- name: mesh.defaulter.kuma-admission.kuma.io
admissionReviewVersions: ["v1beta1"]
admissionReviewVersions: ["v1"]
failurePolicy: Fail
clientConfig:
caBundle: XYZ
Expand All @@ -1116,7 +1134,7 @@ webhooks:
- meshes
sideEffects: None
- name: owner-reference.kuma-admission.kuma.io
admissionReviewVersions: ["v1beta1"]
admissionReviewVersions: ["v1"]
failurePolicy: Fail
clientConfig:
caBundle: XYZ
Expand Down Expand Up @@ -1148,7 +1166,7 @@ webhooks:

sideEffects: None
- name: kuma-injector.kuma.io
admissionReviewVersions: ["v1beta1"]
admissionReviewVersions: ["v1"]
failurePolicy: Ignore
clientConfig:
caBundle: XYZ
Expand All @@ -1168,7 +1186,6 @@ webhooks:
sideEffects: None
---
apiVersion: admissionregistration.k8s.io/v1

kind: ValidatingWebhookConfiguration
metadata:
name: kuma-validating-webhook-configuration
Expand All @@ -1179,7 +1196,7 @@ metadata:
app.kubernetes.io/instance: kuma
webhooks:
- name: validator.kuma-admission.kuma.io
admissionReviewVersions: ["v1beta1"]
admissionReviewVersions: ["v1"]
failurePolicy: Fail
clientConfig:
caBundle: XYZ
Expand Down Expand Up @@ -1216,7 +1233,7 @@ webhooks:

sideEffects: None
- name: service.validator.kuma-admission.kuma.io
admissionReviewVersions: ["v1beta1"]
admissionReviewVersions: ["v1"]
failurePolicy: Ignore
clientConfig:
caBundle: XYZ
Expand All @@ -1236,7 +1253,7 @@ webhooks:
- services
sideEffects: None
- name: secret.validator.kuma-admission.kuma.io
admissionReviewVersions: ["v1beta1"]
admissionReviewVersions: ["v1"]
namespaceSelector:
matchLabels:
kuma.io/system-namespace: "true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,25 @@ rules:
- get
- list
- watch
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -823,7 +842,7 @@ spec:
metadata:
annotations:
checksum/config: 6df33ec160599ac1a5e9fda109e2ba0d02c865f926ac14ecf92895e96b70a228
checksum/tls-secrets: d8ac1200f37beba280c699118234c29b3a11e7bf7130917d12eb2fec8e403263
checksum/tls-secrets: 8d96524f2edd766fb63fe05db26d83be9f7d7a5823e0878040d4a6ab95446e78
labels:
app.kubernetes.io/name: kuma
app.kubernetes.io/instance: kuma
Expand Down Expand Up @@ -910,7 +929,6 @@ spec:
name: kuma-control-plane-config
---
apiVersion: admissionregistration.k8s.io/v1

kind: MutatingWebhookConfiguration
metadata:
name: kuma-admission-mutating-webhook-configuration
Expand All @@ -921,7 +939,7 @@ metadata:
app.kubernetes.io/instance: kuma
webhooks:
- name: mesh.defaulter.kuma-admission.kuma.io
admissionReviewVersions: ["v1beta1"]
admissionReviewVersions: ["v1"]
failurePolicy: Fail
clientConfig:
caBundle: XYZ
Expand All @@ -941,7 +959,7 @@ webhooks:
- meshes
sideEffects: None
- name: owner-reference.kuma-admission.kuma.io
admissionReviewVersions: ["v1beta1"]
admissionReviewVersions: ["v1"]
failurePolicy: Fail
clientConfig:
caBundle: XYZ
Expand Down Expand Up @@ -973,7 +991,7 @@ webhooks:

sideEffects: None
- name: kuma-injector.kuma.io
admissionReviewVersions: ["v1beta1"]
admissionReviewVersions: ["v1"]
failurePolicy: Ignore
clientConfig:
caBundle: XYZ
Expand All @@ -993,7 +1011,6 @@ webhooks:
sideEffects: None
---
apiVersion: admissionregistration.k8s.io/v1

kind: ValidatingWebhookConfiguration
metadata:
name: kuma-validating-webhook-configuration
Expand All @@ -1004,7 +1021,7 @@ metadata:
app.kubernetes.io/instance: kuma
webhooks:
- name: validator.kuma-admission.kuma.io
admissionReviewVersions: ["v1beta1"]
admissionReviewVersions: ["v1"]
failurePolicy: Fail
clientConfig:
caBundle: XYZ
Expand Down Expand Up @@ -1041,7 +1058,7 @@ webhooks:

sideEffects: None
- name: service.validator.kuma-admission.kuma.io
admissionReviewVersions: ["v1beta1"]
admissionReviewVersions: ["v1"]
failurePolicy: Ignore
clientConfig:
caBundle: XYZ
Expand All @@ -1061,7 +1078,7 @@ webhooks:
- services
sideEffects: None
- name: secret.validator.kuma-admission.kuma.io
admissionReviewVersions: ["v1beta1"]
admissionReviewVersions: ["v1"]
namespaceSelector:
matchLabels:
kuma.io/system-namespace: "true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,25 @@ rules:
- get
- list
- watch
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -832,7 +851,7 @@ spec:
metadata:
annotations:
checksum/config: 6df33ec160599ac1a5e9fda109e2ba0d02c865f926ac14ecf92895e96b70a228
checksum/tls-secrets: d8ac1200f37beba280c699118234c29b3a11e7bf7130917d12eb2fec8e403263
checksum/tls-secrets: 8d96524f2edd766fb63fe05db26d83be9f7d7a5823e0878040d4a6ab95446e78
labels:
app.kubernetes.io/name: kuma
app.kubernetes.io/instance: kuma
Expand Down Expand Up @@ -916,7 +935,6 @@ spec:
name: kuma-control-plane-config
---
apiVersion: admissionregistration.k8s.io/v1

kind: MutatingWebhookConfiguration
metadata:
name: kuma-admission-mutating-webhook-configuration
Expand All @@ -927,7 +945,7 @@ metadata:
app.kubernetes.io/instance: kuma
webhooks:
- name: mesh.defaulter.kuma-admission.kuma.io
admissionReviewVersions: ["v1beta1"]
admissionReviewVersions: ["v1"]
failurePolicy: Fail
clientConfig:
caBundle: XYZ
Expand All @@ -947,7 +965,7 @@ webhooks:
- meshes
sideEffects: None
- name: owner-reference.kuma-admission.kuma.io
admissionReviewVersions: ["v1beta1"]
admissionReviewVersions: ["v1"]
failurePolicy: Fail
clientConfig:
caBundle: XYZ
Expand Down Expand Up @@ -979,7 +997,7 @@ webhooks:

sideEffects: None
- name: kuma-injector.kuma.io
admissionReviewVersions: ["v1beta1"]
admissionReviewVersions: ["v1"]
failurePolicy: Ignore
clientConfig:
caBundle: XYZ
Expand All @@ -999,7 +1017,6 @@ webhooks:
sideEffects: None
---
apiVersion: admissionregistration.k8s.io/v1

kind: ValidatingWebhookConfiguration
metadata:
name: kuma-validating-webhook-configuration
Expand All @@ -1010,7 +1027,7 @@ metadata:
app.kubernetes.io/instance: kuma
webhooks:
- name: validator.kuma-admission.kuma.io
admissionReviewVersions: ["v1beta1"]
admissionReviewVersions: ["v1"]
failurePolicy: Fail
clientConfig:
caBundle: XYZ
Expand Down Expand Up @@ -1047,7 +1064,7 @@ webhooks:

sideEffects: None
- name: service.validator.kuma-admission.kuma.io
admissionReviewVersions: ["v1beta1"]
admissionReviewVersions: ["v1"]
failurePolicy: Ignore
clientConfig:
caBundle: XYZ
Expand All @@ -1067,7 +1084,7 @@ webhooks:
- services
sideEffects: None
- name: secret.validator.kuma-admission.kuma.io
admissionReviewVersions: ["v1beta1"]
admissionReviewVersions: ["v1"]
namespaceSelector:
matchLabels:
kuma.io/system-namespace: "true"
Expand Down
Loading

0 comments on commit 5d0380f

Please sign in to comment.