Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
fix(k8s): fix metabase
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Oct 6, 2023
1 parent 1368d1e commit 961cdff
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 22 deletions.
15 changes: 0 additions & 15 deletions .kontinuous/env/prod/templates/metabase.configmap.yaml

This file was deleted.

5 changes: 2 additions & 3 deletions .kontinuous/env/prod/templates/metabase.sealed-secret.yaml
Original file line number Diff line number Diff line change
@@ -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+lhaYu9hvvxGp4jcxiqeVqc6lohnZ8sbk6lIOX3OVVIzpzRstYp8mVdn/XxNulEu0lDBULYnhRpRMVsel5qHhYu5mjGIHKQX52FUzjZUr/zQfRVjUvgq18IIfZYzJ4m05W/RoqjgsYte2x96vksR6dhJCU/eybb2+we+TtyfpWHpfTiVS4BwIGIbTyC4dAy8XoQz6H8E/FGK+f5xE7tPKnBysZu0kXMzkX3aDq5/9g6LybuoAUBx7jf9gdLbWMhyKgms1m3jG2puwtd2Zq9oiMV/rzclSFzPZgjhnLWqQruj7eCUmreThPj0VoYMdATKbAkaPSq3rV65fDSRGKbAN67Cy2b5rjPH45YGhSFYa3fb47EHfRN4zDD5X0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es: 7 additions & 4 deletions .kontinuous/env/prod/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 961cdff

Please sign in to comment.