From 7f2de88cbb1eb4768505a5acf0ad4c949d2f2932 Mon Sep 17 00:00:00 2001 From: Adrien Chauve Date: Mon, 4 Sep 2023 16:06:24 +0200 Subject: [PATCH] fix: add ftp secret in dev and preprod --- .../templates/ftp-clever.sealed-secret.yaml | 17 +++++++++++++++++ .../templates/ftp-clever.sealed-secret.yaml | 18 ++++++++++++++++++ .kontinuous/env/prod/values.yaml | 18 ------------------ .kontinuous/values.yaml | 16 ++++++++++++++++ 4 files changed, 51 insertions(+), 18 deletions(-) create mode 100644 .kontinuous/env/dev/templates/ftp-clever.sealed-secret.yaml create mode 100644 .kontinuous/env/preprod/templates/ftp-clever.sealed-secret.yaml diff --git a/.kontinuous/env/dev/templates/ftp-clever.sealed-secret.yaml b/.kontinuous/env/dev/templates/ftp-clever.sealed-secret.yaml new file mode 100644 index 00000000..83c334d1 --- /dev/null +++ b/.kontinuous/env/dev/templates/ftp-clever.sealed-secret.yaml @@ -0,0 +1,17 @@ +apiVersion: bitnami.com/v1alpha1 +kind: SealedSecret +metadata: + annotations: + sealedsecrets.bitnami.com/cluster-wide: 'true' + name: ftp-clever-sealed-secret +spec: + encryptedData: + PASSWORD: AgAQ1DHZzyNc4Qu+J4m+B4fk4A4qSlhc+lt6ca5vB6c+T1kBuejpo/Fa/nqb55WpQcB1eefyXUl8W9YzDnpo7PkM21tNmILWEcS9+psBo7sywiKHgSor28kdPhMvXCeAYymh9eQJNUYCwjIHWZhBirXOW+886FP8YDLG2rJait8E6sTBy1BHJIy5ccf38QI+jW7iw44ZFvVPd+3nnNOhXa0Q8tzhgyN9Ake6MlB0iYEErca+Ecl8162/zC4zU56+TcerQZD5DXMq6no8m+o2aDfhm9BQbFIAv9mVS++sD5vVzUbs/H9J8WEQ/5JaOtx9ylWLCp15gIcd0Axz1nqPE0SLLbQzfbN9MszKpXXFjNgMvZePOMjLjZc74ipZz0EsKUtbmJRI3W2hwbBVUpOXGaE0rqjMMWU61z1qJDPlCjHDiw2/ZJ3r38s9IFBk8+A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PJ77LtDq+Erpr0drU= + USERNAME: AgBSSL3JNlJgVKLL/k5dUBGXp6MbnGgdfv9aNXyu8UkXOvfHG4JdY2bNr8JXa4VmqZJ4bPpmtvojDxDmFJsM0/fn8lEMMk5kIycQrVzuVR+nq+WJmASTKIsLUZVTZ97zv3RvmlzW8EriUZRqnvJg/iQtVwe6spEsH1xXFIywpoRdE1xa81dSITHJK6F3RIPn0ynyhrztFhWOO80FzeZRBprpkwiL2M5G9TcomzE1jDGjyJHP6bI8OpcYzg2JjzcHyaqQ3/YhRfHxctPxyJ+wC+KS2eEZm9jRVMqsyPOWJn6zg8uX3xL5AW+DajdjHIa+euqByq3xwmyFLXXuJCNH9UPSq5cvdkGzugHHsHkx3Tr4Nox2gLQqCf3081/M+z1ixNIRIJfSTvLxkEAkFjywYzkWlDHKssML2kIWZqGxxghirfGCdN+BmV6Inm1bqDWb6EprnYqdCfcDwXK7UBxGYFFEwb1G5n+PRRjQl/u7j6lYSsc1gudRCqTnze+REQtbSkpxQcBeGNvlKIRm3TJoWInA8UyBd5dgVLJ2nI3bnxU+zMZaAOGznrT/vg47GmlIoigtMegbfUMVduI2QFfJd8F1yWcVVZBweXTFkw7I71tqN8Y/2AcsqvOT03yj78sHHrOSWx9o7CP7pJKFVs1WH7uNUq4UxnJwHTjGB9e1c5bl6gR98et+uQF+faPvuNH+dgFmrvt/rkZAVoVxSug= + template: + metadata: + annotations: + sealedsecrets.bitnami.com/cluster-wide: 'true' + name: ftp-clever-sealed-secret + type: Opaque \ No newline at end of file diff --git a/.kontinuous/env/preprod/templates/ftp-clever.sealed-secret.yaml b/.kontinuous/env/preprod/templates/ftp-clever.sealed-secret.yaml new file mode 100644 index 00000000..a10d61db --- /dev/null +++ b/.kontinuous/env/preprod/templates/ftp-clever.sealed-secret.yaml @@ -0,0 +1,18 @@ +apiVersion: bitnami.com/v1alpha1 +kind: SealedSecret +metadata: + annotations: + sealedsecrets.bitnami.com/cluster-wide: 'true' + name: ftp-clever-sealed-secret + namespace: recosante-preprod +spec: + encryptedData: + PASSWORD: AgAQ1DHZzyNc4Qu+J4m+B4fk4A4qSlhc+lt6ca5vB6c+T1kBuejpo/Fa/nqb55WpQcB1eefyXUl8W9YzDnpo7PkM21tNmILWEcS9+psBo7sywiKHgSor28kdPhMvXCeAYymh9eQJNUYCwjIHWZhBirXOW+886FP8YDLG2rJait8E6sTBy1BHJIy5ccf38QI+jW7iw44ZFvVPd+3nnNOhXa0Q8tzhgyN9Ake6MlB0iYEErca+Ecl8162/zC4zU56+TcerQZD5DXMq6no8m+o2aDfhm9BQbFIAv9mVS++sD5vVzUbs/H9J8WEQ/5JaOtx9ylWLCp15gIcd0Axz1nqPE0SLLbQzfbN9MszKpXXFjNgMvZePOMjLjZc74ipZz0EsKUtbmJRI3W2hwbBVUpOXGaE0rqjMMWU61z1qJDPlCjHDiw2/ZJ3r38s9IFBk8+AVKvZVoXYDw6vN19n9bQMqh/V1nFGEtYpy8N8cNycbwXxTxyFANQsY0G1dl/DAeDm38/jLppYmKideviutnFKTOCDTqGPojGR7LT9OgG+2Q+q3UcKFxa7BaGUpDcjpy4Kd8A8ecQUZ8vO7ezKtiAnjn+2R05qrEpePp31w3b/nORnEpwZoEe9bxdDKqEI14n+O7XlbG5VnU2RdL7+CFC6tT5XexMKCDB8ZgVTpf5jl6Z64RpF4db4pUv3Wp3Q6GVAiQshAzlassVdXuoboq+D+kRic + REMOTE_SERVER: AgDXezMUsqducmDrISd37X3VoIFJkzGJWp2VIFhDY+TopvafotPP8hPzxUs9P1L0ErgoE+y9K8/675aOLPYpwQeLANcUw/t76CAk8QRklrfkmqUnHPKzNYymWpitIlQWvQXk6T35g/GUHcqkoUoSz2EF+OUEgFo/tZ2qU4mxYX0mSKUGekJf4vtBazRM7HlzoRQwxT6ExUzuAHlLL7Ju4tMIpUM13tilhdTl0aTm72/F2n8SVLOQHIlJMA4y097fGHh5vw7z3DlDYzbbVfATjxy/d+4za1KI78CJ8AP/CugMQDUJKak6TDQdnac4zxr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GmlIoigtMegbfUMVduI2QFfJd8F1yWcVVZBweXTFkw7I71tqN8Y/2AcsqvOT03yj78sHHrOSWx9o7CP7pJKFVs1WH7uNUq4UxnJwHTjGB9e1c5bl6gR98et+uQF+faPvuNH+dgFmrvt/rkZAVoVxSug= + template: + metadata: + annotations: + sealedsecrets.bitnami.com/cluster-wide: 'true' + name: ftp-clever-sealed-secret + type: Opaque \ No newline at end of file diff --git a/.kontinuous/env/prod/values.yaml b/.kontinuous/env/prod/values.yaml index 5960e0e7..fc5a7b16 100644 --- a/.kontinuous/env/prod/values.yaml +++ b/.kontinuous/env/prod/values.yaml @@ -23,21 +23,3 @@ indice: replicas: 1 addVolumes: - meteofrance - env: - - name: SQLALCHEMY_DATABASE_URI - value: "$(DATABASE_URL)" - - name: FS_BUCKET_URL - valueFrom: - secretKeyRef: - name: ftp-clever-sealed-secret - key: REMOTE_SERVER - - name: FS_BUCKET_USERNAME - valueFrom: - secretKeyRef: - name: ftp-clever-sealed-secret - key: USERNAME - - name: FS_BUCKET_PASSWORD - valueFrom: - secretKeyRef: - name: ftp-clever-sealed-secret - key: PASSWORD diff --git a/.kontinuous/values.yaml b/.kontinuous/values.yaml index 546b85e7..86b3ad8b 100644 --- a/.kontinuous/values.yaml +++ b/.kontinuous/values.yaml @@ -89,6 +89,22 @@ indice: env: - name: SQLALCHEMY_DATABASE_URI value: "$(DATABASE_URL)" + - name: FS_BUCKET_URL + valueFrom: + secretKeyRef: + name: ftp-clever-sealed-secret + key: REMOTE_SERVER + - name: FS_BUCKET_USERNAME + valueFrom: + secretKeyRef: + name: ftp-clever-sealed-secret + key: USERNAME + - name: FS_BUCKET_PASSWORD + valueFrom: + secretKeyRef: + name: ftp-clever-sealed-secret + key: PASSWORD + redis: ~chart: redis