From 0bd0eafb4915f2e9fe4525dd1d315d0ce6cf1882 Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Tue, 7 May 2024 20:13:53 -0400 Subject: [PATCH] Add Spotify creds --- navidrome/navidrome-deployment.yaml | 10 ++++++++++ navidrome/sealed-secret.yaml | 15 +++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 navidrome/sealed-secret.yaml diff --git a/navidrome/navidrome-deployment.yaml b/navidrome/navidrome-deployment.yaml index 8d90be1..b6445f5 100644 --- a/navidrome/navidrome-deployment.yaml +++ b/navidrome/navidrome-deployment.yaml @@ -52,6 +52,16 @@ spec: value: "X-Authentik-Username" - name: ND_REVERSEPROXYWHITELIST value: "0.0.0.0/0" + - name: ND_SPOTIFY_ID + valueFrom: + secretKeyRef: + name: spotify-creds + key: CLIENT_ID + - name: ND_SPOTIFY_SECRET + valueFrom: + secretKeyRef: + name: spotify-creds + key: CLIENT_ID volumeMounts: - name: data mountPath: "/data" diff --git a/navidrome/sealed-secret.yaml b/navidrome/sealed-secret.yaml new file mode 100644 index 0000000..4d943c1 --- /dev/null +++ b/navidrome/sealed-secret.yaml @@ -0,0 +1,15 @@ +apiVersion: bitnami.com/v1alpha1 +kind: SealedSecret +metadata: + creationTimestamp: null + name: spotify-creds + namespace: navidrome-ns +spec: + encryptedData: + CLIENT_ID: AgDCmOhoW/hW2ySB8S1EvNVHZxa/KcpucT3s/0OnJWB8DcuMkA25es6+YXo39S9E1IJ8/4NIDhI6SVVp0DhtiIu4arhluW7t6Ybrv82CBatvQ6sHeK4RDiU/lrwS9TWyQUFKYUq16wOOcSQU52RPD/0KPCRdnUFZZRu3J6ZlDCDRKtDI3h3YfwFeYsJ5I2tjqKQ78AI8r5DP6Cqionz75LQq8iKL+l0KE7UQJK/qNuRhY9W3Fl+9rPSKDQM4hEB9eNwnw/aLygGxRkuPzE0/FpnhWhczQXyWpFh5uSs7p9AJ8BkCloJ1+aBxqsgcbzCUev1Y5pX0qygIxZgf2POTqfsLyYo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AJOz95oi7Y01V7xJwCgk+okplmZskZEbhMnkvgQyzCSoNTaufbFTrzPrz3fKsAwyUT4a5YmuA== + template: + metadata: + creationTimestamp: null + name: spotify-creds + namespace: navidrome-ns