From 915083c241c5bd7688b568238b25ca0a45a64bb1 Mon Sep 17 00:00:00 2001 From: Max batleforc Date: Fri, 28 Jun 2024 03:25:51 +0200 Subject: [PATCH] fix: correctif cicd --- chart/templates/Deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chart/templates/Deployment.yaml b/chart/templates/Deployment.yaml index 57686dc..5a28df2 100644 --- a/chart/templates/Deployment.yaml +++ b/chart/templates/Deployment.yaml @@ -37,7 +37,7 @@ spec: - name: "init" image: "alpine/git:latest" 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: - name: "GIT_SSH_COMMAND" value: "ssh -o StrictHostKeyChecking=no" @@ -45,7 +45,7 @@ spec: - name: "base-image" mountPath: "/appdata" - name: "ssh-key" - mountPath: "/root/.ssh" + mountPath: "/root/test" containers: - name: "{{ .Chart.Name }}-{{- template "mychart.name" . -}}" image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"