mirror of
https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
synced 2026-08-21 05:26:49 +00:00
29 lines
751 B
YAML
29 lines
751 B
YAML
# kubernetes/apps/guacamole/external-secret.yaml
|
|
# ExternalSecrets for Guacamole - pulls credentials from Vault
|
|
|
|
# Note: Database password is managed by CNPG cluster (pg-guacamole-app secret)
|
|
# We reference it directly in the guacamole values.yaml
|
|
|
|
---
|
|
apiVersion: external-secrets.io/v1
|
|
kind: ExternalSecret
|
|
metadata:
|
|
name: guacamole-oauth
|
|
namespace: guacamole
|
|
spec:
|
|
refreshInterval: 1h
|
|
secretStoreRef:
|
|
kind: ClusterSecretStore
|
|
name: vault-backend
|
|
target:
|
|
name: guacamole-oauth-secret
|
|
creationPolicy: Owner
|
|
data:
|
|
- secretKey: client-id
|
|
remoteRef:
|
|
key: guacamole-oauth
|
|
property: client-id
|
|
- secretKey: client-secret
|
|
remoteRef:
|
|
key: guacamole-oauth
|
|
property: client-secret |