Skip to content

Commit

Permalink
don't mangle base64
Browse files Browse the repository at this point in the history
  • Loading branch information
cromega committed Mar 1, 2020
1 parent 853e852 commit 416a2fd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion ci/k8s/secret.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ kind: Secret
metadata:
name: keyguard-private-key
data:
private_key: $PRIVATE_KEY_BASE64
private_key: $KG_PRIVATE_KEY
type: Opaque
1 change: 0 additions & 1 deletion ci/prepare_deployment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ cd code/ci/k8s
envsubst < deployment.yml > temp.yml
mv temp.yml deployment.yml

export PRIVATE_KEY_BASE64="$(echo "$PRIVATE_KEY" | base64)"
envsubst < secret.yml > temp.yml
mv temp.yml secret.yml
cd $buildroot
Expand Down

0 comments on commit 416a2fd

Please sign in to comment.