--- # yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/externalsecret_v1beta1.json apiVersion: external-secrets.io/v1beta1 kind: ExternalSecret metadata: name: recyclarr spec: secretStoreRef: kind: ClusterSecretStore name: onepassword-connect target: name: recyclarr-secret template: engineVersion: v2 data: RADARR_API_KEY: "{{ .radarr_api_key }}" SONARR_API_KEY: "{{ .sonarr_api_key }}" RADARR_ANIME_API_KEY: "{{ .radarr_api_key_anime }}" SONARR_ANIME_API_KEY: "{{ .sonarr_api_key_anime }}" dataFrom: - extract: key: radarr rewrite: - regexp: source: "(.*)" target: "radarr_$1" - extract: key: sonarr rewrite: - regexp: source: "(.*)" target: "sonarr_$1"