apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
  name: yubal-playlist-config-secret
  namespace: yubal-playlist
  labels:
    app.kubernetes.io/name: yubal-playlist-config-secret
    app.kubernetes.io/instance: yubal-playlist
    app.kubernetes.io/part-of: yubal-playlist
spec:
  secretStoreRef:
    kind: ClusterSecretStore
    name: vault
  data:
    - secretKey: lidarr-key
      remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: /cl01tl/lidarr2/key
        metadataPolicy: None
        property: key
    - secretKey: subsonic-user
      remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: /cl01tl/navidrome/admin
        metadataPolicy: None
        property: user
    - secretKey: subsonic-password
      remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: /cl01tl/navidrome/admin
        metadataPolicy: None
        property: password
