From ba83aeee72c4a1e12514e5265315ee64a9228b9c Mon Sep 17 00:00:00 2001 From: Gabriel Mainberger Date: Wed, 6 Apr 2022 13:58:31 +0200 Subject: [PATCH] Update Helm release metallb to v1.1.0 (metallb 0.9.3->0.9.5) Upgrade metallb from 0.9.3 to 0.9.5 Ref: * https://metallb.universe.tf/release-notes/#version-0-9-4 * https://metallb.universe.tf/release-notes/#version-0-9-5 --- class/defaults.yml | 2 +- .../ROOT/pages/references/parameters.adoc | 2 +- .../metallb/templates/daemonset.yaml | 6 ++-- .../metallb/templates/deployment.yaml | 6 ++-- .../metallb/templates/psp.yaml | 4 +-- .../metallb/templates/rbac.yaml | 28 +++++++++---------- .../metallb/templates/service-accounts.yaml | 4 +-- 7 files changed, 26 insertions(+), 26 deletions(-) diff --git a/class/defaults.yml b/class/defaults.yml index 5edf8ac..dcec8c2 100644 --- a/class/defaults.yml +++ b/class/defaults.yml @@ -7,4 +7,4 @@ parameters: secretname: metallb-memberlist configmap_name: metallb charts: - metallb: 0.1.23 + metallb: 1.1.0 diff --git a/docs/modules/ROOT/pages/references/parameters.adoc b/docs/modules/ROOT/pages/references/parameters.adoc index c950e8b..599cd01 100644 --- a/docs/modules/ROOT/pages/references/parameters.adoc +++ b/docs/modules/ROOT/pages/references/parameters.adoc @@ -76,6 +76,6 @@ See the https://metallb.universe.tf/configuration/[MetalLB documentation] for mo [horizontal] type:: helm chart version -default:: 0.1.23 +default:: 1.1.0 A specific chart version. See the https://kapitan.dev/external_dependencies/#helm-type[kapitan documentation] for more information. diff --git a/tests/golden/defaults/metallb/metallb/10_metallb_helmchart/metallb/templates/daemonset.yaml b/tests/golden/defaults/metallb/metallb/10_metallb_helmchart/metallb/templates/daemonset.yaml index 4b9ca80..4728cca 100644 --- a/tests/golden/defaults/metallb/metallb/10_metallb_helmchart/metallb/templates/daemonset.yaml +++ b/tests/golden/defaults/metallb/metallb/10_metallb_helmchart/metallb/templates/daemonset.yaml @@ -6,7 +6,7 @@ metadata: app.kubernetes.io/instance: metallb app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metallb - helm.sh/chart: metallb-0.1.23 + helm.sh/chart: metallb-1.1.0 name: metallb-speaker spec: selector: @@ -21,7 +21,7 @@ spec: app.kubernetes.io/instance: metallb app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metallb - helm.sh/chart: metallb-0.1.23 + helm.sh/chart: metallb-1.1.0 spec: containers: - args: @@ -52,7 +52,7 @@ spec: key: secretkey name: metallb-memberlist envFrom: null - image: docker.io/bitnami/metallb-speaker:0.9.3-debian-10-r148 + image: docker.io/bitnami/metallb-speaker:0.9.5-debian-10-r31 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 3 diff --git a/tests/golden/defaults/metallb/metallb/10_metallb_helmchart/metallb/templates/deployment.yaml b/tests/golden/defaults/metallb/metallb/10_metallb_helmchart/metallb/templates/deployment.yaml index 8df6064..d86f5e4 100644 --- a/tests/golden/defaults/metallb/metallb/10_metallb_helmchart/metallb/templates/deployment.yaml +++ b/tests/golden/defaults/metallb/metallb/10_metallb_helmchart/metallb/templates/deployment.yaml @@ -6,7 +6,7 @@ metadata: app.kubernetes.io/instance: metallb app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metallb - helm.sh/chart: metallb-0.1.23 + helm.sh/chart: metallb-1.1.0 name: metallb-controller spec: revisionHistoryLimit: 3 @@ -22,13 +22,13 @@ spec: app.kubernetes.io/instance: metallb app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metallb - helm.sh/chart: metallb-0.1.23 + helm.sh/chart: metallb-1.1.0 spec: containers: - args: - --port=7472 - --config=metallb - image: docker.io/bitnami/metallb-controller:0.9.3-debian-10-r141 + image: docker.io/bitnami/metallb-controller:0.9.5-debian-10-r32 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 3 diff --git a/tests/golden/defaults/metallb/metallb/10_metallb_helmchart/metallb/templates/psp.yaml b/tests/golden/defaults/metallb/metallb/10_metallb_helmchart/metallb/templates/psp.yaml index 1426683..e27fc11 100644 --- a/tests/golden/defaults/metallb/metallb/10_metallb_helmchart/metallb/templates/psp.yaml +++ b/tests/golden/defaults/metallb/metallb/10_metallb_helmchart/metallb/templates/psp.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/instance: metallb app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metallb - helm.sh/chart: metallb-0.1.23 + helm.sh/chart: metallb-1.1.0 name: metallb-controller spec: allowPrivilegeEscalation: false @@ -49,7 +49,7 @@ metadata: app.kubernetes.io/instance: metallb app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metallb - helm.sh/chart: metallb-0.1.23 + helm.sh/chart: metallb-1.1.0 name: metallb-speaker spec: allowPrivilegeEscalation: false diff --git a/tests/golden/defaults/metallb/metallb/10_metallb_helmchart/metallb/templates/rbac.yaml b/tests/golden/defaults/metallb/metallb/10_metallb_helmchart/metallb/templates/rbac.yaml index e36ac81..0aa4570 100644 --- a/tests/golden/defaults/metallb/metallb/10_metallb_helmchart/metallb/templates/rbac.yaml +++ b/tests/golden/defaults/metallb/metallb/10_metallb_helmchart/metallb/templates/rbac.yaml @@ -5,8 +5,8 @@ metadata: app.kubernetes.io/instance: metallb app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metallb - helm.sh/chart: metallb-0.1.23 - name: metallb:controller + helm.sh/chart: metallb-1.1.0 + name: metallb-controller rules: - apiGroups: - '' @@ -46,8 +46,8 @@ metadata: app.kubernetes.io/instance: metallb app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metallb - helm.sh/chart: metallb-0.1.23 - name: metallb:speaker + helm.sh/chart: metallb-1.1.0 + name: metallb-speaker rules: - apiGroups: - '' @@ -82,12 +82,12 @@ metadata: app.kubernetes.io/instance: metallb app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metallb - helm.sh/chart: metallb-0.1.23 - name: metallb:controller + helm.sh/chart: metallb-1.1.0 + name: metallb-controller roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole - name: metallb:controller + name: metallb-controller subjects: - kind: ServiceAccount name: metallb-controller @@ -100,12 +100,12 @@ metadata: app.kubernetes.io/instance: metallb app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metallb - helm.sh/chart: metallb-0.1.23 - name: metallb:speaker + helm.sh/chart: metallb-1.1.0 + name: metallb-speaker roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole - name: metallb:speaker + name: metallb-speaker subjects: - kind: ServiceAccount name: metallb-speaker @@ -118,7 +118,7 @@ metadata: app.kubernetes.io/instance: metallb app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metallb - helm.sh/chart: metallb-0.1.23 + helm.sh/chart: metallb-1.1.0 name: metallb-config-watcher rules: - apiGroups: @@ -137,7 +137,7 @@ metadata: app.kubernetes.io/instance: metallb app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metallb - helm.sh/chart: metallb-0.1.23 + helm.sh/chart: metallb-1.1.0 name: metallb-pod-lister rules: - apiGroups: @@ -154,7 +154,7 @@ metadata: app.kubernetes.io/instance: metallb app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metallb - helm.sh/chart: metallb-0.1.23 + helm.sh/chart: metallb-1.1.0 name: metallb-config-watcher roleRef: apiGroup: rbac.authorization.k8s.io @@ -173,7 +173,7 @@ metadata: app.kubernetes.io/instance: metallb app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metallb - helm.sh/chart: metallb-0.1.23 + helm.sh/chart: metallb-1.1.0 name: metallb-pod-lister roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/tests/golden/defaults/metallb/metallb/10_metallb_helmchart/metallb/templates/service-accounts.yaml b/tests/golden/defaults/metallb/metallb/10_metallb_helmchart/metallb/templates/service-accounts.yaml index abccaa4..8f87239 100644 --- a/tests/golden/defaults/metallb/metallb/10_metallb_helmchart/metallb/templates/service-accounts.yaml +++ b/tests/golden/defaults/metallb/metallb/10_metallb_helmchart/metallb/templates/service-accounts.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/instance: metallb app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metallb - helm.sh/chart: metallb-0.1.23 + helm.sh/chart: metallb-1.1.0 name: metallb-controller --- apiVersion: v1 @@ -15,5 +15,5 @@ metadata: app.kubernetes.io/instance: metallb app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metallb - helm.sh/chart: metallb-0.1.23 + helm.sh/chart: metallb-1.1.0 name: metallb-speaker