mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-10 07:58:15 -05:00
requested changes
This commit is contained in:
@@ -37,17 +37,20 @@ spec:
|
||||
{{- end }}
|
||||
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}
|
||||
- gateway
|
||||
- --token
|
||||
- $(TOKEN)
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: {{ .Values.secret.name }}
|
||||
env:
|
||||
- name: TOKEN_VALIDATION
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.secret.name }}
|
||||
key: TOKEN
|
||||
optional: false
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: {{ .Values.service.port }}
|
||||
|
||||
Reference in New Issue
Block a user