Skip to content
1 change: 1 addition & 0 deletions helm/cosmo/charts/controlplane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ WunderGraph Cosmo Controlplane
| commonLabels | object | `{}` | Add labels to all deployed resources |
| configuration.allowedOrigins[0] | string | `"*"` | |
| configuration.authRedirectUri | string | `"http://controlplane.wundergraph.local/v1/auth/callback"` | |
| configuration.authSsoCookieDomain | string | `".wundergraph.local"` | The domain for the cookie used to store SSO authentication information |
| configuration.cdnBaseUrl | string | `"http://cosmo-cdn:8787"` | URL of the CDN to use for serving router configs and persistent operations |
| configuration.clickhouseDsn | string | `"http://default:changeme@cosmo-clickhouse:8123?database=cosmo"` | |
| configuration.clickhouseMigrationDsn | string | `"clickhouse://default:changeme@cosmo-clickhouse:9000?database=cosmo"` | |
Expand Down
1 change: 1 addition & 0 deletions helm/cosmo/charts/controlplane/templates/config-map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ data:
host: "0.0.0.0"
port: "{{ .Values.service.port }}"
logLevel: "{{ .Values.configuration.logLevel }}"
authSsoCookieDomain: "{{ .Values.configuration.authSsoCookieDomain }}"
allowedOrigins: "{{ join "," .Values.configuration.allowedOrigins }}"
webBaseUrl: "{{ .Values.global.studio.webUrl }}"
debugSQL: "{{ .Values.configuration.debugSQL }}"
Expand Down
5 changes: 5 additions & 0 deletions helm/cosmo/charts/controlplane/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ spec:
secretKeyRef:
name: {{ include "controlplane.secretName" . }}
key: jwtSessionSecret
- name: AUTH_SSO_COOKIE_DOMAIN
valueFrom:
configMapKeyRef:
name: {{ include "controlplane.fullname" . }}-configmap
key: authSsoCookieDomain
- name: DB_URL
valueFrom:
secretKeyRef:
Expand Down
2 changes: 2 additions & 0 deletions helm/cosmo/charts/controlplane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ configuration:
openAiApiKey: ''
# -- URL of the CDN to use for serving router configs and persistent operations
cdnBaseUrl: 'http://cosmo-cdn:8787'
# -- The domain for the cookie used to store SSO authentication information
authSsoCookieDomain: '.wundergraph.local'

# -- Use this section to configure the smtp server.
smtp:
Expand Down
Loading