apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
  name: searxng-api-config-secret
  namespace: searxng
  labels:
    app.kubernetes.io/name: searxng-api-config-secret
    app.kubernetes.io/instance: searxng
    app.kubernetes.io/part-of: searxng
spec:
  secretStoreRef:
    kind: ClusterSecretStore
    name: vault
  data:
    - secretKey: settings.yml
      remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: /cl01tl/searxng/api/config
        metadataPolicy: None
        property: settings.yml
    - secretKey: limiter.toml
      remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: /cl01tl/searxng/api/config
        metadataPolicy: None
        property: limiter.toml
