Skip to content

Commit

Permalink
fix: add ftp secret in dev and preprod
Browse files Browse the repository at this point in the history
  • Loading branch information
achauve committed Sep 4, 2023
1 parent 8b6a166 commit 7f2de88
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 18 deletions.
17 changes: 17 additions & 0 deletions .kontinuous/env/dev/templates/ftp-clever.sealed-secret.yaml
Original file line number Diff line number Diff line change
@@ -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+AVKvZVoXYDw6vN19n9bQMqh/V1nFGEtYpy8N8cNycbwXxTxyFANQsY0G1dl/DAeDm38/jLppYmKideviutnFKTOCDTqGPojGR7LT9OgG+2Q+q3UcKFxa7BaGUpDcjpy4Kd8A8ecQUZ8vO7ezKtiAnjn+2R05qrEpePp31w3b/nORnEpwZoEe9bxdDKqEI14n+O7XlbG5VnU2RdL7+CFC6tT5XexMKCDB8ZgVTpf5jl6Z64RpF4db4pUv3Wp3Q6GVAiQshAzlassVdXuoboq+D+kRic
REMOTE_SERVER: AgDXezMUsq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J+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
18 changes: 18 additions & 0 deletions .kontinuous/env/preprod/templates/ftp-clever.sealed-secret.yaml
Original file line number Diff line number Diff line change
@@ -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/5JaOtx9ylWLCp15gIcd0Axz1nqPE0SLLbQzfbN9MszKpX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bLfYWt7fBvwlOR4dnbn7J0ExlU1YYdML9x2+OfLzMPn2G0al0wJio/fUGARyDDAQv0CFJg9fpGAUoGLo3yk8GbFfUE0PJ77LtDq+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
18 changes: 0 additions & 18 deletions .kontinuous/env/prod/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
16 changes: 16 additions & 0 deletions .kontinuous/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7f2de88

Please sign in to comment.