diff --git a/charts/console/templates/deployment.yaml b/charts/console/templates/deployment.yaml index 8af2550f..0c180792 100644 --- a/charts/console/templates/deployment.yaml +++ b/charts/console/templates/deployment.yaml @@ -50,7 +50,7 @@ spec: - name: HOSTNAME value: "0.0.0.0" - name: NEXTAUTH_URL - value: https://kubefirst.{{ .Values.domain }} + value: "{{ .Values.authURL | default (printf "https://kubefirst.%s" (.Values.domain )) }}" - name: K1_ACCESS_TOKEN valueFrom: secretKeyRef: diff --git a/charts/console/values.yaml b/charts/console/values.yaml index df73ae67..c1863af3 100644 --- a/charts/console/values.yaml +++ b/charts/console/values.yaml @@ -93,3 +93,4 @@ extraEnvSecrets: [] global: kubefirstVersion: "development" +domain: "example.com"