From cb1abcb4033660aca2c14f34b25e82c9fc7414b6 Mon Sep 17 00:00:00 2001 From: huabing zhao Date: Tue, 14 May 2024 14:04:34 -0700 Subject: [PATCH] fix lint Signed-off-by: huabing zhao --- charts/gateway-helm/templates/_helpers.tpl | 2 ++ test/helm/default-config.out.yaml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/gateway-helm/templates/_helpers.tpl b/charts/gateway-helm/templates/_helpers.tpl index 0998d0a1b1d..ad0f55f860e 100755 --- a/charts/gateway-helm/templates/_helpers.tpl +++ b/charts/gateway-helm/templates/_helpers.tpl @@ -78,6 +78,8 @@ imagePullSecrets: {{- else if .Values.global.images.envoyGateway.imagePullSecrets -}} imagePullSecrets: {{ toYaml .Values.global.images.envoyGateway.imagePullSecrets }} +{{- else -}} +imagePullSecrets: [] {{- end }} {{- end }} diff --git a/test/helm/default-config.out.yaml b/test/helm/default-config.out.yaml index fd96b47b1d9..ba4840ee017 100644 --- a/test/helm/default-config.out.yaml +++ b/test/helm/default-config.out.yaml @@ -412,7 +412,7 @@ spec: - mountPath: /certs name: certs readOnly: true - + imagePullSecrets: [] securityContext: runAsNonRoot: true serviceAccountName: envoy-gateway @@ -526,7 +526,7 @@ spec: image: docker.io/envoyproxy/gateway-dev:latest imagePullPolicy: Always name: envoy-gateway-certgen - + imagePullSecrets: [] restartPolicy: Never securityContext: runAsGroup: 65534