---
# ExternalSecret: intake-vikunja-token
# Pulls pm vikunja token from OpenBao for the intake service
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
  name: intake-vikunja-token
  namespace: autojanet
spec:
  refreshInterval: 1h
  secretStoreRef:
    name: openbao
    kind: ClusterSecretStore
  target:
    name: intake-vikunja-token
    creationPolicy: Owner
  data:
    - secretKey: token
      remoteRef:
        key: autojanet/pm/vikunja-token
        property: token
