mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-08 14:33:52 +07:00
27 lines
619 B
YAML
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
|