mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 19:28:09 +00:00
requested changes
This commit is contained in:
@@ -37,17 +37,20 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
image: "infisical/cli:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
image: "infisical/cli:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
command: ["/sbin/tini", "--", "/bin/sh", "-c"]
|
|
||||||
args:
|
args:
|
||||||
- >-
|
- gateway
|
||||||
if [ -z "${TOKEN}" ]; then
|
- --token
|
||||||
echo 'ERROR: TOKEN environment variable must be set';
|
- $(TOKEN)
|
||||||
exit 1;
|
|
||||||
fi &&
|
|
||||||
/bin/infisical gateway --token ${TOKEN}
|
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ .Values.secret.name }}
|
name: {{ .Values.secret.name }}
|
||||||
|
env:
|
||||||
|
- name: TOKEN_VALIDATION
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ .Values.secret.name }}
|
||||||
|
key: TOKEN
|
||||||
|
optional: false
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: {{ .Values.service.port }}
|
containerPort: {{ .Values.service.port }}
|
||||||
|
|||||||
Reference in New Issue
Block a user