mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-27 10:18:27 +00:00
fix(code-server): SSH privkey
This commit is contained in:
@@ -12,3 +12,15 @@ spec:
|
||||
dataFrom:
|
||||
- extract:
|
||||
key: "Code Server (${CLUSTER_NAME})"
|
||||
target:
|
||||
creationPolicy: Owner
|
||||
deletionPolicy: Retain
|
||||
template:
|
||||
mergePolicy: Replace
|
||||
engineVersion: v2
|
||||
type: Opaque
|
||||
data:
|
||||
# need that newline, can't figure out how to keep the newline other than YAML block with newline and base64 encoding the key with the newline in it
|
||||
ssh-privkey: |
|
||||
{{ .sshPrivKeyB64 | b64dec }}
|
||||
ssh-pubkey: "{{ .sshPubKey }}"
|
||||
|
||||
Reference in New Issue
Block a user