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