fix: correctif cicd
This commit is contained in:
parent
7468d865ca
commit
6bfc386292
@ -35,9 +35,9 @@ spec:
|
||||
secretName: "bot-discord-pull"
|
||||
initContainers:
|
||||
- name: "init"
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
image: "alpine/git:latest"
|
||||
imagePullPolicy: Always
|
||||
command: ["sh", "-c", "cd /appdata && git clone git@git.weebo.fr:sandbox/base-image.git ."]
|
||||
command: ["ash", "-c", "cd /appdata && git clone git@git.weebo.fr:sandbox/base-image.git ."]
|
||||
env:
|
||||
- name: "GIT_SSH_COMMAND"
|
||||
value: "ssh -o StrictHostKeyChecking=no"
|
||||
@ -93,6 +93,8 @@ spec:
|
||||
secretKeyRef:
|
||||
name: "botdiscord"
|
||||
key: "token"
|
||||
- name: DB_URL
|
||||
value: "{{ .Chart.Name }}-{{- template "mychart.name" . -}}-surrealdb"
|
||||
- name: RUST_ENV
|
||||
{{- if regexMatch "^[0-9]+\\.[0-9]+\\.[0-9]+$" .Values.image.tag }}
|
||||
value: "prod"
|
||||
|
Loading…
Reference in New Issue
Block a user