From c58cdd0591b3e9a5f4d4d24f5949303469693268 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Tue, 30 May 2023 12:15:08 +0200 Subject: [PATCH] Update _webhooks.tpl Signed-off-by: Kjeld Schouten --- charts/operators/metallb/templates/_webhooks.tpl | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/charts/operators/metallb/templates/_webhooks.tpl b/charts/operators/metallb/templates/_webhooks.tpl index c959a77a6fc..9b21f63b132 100644 --- a/charts/operators/metallb/templates/_webhooks.tpl +++ b/charts/operators/metallb/templates/_webhooks.tpl @@ -159,11 +159,6 @@ metadata: {{- with (include "tc.v1.common.lib.metadata.render" (dict "rootCtx" $ "labels" $labels) | trim) }} {{- . | nindent 4 }} {{- end }} -{{- $secretObj := (lookup "v1" "Secret" .Release.Namespace "webhook-server-cert") }} -{{- if $secretObj }} -{{- $secretData := (get $secretObj "data") | default dict }} -data: {{ $secretData }} -{{- end }} --- apiVersion: v1 kind: Secret @@ -173,9 +168,4 @@ metadata: {{- with (include "tc.v1.common.lib.metadata.render" (dict "rootCtx" $ "labels" $labels) | trim) }} {{- . | nindent 4 }} {{- end }} -{{- $secretObj2 := (lookup "v1" "Secret" .Release.Namespace "memberlist") }} -{{- if $secretObj2 }} -{{- $secretData2 := (get $secretObj "data") | default dict }} -data: {{ $secretData2 }} -{{- end }} {{- end -}}