mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-27 18:18:26 +00:00
28 lines
822 B
YAML
28 lines
822 B
YAML
---
|
|
# yaml-language-server: $schema=https://crds.jank.ing/external-secrets.io/externalsecret_v1beta1.json
|
|
apiVersion: external-secrets.io/v1
|
|
kind: ExternalSecret
|
|
metadata:
|
|
name: &name code-server-secrets
|
|
namespace: code-server
|
|
spec:
|
|
secretStoreRef:
|
|
kind: ClusterSecretStore
|
|
name: 1p
|
|
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 }}"
|
|
age.agekey: "{{ .agekey }}"
|