about summary refs log tree commit diff
path: root/bundles/geopulse/files/secret.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/geopulse/files/secret.yaml')
-rw-r--r--bundles/geopulse/files/secret.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/bundles/geopulse/files/secret.yaml b/bundles/geopulse/files/secret.yaml
new file mode 100644
index 0000000..29de6fb
--- /dev/null
+++ b/bundles/geopulse/files/secret.yaml
@@ -0,0 +1,13 @@
+apiVersion: v1
+kind: Secret
+metadata:
+  name: geopulse
+data:
+  POSTGRES_USER: ${repo.libs.util.base64("geopulse")}
+  POSTGRES_PASSWORD: ${repo.vault.password_for("geopulse_db_pw").b64encode().value}
+  POSTGRES_DB: ${repo.libs.util.base64("geopulse")}
+  GEOPULSE_OIDC_PROVIDER_GENERIC_CLIENT_ID: ${repo.libs.util.base64("geopulse")}
+  GEOPULSE_OIDC_PROVIDER_GENERIC_CLIENT_SECRET: ${repo.vault.password_for("authelia_client_secret_geopulse").b64encode().value}
+  GEOPULSE_POSTGRES_USERNAME: ${repo.libs.util.base64("geopulse")}
+  GEOPULSE_POSTGRES_PASSWORD: ${repo.vault.password_for("geopulse_db_pw").b64encode().value}
+  GEOPULSE_POSTGRES_URL: ${repo.libs.util.base64(f"jdbc:postgresql://localhost/geopulse")}