Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
Fix initContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
szymonrychu committed Jun 15, 2022
1 parent 9b5a071 commit b0ae1c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chart/gha-runner/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b0ae1c7

Please sign in to comment.