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

Commit

Permalink
Fix initContainer 3
Browse files Browse the repository at this point in the history
  • Loading branch information
szymonrychu committed Jun 15, 2022
1 parent 1008977 commit 04725b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chart/gha-runner/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ spec:
- -cex
- |
cp -Rf /home/github/* /home/github-new/
cp -Rf /home/github/.cache /home/github/.local /home/github-new/
gpg --import /secrets/private.rsa
cp -Rf /home/github/.gnupg /home/github-new/.gnupg
Expand All @@ -47,7 +48,7 @@ spec:
cp /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/github-new/.ssh/id_rsa
volumeMounts:
- name: runtime-secrets
Expand Down

0 comments on commit 04725b9

Please sign in to comment.