Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: huabing zhao <zhaohuabing@gmail.com>
  • Loading branch information
zhaohuabing committed May 14, 2024
1 parent 05368c0 commit cb1abcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions charts/gateway-helm/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ imagePullSecrets:
{{- else if .Values.global.images.envoyGateway.imagePullSecrets -}}
imagePullSecrets:
{{ toYaml .Values.global.images.envoyGateway.imagePullSecrets }}
{{- else -}}
imagePullSecrets: []
{{- end }}
{{- end }}

Expand Down
4 changes: 2 additions & 2 deletions test/helm/default-config.out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ spec:
- mountPath: /certs
name: certs
readOnly: true

imagePullSecrets: []
securityContext:
runAsNonRoot: true
serviceAccountName: envoy-gateway
Expand Down Expand Up @@ -526,7 +526,7 @@ spec:
image: docker.io/envoyproxy/gateway-dev:latest
imagePullPolicy: Always
name: envoy-gateway-certgen

imagePullSecrets: []
restartPolicy: Never
securityContext:
runAsGroup: 65534
Expand Down

0 comments on commit cb1abcb

Please sign in to comment.