From 2fadaa2598f94526fd1d3c8f05697a4732fa2c40 Mon Sep 17 00:00:00 2001 From: Maarten de Waard Date: Mon, 1 Nov 2021 17:20:20 +0100 Subject: [PATCH] add kratosUrl configuration variable --- deployment/helmchart/templates/deployment.yaml | 2 ++ deployment/helmchart/values.yaml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/deployment/helmchart/templates/deployment.yaml b/deployment/helmchart/templates/deployment.yaml index d630bae..a7c662f 100644 --- a/deployment/helmchart/templates/deployment.yaml +++ b/deployment/helmchart/templates/deployment.yaml @@ -138,6 +138,8 @@ spec: secretKeyRef: name: {{ include "backend.smtp.secretName" . }} key: smtp-password + - name: KRATOS_URL + value: {{ .Values.backend.kratosUrl }} {{- end }} {{- if .Values.backend.extraEnvVars }} {{- include "common.tplvalues.render" (dict "value" .Values.backend.extraEnvVars "context" $) | nindent 12 }} diff --git a/deployment/helmchart/values.yaml b/deployment/helmchart/values.yaml index a9df735..fdb2e00 100644 --- a/deployment/helmchart/values.yaml +++ b/deployment/helmchart/values.yaml @@ -247,6 +247,9 @@ backend: ## 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 ## service: