apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
  name: talos-ntfy-config
  namespace: talos
  labels:
    app.kubernetes.io/name: talos-ntfy-config
    app.kubernetes.io/instance: talos
    app.kubernetes.io/part-of: talos
spec:
  secretStoreRef:
    kind: ClusterSecretStore
    name: openbao
  data:
    - secretKey: NTFY_TOKEN
      remoteRef:
        key: /cl01tl/ntfy/users/cl01tl
        property: token
    - secretKey: NTFY_ENDPOINT
      remoteRef:
        key: /cl01tl/ntfy/config
        property: internal-endpoint
    - secretKey: NTFY_TOPIC
      remoteRef:
        key: /cl01tl/ntfy/topics
        property: talos
