Files
buun-stack/trino/trino-postgres-external-secret.gomplate.yaml
2025-10-15 17:22:00 +09:00

23 lines
521 B
YAML

apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: trino-postgres-external-secret
namespace: {{ .Env.TRINO_NAMESPACE }}
spec:
refreshInterval: 1h
secretStoreRef:
name: vault-secret-store
kind: ClusterSecretStore
target:
name: trino-postgres-secret
creationPolicy: Owner
data:
- secretKey: username
remoteRef:
key: trino/postgres
property: username
- secretKey: password
remoteRef:
key: trino/postgres
property: password