apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
  name: freshrss-install-secret
  namespace: freshrss
  labels:
    app.kubernetes.io/name: freshrss-install-secret
    app.kubernetes.io/instance: freshrss
    app.kubernetes.io/part-of: freshrss
spec:
  secretStoreRef:
    kind: ClusterSecretStore
    name: vault
  data:
    - secretKey: ADMIN_EMAIL
      remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: /cl01tl/freshrss/config
        metadataPolicy: None
        property: ADMIN_EMAIL
    - secretKey: ADMIN_PASSWORD
      remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: /cl01tl/freshrss/config
        metadataPolicy: None
        property: ADMIN_PASSWORD
    - secretKey: ADMIN_API_PASSWORD
      remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: /cl01tl/freshrss/config
        metadataPolicy: None
        property: ADMIN_API_PASSWORD
