fix: correctif cicd
This commit is contained in:
parent
c66260a161
commit
1ca6f764d3
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user