From b0ae1c73e7387ce0b9c3d100c0e03cabed3dd80e Mon Sep 17 00:00:00 2001 From: Szymon Richert Date: Wed, 15 Jun 2022 21:07:59 +0200 Subject: [PATCH] Fix initContainer --- chart/gha-runner/templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chart/gha-runner/templates/deployment.yaml b/chart/gha-runner/templates/deployment.yaml index 64a9ccc..b88b6a0 100644 --- a/chart/gha-runner/templates/deployment.yaml +++ b/chart/gha-runner/templates/deployment.yaml @@ -43,11 +43,11 @@ spec: gpg --import /secrets/private.rsa cp -Rf /home/github/.gnupg /home/github-new/.gnupg - mkdir -p /home/code-new/.ssh + mkdir -p /home/github-new/.ssh cp -Rf /secrets/id_rsa /home/github-new/.ssh/id_rsa cp /secrets/id_rsa.pub /home/github-new/.ssh/id_rsa.pub cp /secrets/known_hosts /home/github-new/.ssh/known_hosts - chmod 0600 /home/code-new/.ssh/id_rsa + chmod 0600 /home/github-new/.ssh/id_rsa volumeMounts: - name: runtime-secrets mountPath: "/secrets"