From 4d3260eca941cbdb7b3c92d8d6bde670df81fd15 Mon Sep 17 00:00:00 2001 From: Evelyn Gurschler Date: Mon, 25 Sep 2023 11:00:46 +0200 Subject: [PATCH] chore(localdev): extend config --- charts/localdev/values.yaml | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/charts/localdev/values.yaml b/charts/localdev/values.yaml index af54d592b..812d6381c 100644 --- a/charts/localdev/values.yaml +++ b/charts/localdev/values.yaml @@ -19,11 +19,17 @@ portal: enabled: true + # -- Set your local frontend to integrate into local development. + portalAddress: "https://portal.example.org" + # -- Set your local backend service to integrate into local development. + # Start port forwarding tunnel for database access, e.g.: + # 'kubectl port-forward service/portal-backend-postgresql-primary 5432:5432' + portalBackendAddress: "https://portal-backend.example.org" replicaCount: 1 frontend: ingress: enabled: true - ingressClassName: "nginx" + className: "nginx" annotations: cert-manager.io/cluster-issuer: "my-ca-issuer" nginx.ingress.kubernetes.io/rewrite-target: "/$1" @@ -40,31 +46,31 @@ portal: - host: "portal.example.org" paths: - path: "/(.*)" - pathType: "Prefix" + pathType: "ImplementationSpecific" backend: service: "portal" port: 8080 - path: "/registration/(.*)" - pathType: "Prefix" + pathType: "ImplementationSpecific" backend: service: "registration" port: 8080 - path: "/((assets|documentation)/.*)" - pathType: "Prefix" + pathType: "ImplementationSpecific" backend: service: "assets" port: 8080 backend: ingress: enabled: true - ingressClassName: "nginx" + className: "nginx" name: "portal-backend" annotations: cert-manager.io/cluster-issuer: "my-ca-issuer" nginx.ingress.kubernetes.io/use-regex: "true" nginx.ingress.kubernetes.io/enable-cors: "true" nginx.ingress.kubernetes.io/proxy-body-size: "8m" - nginx.ingress.kubernetes.io/cors-allow-origin: "https://*.example.org" + nginx.ingress.kubernetes.io/cors-allow-origin: "http://localhost:3000, https://*.example.org" tls: # -- Provide tls secret. - secretName: "portal-backend.example.org-tls" @@ -131,6 +137,14 @@ portal: password: "" from: "smtp@example.org" replyTo: "smtp@example.org" + postgresql: + auth: + # -- Password for the root username 'postgres'. Secret-key 'postgres-password'. + password: "" + # -- Password for the non-root username 'portal'. Secret-key 'portal-password'. + portalPassword: "" + # -- Password for the non-root username 'provisioning'. Secret-key 'provisioning-password'. + provisioningPassword: "" centralidp: enabled: true