apiVersion: secrets-store.csi.x-k8s.io/v1
kind: SecretProviderClass
metadata:
  name: ntfy-alertmanager-config
  namespace: kube-prometheus-stack
  labels:
    app.kubernetes.io/name: ntfy-alertmanager-config
    app.kubernetes.io/instance: kube-prometheus-stack
    app.kubernetes.io/part-of: kube-prometheus-stack
spec:
  provider: openbao
  parameters:
    baoAddress: "http://openbao-internal.openbao:8200"
    roleName: ntfy-alertmanager
    objects: |
      - objectName: config
        fileName: config
        secretPath: secret/data/cl01tl/kube-prometheus-stack/ntfy-alertmanager
        secretKey: config
