fix(gateway-helm): requested changes

This commit is contained in:
Daniel Hougaard
2025-05-02 16:38:02 +04:00
parent 835b2fba9c
commit a80d5f10e5
4 changed files with 13 additions and 68 deletions
@@ -35,8 +35,16 @@ spec:
securityContext:
{{- toYaml . | nindent 12 }}
{{- end }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
image: "infisical/cli:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
command: ["/sbin/tini", "--", "/bin/sh", "-c"]
args:
- >-
if [ -z "${TOKEN}" ]; then
echo 'ERROR: TOKEN environment variable must be set';
exit 1;
fi &&
/bin/infisical gateway --token ${TOKEN}
envFrom:
- secretRef:
name: {{ .Values.secret.name }}