Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed non auth token for console login when non auth enabled #1172

Merged
merged 2 commits into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ spec:
- name: AZURE_RESTRICT_DOMAIN_SUFFIXES_NAME
value: {{ .Values.streamnative_console.login.sso.azure.config.AZURE_RESTRICT_DOMAIN_SUFFIXES_NAME }}
{{- end }}
{{- if and .Values.streamnative_console.configData.NON_AUTH_TOKEN }}
- name: NON_AUTH_TOKEN
value: {{ .Values.streamnative_console.configData.NON_AUTH_TOKEN | b64dec }}
{{- end }}
{{- if .Values.streamnative_console.login.sso.okta.enabled }}
- name: OKTA_OAUTH2_ENABLED
value: "true"
Expand Down
4 changes: 3 additions & 1 deletion charts/sn-platform-slim/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ images:
pullPolicy: IfNotPresent
streamnative_console:
repository: streamnative/private-cloud-console
tag: "v2.3.5-rc.5"
tag: "v2.3.5"
pullPolicy: IfNotPresent
hasCommand: false
node_exporter:
Expand Down Expand Up @@ -2072,6 +2072,8 @@ streamnative_console:
GRAFANA_AUTH_PROXY_USER: ""
CONNECTOR_ENABLED: true
OPENAPI_ENABLED: false
# Use it to set the default user information for the console when all auth is disabled
NON_AUTH_TOKEN: ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKaGRXUWlPaUp6ZEhKbFlXMXVZWFJwZG1VdWFXOGlMQ0oxYzJWeWJtRnRaU0k2SW1Ga2JXbHVJbjAucW4xbFdLZmo3eFVyaFQyOEZSUDhMdS1zdHhPMFBQVjU5RkRYVEdEeHBpbwo=

login:
sso:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ spec:
- name: BACKEND_DEFAULT_SUPER_USER_ROLE
value: {{ .Values.streamnative_console.configData.BACKEND_DEFAULT_SUPER_USER_ROLE }}
{{- end }}
{{- if and .Values.streamnative_console.configData.NON_AUTH_TOKEN }}
- name: NON_AUTH_TOKEN
value: {{ .Values.streamnative_console.configData.NON_AUTH_TOKEN | b64dec }}
{{- end }}
- name: CUSTOM_PAYLOAD_ENABLED
value: "{{ .Values.streamnative_console.configData.CUSTOM_PAYLOAD_ENABLED | default "false" }}"
{{- if .Values.streamnative_console.login.sso.pulsarJwt.enabled }}
Expand Down
4 changes: 3 additions & 1 deletion charts/sn-platform/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ images:
pullPolicy: IfNotPresent
streamnative_console:
repository: streamnative/private-cloud-console
tag: "v2.3.5-rc.5"
tag: "v2.3.5"
pullPolicy: IfNotPresent
hasCommand: false
node_exporter:
Expand Down Expand Up @@ -2160,6 +2160,8 @@ streamnative_console:
CONNECTOR_ENABLED: true
CUSTOM_PAYLOAD_ENABLED: false
OPENAPI_ENABLED: false
# Use it to set the default user information for the console when all auth is disabled
NON_AUTH_TOKEN: ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKaGRXUWlPaUp6ZEhKbFlXMXVZWFJwZG1VdWFXOGlMQ0oxYzJWeWJtRnRaU0k2SW1Ga2JXbHVJbjAucW4xbFdLZmo3eFVyaFQyOEZSUDhMdS1zdHhPMFBQVjU5RkRYVEdEeHBpbwo=

login:
sso:
Expand Down
Loading