diff --git a/.kontinuous/env/prod/templates/metabase.configmap.yaml b/.kontinuous/env/prod/templates/metabase.configmap.yaml deleted file mode 100644 index 22ec3380..00000000 --- a/.kontinuous/env/prod/templates/metabase.configmap.yaml +++ /dev/null @@ -1,15 +0,0 @@ -kind: ConfigMap -apiVersion: v1 -metadata: - name: metabase-configmap -data: - MB_DB_TYPE: postgres - MB_ADMIN_EMAIL: contact@fabrique.social.gouv.fr - MB_ANON_TRACKING_ENABLED: "false" - MB_APPLICATION_LOGO_URL: https://socialgouv.github.io/support/_media/marianne.jpeg - MB_APPLICATION_NAME: metabase-TuMePlay - MB_EMAIL_FROM_ADDRESS: contact@fabrique.social.gouv.fr - MB_ENABLE_EMBEDDING: "true" - MB_ENABLE_PUBLIC_SHARING: "true" - MB_SITE_LOCALE: fr - MB_SITE_NAME: Fabrique des ministères sociaux diff --git a/.kontinuous/env/prod/templates/metabase.sealed-secret.yaml b/.kontinuous/env/prod/templates/metabase.sealed-secret.yaml index f48667e9..214328f1 100644 --- a/.kontinuous/env/prod/templates/metabase.sealed-secret.yaml +++ b/.kontinuous/env/prod/templates/metabase.sealed-secret.yaml @@ -1,13 +1,12 @@ apiVersion: bitnami.com/v1alpha1 kind: SealedSecret metadata: - name: metabase-pg-user + name: metabase-secret namespace: tumeplay spec: encryptedData: - MB_DB_CONNECTION_URI: AgB19/KYRk9/YqyQrUputvGv4pxy35Yth2vsRThsUzX8RSVvjo2u+djtsQEqKy9EmrVHdHnykYgNqQW2rT2Lla1qTi0BpSWakTsZSb246ET6Jt7I4uhcc39ZY/wBMtJVV0E38iNZqxuF9HFZxddBpe9sfoX6ZePfHNWlQr9MDEDmsCac6kSgfa/bJdTOOr5e2fwNvpo6UoP2NeEChMuICuGdnHjlkSKl/aKHZcKglc9TqqiQw8MdK7JEVLqqA6QXY3CBb5JZF06Ui+9ZYka4hnuk1+MOy6h5qx9g11IhhQVELo+lhaYu9hvvxGp4jcxiqeVqc6lohnZ8sbk6lIOX3OVVIzpzRstYp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MA60r0bDdu5XWEoHp/rVEiuTJJNMfZB5pazYMKcYbZXnuuymg090Htvb9yqvr0sTEfDIvkvXVddRrpNVqEF6xm5xbfab1QEZxeJoHMVNY5PF4S9mC2zJwo+QeYpw1R8RGelJzVFw5uKwbqFQuQaVIk6K2t2m+152CD2zZPxJvCWfRKlN+8dP9I1gYiB/rwtDkVsiJQRx1gnm9Mhwru/htBI3W0bIVHfI7RtgT6/9ngNOXoo5nRMqwplxi1XEfMhaSnRpuPORAkRq22UjdBBreQHw== template: metadata: - name: metabase-pg-user + name: metabase-secret type: Opaque diff --git a/.kontinuous/env/prod/values.yaml b/.kontinuous/env/prod/values.yaml index 03a950e9..ff599ac3 100644 --- a/.kontinuous/env/prod/values.yaml +++ b/.kontinuous/env/prod/values.yaml @@ -47,11 +47,14 @@ metabase: envFrom: - secretRef: name: pg-metabase-app - - configMapRef: - name: metabase-configmap + - secretRef: + name: metabase-secret env: - - name: MB_DB_CONNECTION_URI - value: '$(DATABASE_URL)' + - name: MB_DB_CONNECTION_URI + value: "$(DATABASE_URL)" + - name: MB_APPLICATION_NAME + value: metabase-TuMePlay + # - secretKeyRef: # name: pg-metabase-app # key: DATABASE_URL