apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
  name: garage-metric-token
  namespace: kube-prometheus-stack
  labels:
    app.kubernetes.io/name: garage-metric-token
    app.kubernetes.io/instance: kube-prometheus-stack
    app.kubernetes.io/part-of: kube-prometheus-stack
spec:
  secretStoreRef:
    kind: ClusterSecretStore
    name: openbao
  data:
    - secretKey: token
      remoteRef:
        key: /ps10rp/garage/config
        property: metrics-token
