khuedoan-homelab/platform/ntfy-relay/templates/secret.yaml
2024-01-21 14:43:27 +07:00

27 lines
619 B
YAML

apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: {{ .Release.Name }}-secret
namespace: {{ .Release.Namespace }}
spec:
secretStoreRef:
kind: ClusterSecretStore
name: global-secrets
data:
- secretKey: NTFY_URL
remoteRef:
key: ntfy.auth
property: url
- secretKey: NTFY_BAUTH_USER
remoteRef:
key: ntfy.auth
property: username
- secretKey: NTFY_BAUTH_PASS
remoteRef:
key: ntfy.auth
property: password
- secretKey: BAUTH_PASS
remoteRef:
key: ntfy-relay.auth
property: password