apps: fix calcom secrets and postgres configs
This commit is contained in:
parent
8b9c514503
commit
773f34880c
|
@ -99,8 +99,6 @@ data:
|
||||||
enabled: true
|
enabled: true
|
||||||
commonLabels:
|
commonLabels:
|
||||||
stackspin.net/backupSet: "vikunja"
|
stackspin.net/backupSet: "vikunja"
|
||||||
global:
|
|
||||||
postgresql:
|
|
||||||
auth:
|
auth:
|
||||||
database: vikunja
|
database: vikunja
|
||||||
username: vikunja
|
username: vikunja
|
||||||
|
|
|
@ -86,8 +86,6 @@ data:
|
||||||
enabled: true
|
enabled: true
|
||||||
commonLabels:
|
commonLabels:
|
||||||
stackspin.net/backupSet: "forgejo"
|
stackspin.net/backupSet: "forgejo"
|
||||||
global:
|
|
||||||
postgresql:
|
|
||||||
auth:
|
auth:
|
||||||
database: gitea
|
database: gitea
|
||||||
username: gitea
|
username: gitea
|
||||||
|
|
|
@ -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