Merge branch '7-add-kratos_url-backend-config-variable-to-helm-chart' into 'master'

Resolve "Add KRATOS_URL backend config variable to helm chart"

Closes #7

See merge request openappstack/admin-frontend!6
This commit is contained in:
Varac 2021-11-01 18:12:47 +00:00
commit 23c295e335
2 changed files with 5 additions and 0 deletions

View file

@ -138,6 +138,8 @@ spec:
secretKeyRef: secretKeyRef:
name: {{ include "backend.smtp.secretName" . }} name: {{ include "backend.smtp.secretName" . }}
key: smtp-password key: smtp-password
- name: KRATOS_URL
value: {{ .Values.backend.kratosUrl }}
{{- end }} {{- end }}
{{- if .Values.backend.extraEnvVars }} {{- if .Values.backend.extraEnvVars }}
{{- include "common.tplvalues.render" (dict "value" .Values.backend.extraEnvVars "context" $) | nindent 12 }} {{- include "common.tplvalues.render" (dict "value" .Values.backend.extraEnvVars "context" $) | nindent 12 }}

View file

@ -247,6 +247,9 @@ backend:
## ##
pullSecrets: [] pullSecrets: []
# URL to the Ory Kratos API
kratosUrl: http://127.0.0.1:8000
## Kubernetes service configuration. For minikube, set this to NodePort, elsewhere use LoadBalancer or ClusterIP ## Kubernetes service configuration. For minikube, set this to NodePort, elsewhere use LoadBalancer or ClusterIP
## ##
service: service: