apps/meet: fix secretRef required fields

This commit is contained in:
xeruf 2024-02-20 13:27:27 +01:00
parent d270f6b305
commit 095c0e6321
7 changed files with 27 additions and 22 deletions

View File

@ -26,6 +26,8 @@ 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

View File

@ -1,11 +0,0 @@
apiVersion: secretgenerator.mittwald.de/v1alpha1
kind: StringSecret
metadata:
name: stackspin-calcom-keys
namespace: stackspout
spec:
# DATABASE_URL
# NEXT_PUBLIC_WEBAPP_URL
fields:
- fieldName: NEXTAUTH_SECRET
- fieldName: CALENDSO_ENCRYPTION_KEY

View File

@ -1,9 +0,0 @@
apiVersion: secretgenerator.mittwald.de/v1alpha1
kind: StringSecret
metadata:
name: stackspin-calcom-postgres
namespace: stackspout
spec:
fields:
- fieldName: password
- fieldName: postgres-password

View File

@ -0,0 +1,11 @@
apiVersion: secretgenerator.mittwald.de/v1alpha1
kind: StringSecret
metadata:
name: stackspin-calcom-variables
namespace: flux-system
spec:
fields:
- fieldName: postgresql_password
- fieldName: postgresql_postgres_password
- fieldName: nextauth_secret
- fieldName: calendso_key

View File

@ -0,0 +1,11 @@
apiVersion: v1
kind: Secret
metadata:
name: stackspin-calcom-keys
namespace: stackspout
type: Opaque
data:
DATABASE_URL: "postgresql://calcom:${postgresql_password}@calcom-postgresql/calcom"
NEXT_PUBLIC_WEBAPP_URL: "https://${calcom_domain}"
NEXTAUTH_SECRET: "${nextauth_secret}"
CALENDSO_ENCRYPTION_KEY: "${calendso_key}"

View File

@ -14,7 +14,8 @@ data:
auth: auth:
database: calcom database: calcom
username: calcom username: calcom
existingSecret: "stackspin-calcom-postgres" password: "${postgresql_password}"
postgresPassword: "${postgresql_postgres_password}"
primary: primary:
persistence: persistence:
existingClaim: calcom-postgres existingClaim: calcom-postgres

View File

@ -8,7 +8,7 @@ spec:
chart: chart:
spec: spec:
chart: gatus chart: gatus
version: 1.0 # TODO version: 3.4.1
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: minicloudlabs name: minicloudlabs