apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
  name: freshrss-oidc-authentik
  namespace: freshrss
  labels:
    app.kubernetes.io/name: freshrss-oidc-authentik
    app.kubernetes.io/instance: freshrss
    app.kubernetes.io/part-of: freshrss
spec:
  secretStoreRef:
    kind: ClusterSecretStore
    name: openbao
  data:
    - secretKey: OIDC_CLIENT_ID
      remoteRef:
        key: /cl01tl/authentik/oidc/freshrss
        property: client
    - secretKey: OIDC_CLIENT_SECRET
      remoteRef:
        key: /cl01tl/authentik/oidc/freshrss
        property: secret
    - secretKey: OIDC_CLIENT_CRYPTO_KEY
      remoteRef:
        key: /cl01tl/freshrss/key
        property: oidc-client-crypto-key
