Skip to content

Commit

Permalink
chore(localdev): extend config
Browse files Browse the repository at this point in the history
  • Loading branch information
evegufy committed Sep 25, 2023
1 parent 3fa3052 commit 4d3260e
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions charts/localdev/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -131,6 +137,14 @@ portal:
password: ""
from: "[email protected]"
replyTo: "[email protected]"
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
Expand Down

0 comments on commit 4d3260e

Please sign in to comment.