fix: correctif cicd
This commit is contained in:
parent
6bfc386292
commit
915083c241
@ -37,7 +37,7 @@ spec:
|
|||||||
- name: "init"
|
- name: "init"
|
||||||
image: "alpine/git:latest"
|
image: "alpine/git:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
command: ["ash", "-c", "cd /appdata && git clone git@git.weebo.fr:sandbox/base-image.git ."]
|
command: ["ash", "-c", "cp /root/test/* /root/.ssh && chmod 600 /root/.ssh/base-image && cd /appdata && git clone git@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"
|
||||||
@ -45,7 +45,7 @@ spec:
|
|||||||
- name: "base-image"
|
- name: "base-image"
|
||||||
mountPath: "/appdata"
|
mountPath: "/appdata"
|
||||||
- name: "ssh-key"
|
- name: "ssh-key"
|
||||||
mountPath: "/root/.ssh"
|
mountPath: "/root/test"
|
||||||
containers:
|
containers:
|
||||||
- name: "{{ .Chart.Name }}-{{- template "mychart.name" . -}}"
|
- name: "{{ .Chart.Name }}-{{- template "mychart.name" . -}}"
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user