Files
homelab/k8s/apps/rustdesk/external-secrets.yaml
Ultradesu ca7fed506b
All checks were successful
Check with kubeconform / lint (push) Successful in 9s
Adjust Rustdesk certs
2025-07-18 15:12:17 +03:00

35 lines
795 B
YAML

---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: rustdesk-keys
spec:
target:
name: rustdesk-keys
deletionPolicy: Delete
template:
type: Opaque
data:
id_ed25519: |-
{{ .private_key }}
id_ed25519.pub: |-
{{ .public_key }}
data:
- secretKey: private_key
sourceRef:
storeRef:
name: vaultwarden-login
kind: ClusterSecretStore
remoteRef:
key: 8a93c064-0e1d-4bd2-87df-3c9bcfd114c1
property: sshKey.privateKey
- secretKey: public_key
sourceRef:
storeRef:
name: vaultwarden-login
kind: ClusterSecretStore
remoteRef:
key: 8a93c064-0e1d-4bd2-87df-3c9bcfd114c1
property: sshKey.publicKey