fix: correctif cicd
This commit is contained in:
parent
c66260a161
commit
1ca6f764d3
@ -12,7 +12,6 @@ metadata:
|
|||||||
annotations:
|
annotations:
|
||||||
deployment.kubernetes.io/revision: "{{ .Release.Revision }}-surrealdb"
|
deployment.kubernetes.io/revision: "{{ .Release.Revision }}-surrealdb"
|
||||||
deployment.git-branch: "{{ .Values.image.tag }}"
|
deployment.git-branch: "{{ .Values.image.tag }}"
|
||||||
rollme: {{ randAlphaNum 5 | quote }}
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
@ -22,8 +21,6 @@ spec:
|
|||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: "{{ .Chart.Name }}-{{- template "mychart.name" . -}}-surrealdb"
|
app: "{{ .Chart.Name }}-{{- template "mychart.name" . -}}-surrealdb"
|
||||||
annotations:
|
|
||||||
rollme: {{ randAlphaNum 5 | quote }}
|
|
||||||
spec:
|
spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
|
@ -37,7 +37,7 @@ spec:
|
|||||||
- name: "init"
|
- name: "init"
|
||||||
image: "alpine/git:latest"
|
image: "alpine/git:latest"
|
||||||
imagePullPolicy: Always
|
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:
|
env:
|
||||||
- name: "GIT_SSH_COMMAND"
|
- name: "GIT_SSH_COMMAND"
|
||||||
value: "ssh -o StrictHostKeyChecking=no"
|
value: "ssh -o StrictHostKeyChecking=no"
|
||||||
|
Loading…
Reference in New Issue
Block a user