fix: correctif cicd

This commit is contained in:
Max batleforc 2024-06-28 03:45:46 +02:00
parent c66260a161
commit 1ca6f764d3
No known key found for this signature in database
GPG Key ID: 25D243AB4B6AC9E7
2 changed files with 1 additions and 4 deletions

View File

@ -12,7 +12,6 @@ metadata:
annotations:
deployment.kubernetes.io/revision: "{{ .Release.Revision }}-surrealdb"
deployment.git-branch: "{{ .Values.image.tag }}"
rollme: {{ randAlphaNum 5 | quote }}
spec:
replicas: 1
selector:
@ -22,8 +21,6 @@ spec:
metadata:
labels:
app: "{{ .Chart.Name }}-{{- template "mychart.name" . -}}-surrealdb"
annotations:
rollme: {{ randAlphaNum 5 | quote }}
spec:
securityContext:
runAsUser: 1000

View File

@ -37,7 +37,7 @@ spec:
- name: "init"
image: "alpine/git:latest"
imagePullPolicy: Always
command: ["ash", "-c", "mkdir /root/.ssh && cp /root/test/* /root/.ssh && chmod 600 /root/.ssh/base-image && cd /appdata && git clone git@git.weebo.fr:sandbox/base-image.git ."]
command: ["ash", "-c", "mkdir /root/.ssh && cp /root/test/* /root/.ssh && chmod 600 /root/.ssh/base-image && cd /appdata && git clone https://git.weebo.fr/sandbox/base-image.git ."]
env:
- name: "GIT_SSH_COMMAND"
value: "ssh -o StrictHostKeyChecking=no"