apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
  name: outline-oidc-secret
  namespace: outline
  labels:
    app.kubernetes.io/name: outline-oidc-secret
    app.kubernetes.io/instance: outline
    app.kubernetes.io/part-of: outline
spec:
  secretStoreRef:
    kind: ClusterSecretStore
    name: vault
  data:
    - secretKey: client
      remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: /authentik/oidc/outline
        metadataPolicy: None
        property: client
    - secretKey: secret
      remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: /authentik/oidc/outline
        metadataPolicy: None
        property: secret
