apps: fix calcom secrets and postgres configs
This commit is contained in:
parent
8b9c514503
commit
773f34880c
|
@ -99,13 +99,11 @@ data:
|
||||||
enabled: true
|
enabled: true
|
||||||
commonLabels:
|
commonLabels:
|
||||||
stackspin.net/backupSet: "vikunja"
|
stackspin.net/backupSet: "vikunja"
|
||||||
global:
|
auth:
|
||||||
postgresql:
|
database: vikunja
|
||||||
auth:
|
username: vikunja
|
||||||
database: vikunja
|
password: "${postgresql_password}"
|
||||||
username: vikunja
|
postgresPassword: "${postgresql_admin_password}"
|
||||||
password: "${postgresql_password}"
|
|
||||||
postgresPassword: "${postgresql_admin_password}"
|
|
||||||
primary:
|
primary:
|
||||||
persistence:
|
persistence:
|
||||||
existingClaim: vikunja-postgres
|
existingClaim: vikunja-postgres
|
||||||
|
|
|
@ -86,13 +86,11 @@ data:
|
||||||
enabled: true
|
enabled: true
|
||||||
commonLabels:
|
commonLabels:
|
||||||
stackspin.net/backupSet: "forgejo"
|
stackspin.net/backupSet: "forgejo"
|
||||||
global:
|
auth:
|
||||||
postgresql:
|
database: gitea
|
||||||
auth:
|
username: gitea
|
||||||
database: gitea
|
password: gitea # "${postgresql_password}"
|
||||||
username: gitea
|
postgresPassword: "${postgresql_admin_password}"
|
||||||
password: gitea # "${postgresql_password}"
|
|
||||||
postgresPassword: "${postgresql_admin_password}"
|
|
||||||
primary:
|
primary:
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
backup.velero.io/backup-volumes: "data"
|
backup.velero.io/backup-volumes: "data"
|
||||||
|
|
|
@ -26,8 +26,6 @@ spec:
|
||||||
name: stackspin-cluster-variables
|
name: stackspin-cluster-variables
|
||||||
- kind: ConfigMap
|
- kind: ConfigMap
|
||||||
name: stackspin-calcom-kustomization-variables
|
name: stackspin-calcom-kustomization-variables
|
||||||
- kind: Secret
|
|
||||||
name: stackspin-calcom-variables
|
|
||||||
# OIDC
|
# OIDC
|
||||||
- kind: Secret
|
- kind: Secret
|
||||||
name: stackspin-calcom-oauth-variables
|
name: stackspin-calcom-oauth-variables
|
||||||
|
|
|
@ -1,14 +1,11 @@
|
||||||
---
|
|
||||||
apiVersion: secretgenerator.mittwald.de/v1alpha1
|
apiVersion: secretgenerator.mittwald.de/v1alpha1
|
||||||
kind: StringSecret
|
kind: StringSecret
|
||||||
metadata:
|
metadata:
|
||||||
name: stackspin-calcom-variables
|
name: stackspin-calcom-keys
|
||||||
namespace: flux-system
|
namespace: stackspout
|
||||||
spec:
|
spec:
|
||||||
# DATABASE_URL
|
# DATABASE_URL
|
||||||
# NEXT_PUBLIC_WEBAPP_URL
|
# NEXT_PUBLIC_WEBAPP_URL
|
||||||
fields:
|
fields:
|
||||||
- fieldName: postgresql_password
|
|
||||||
- fieldName: postgresql_postgres_password
|
|
||||||
- fieldName: NEXTAUTH_SECRET
|
- fieldName: NEXTAUTH_SECRET
|
||||||
- fieldName: CALENDSO_ENCRYPTION_KEY
|
- fieldName: CALENDSO_ENCRYPTION_KEY
|
|
@ -1,4 +1,3 @@
|
||||||
---
|
|
||||||
apiVersion: secretgenerator.mittwald.de/v1alpha1
|
apiVersion: secretgenerator.mittwald.de/v1alpha1
|
||||||
kind: StringSecret
|
kind: StringSecret
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
apiVersion: secretgenerator.mittwald.de/v1alpha1
|
||||||
|
kind: StringSecret
|
||||||
|
metadata:
|
||||||
|
name: stackspin-calcom-postgres
|
||||||
|
namespace: stackspout
|
||||||
|
spec:
|
||||||
|
fields:
|
||||||
|
- fieldName: postgresql_password
|
||||||
|
- fieldName: postgresql_postgres_password
|
|
@ -6,16 +6,15 @@ metadata:
|
||||||
data:
|
data:
|
||||||
values.yaml: |
|
values.yaml: |
|
||||||
postgresql:
|
postgresql:
|
||||||
|
# https://github.com/Pyrrha/calcom-helm/blob/main/charts/calcom-stack/values.yaml
|
||||||
enabled: true
|
enabled: true
|
||||||
commonLabels:
|
commonLabels:
|
||||||
stackspin.net/backupSet: "calcom"
|
stackspin.net/backupSet: "calcom"
|
||||||
#global:
|
# https://github.com/bitnami/charts/tree/main/bitnami/postgresql/#postgresql-common-parameters
|
||||||
# postgresql:
|
|
||||||
auth:
|
auth:
|
||||||
database: calcom
|
database: calcom
|
||||||
username: calcom
|
username: calcom
|
||||||
password: "${postgresql_password}"
|
existingSecret: "stackspin-calcom-postgres"
|
||||||
postgresPassword: "${postgresql_postgres_password}"
|
|
||||||
primary:
|
primary:
|
||||||
persistence:
|
persistence:
|
||||||
existingClaim: calcom-postgres
|
existingClaim: calcom-postgres
|
||||||
|
@ -23,7 +22,8 @@ data:
|
||||||
backup.velero.io/backup-volumes: "data"
|
backup.velero.io/backup-volumes: "data"
|
||||||
|
|
||||||
calcom:
|
calcom:
|
||||||
secretRef: "stackspin-calcom-variables"
|
# https://github.com/Pyrrha/calcom-helm/blob/main/charts/calcom/values.yaml
|
||||||
|
secretRef: "stackspin-calcom-keys"
|
||||||
commonLabels:
|
commonLabels:
|
||||||
stackspin.net/backupSet: "calcom"
|
stackspin.net/backupSet: "calcom"
|
||||||
podLabels:
|
podLabels:
|
||||||
|
|
Loading…
Reference in New Issue