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