theshire/kubernetes/apps/observability/gatus/app/externalsecret.yaml
2024-04-10 21:43:14 -05:00

23 lines
No EOL
592 B
YAML

---
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/externalsecret_v1beta1.json
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: gatus
spec:
secretStoreRef:
kind: ClusterSecretStore
name: onepassword-connect
target:
name: gatus-secret
template:
engineVersion: v2
data:
CUSTOM_PUSHOVER_TOKEN: "{{ .gatus_token }}"
CUSTOM_PUSHOVER_USER_KEY: "{{ .userkey_jahanson }}"
DATABASE_URI: "{{ .DATABASE_URI }}"
dataFrom:
- extract:
key: pushover
- extract:
key: gatus