From 0dcce2449c29ef4adbfd18b6455a171a662357b5 Mon Sep 17 00:00:00 2001 From: Keyvan Date: Mon, 27 Jan 2025 16:04:54 +0100 Subject: [PATCH] Fixed self-enrolment-ui tls configuration --- etc/{kratos-ui => radar-self-enrolment-ui}/values.yaml | 8 +------- helmfile.d/10-services.yaml | 5 +---- 2 files changed, 2 insertions(+), 11 deletions(-) rename etc/{kratos-ui => radar-self-enrolment-ui}/values.yaml (81%) diff --git a/etc/kratos-ui/values.yaml b/etc/radar-self-enrolment-ui/values.yaml similarity index 81% rename from etc/kratos-ui/values.yaml rename to etc/radar-self-enrolment-ui/values.yaml index 41cbabd89..4b2e337bc 100644 --- a/etc/kratos-ui/values.yaml +++ b/etc/radar-self-enrolment-ui/values.yaml @@ -3,18 +3,12 @@ config: ingress: enabled: true - className: "nginx" - annotations: - cert-manager.io/cluster-issuer: letsencrypt-prod hosts: - host: localhost paths: - path: "/kratos-ui(/|$)(.*)" pathType: ImplementationSpecific - tls: - - secretName: radar-base-tls - hosts: - - localhost + # -- Set this to ORY Kratos's Admin URL kratosAdminUrl: "kratos-admin" diff --git a/helmfile.d/10-services.yaml b/helmfile.d/10-services.yaml index dee956952..d51c1a36b 100644 --- a/helmfile.d/10-services.yaml +++ b/helmfile.d/10-services.yaml @@ -361,16 +361,13 @@ releases: timeout: {{ add .Values.base_timeout .Values.radar_self_enrolment_ui._extra_timeout }} <<: *logFailedRelease values: - - "../etc/kratos-ui/values.yaml" + - "../etc/radar-self-enrolment-ui/values.yaml" - {{ .Values.radar_self_enrolment_ui | toYaml | indent 8 | trim }} set: - name: serverName value: {{ .Values.server_name }} - name: ingress.hosts[0].host value: {{ .Values.server_name }} - - name: ingress.tls[0].hosts - values: - - {{ .Values.server_name }} - name: kratosPublicUrl value: https://{{ .Values.server_name }}/kratos - name: kratosBrowserUrl