Skip to content

Commit

Permalink
add test for helm file
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 7370828 commit 38943e1
Show file tree
Hide file tree
Showing 7 changed files with 1,087 additions and 5 deletions.
6 changes: 1 addition & 5 deletions charts/gateway-helm/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,5 @@ provider:
image: {{ .Values.global.images.hub }}/{{ .Values.global.images.ratelimit.image }}:{{ .Values.global.images.ratelimit.tag | default "master" }}
{{- end }}
shutdownManager:
{{- if contains "/" .Values.global.images.envoyGateway.image }}
image: "{{ .Values.global.images.envoyGateway.image }}:{{ .Values.global.images.envoyGateway.tag | default .Chart.AppVersion }}
{{- else }}
image: {{ .Values.global.images.hub }}/{{ .Values.global.images.envoyGateway.image }}:{{ .Values.global.images.envoyGateway.tag | default .Chart.AppVersion }}
{{- end }}
image: {{ include "eg.image" . }}
{{- end }}
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions test/helm/deployment-images-config.in.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# The image in the deployment is replaced with the image from the global configuration.
# It's retained for backwards compatibility.
deployment:
envoyGateway:
image:
repository: private-hub/envoyproxy/gateway-fips
tag: abcdef12
imagePullPolicy: IfNotPresent
Loading

0 comments on commit 38943e1

Please sign in to comment.