From 291667d7b8e195e66c318b8488d8564cc4e7e00f Mon Sep 17 00:00:00 2001 From: daniel-pimenta-DME Date: Wed, 11 Oct 2023 14:48:41 +0000 Subject: [PATCH] Commit triggered by a change on the main branch of helm-charts-dev --- charts/uma-user-agent/Chart.yaml | 4 ++-- charts/uma-user-agent/templates/ingress.yaml | 17 ++++++++++++++++- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/charts/uma-user-agent/Chart.yaml b/charts/uma-user-agent/Chart.yaml index 77baf2e..1313e60 100644 --- a/charts/uma-user-agent/Chart.yaml +++ b/charts/uma-user-agent/Chart.yaml @@ -15,10 +15,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.2.4 +version: 1.3.5 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "v1.2.2" +appVersion: "v1.2.2" \ No newline at end of file diff --git a/charts/uma-user-agent/templates/ingress.yaml b/charts/uma-user-agent/templates/ingress.yaml index 38d303b..2a2ccb1 100644 --- a/charts/uma-user-agent/templates/ingress.yaml +++ b/charts/uma-user-agent/templates/ingress.yaml @@ -77,6 +77,21 @@ metadata: proxy_set_header X-Original-URI $request_uri; proxy_set_header X-Original-Method $request_method; } + location /keycloak { + proxy_pass https://identity.gatekeeper.develop.eoepca.org/; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Scheme $scheme; + proxy_set_header X-Forwarded-Host $host:80; + proxy_set_header X-Forwarded-Port 80; + proxy_set_header X-Forwarded-Server $host; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_connect_timeout 1; + proxy_read_timeout 30; + proxy_send_timeout 30; + proxy_http_version 1.1; + } spec: {{- if and .Values.nginxIntegration.className (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion) }} ingressClassName: {{ .Values.nginxIntegration.className }} @@ -115,4 +130,4 @@ spec: - {{ printf "%s.%s" (tpl .host $) $domain | quote }} {{- end }} {{- end }} -{{- end }} +{{- end }} \ No newline at end of file