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