This is an automated email from the ASF dual-hosted git repository.

yamer pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git


The following commit(s) were added to refs/heads/main by this push:
     new 0beb4a048a0 NO-ISSUE: Fix Helm Charts template notes (#2558)
0beb4a048a0 is described below

commit 0beb4a048a0a95934f8259499055b47ead89afa6
Author: Rodrigo Antunes <[email protected]>
AuthorDate: Thu Sep 5 06:31:14 2024 -0300

    NO-ISSUE: Fix Helm Charts template notes (#2558)
---
 packages/kie-sandbox-helm-chart/src/templates/NOTES.txt    |  2 +-
 .../src/templates/NOTES.txt                                | 14 +++++++-------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/packages/kie-sandbox-helm-chart/src/templates/NOTES.txt 
b/packages/kie-sandbox-helm-chart/src/templates/NOTES.txt
index b155f3a50bf..8099d0b2454 100644
--- a/packages/kie-sandbox-helm-chart/src/templates/NOTES.txt
+++ b/packages/kie-sandbox-helm-chart/src/templates/NOTES.txt
@@ -112,7 +112,7 @@ Run the following commands:
 {{- else if eq .Values.global.ingressSource "openshift" }}
 
 1. CORS Proxy available at:
-  http{{ if .Values.cors_proxy.openshiftRoute.tls }}s{{ end }}://{{ tpl 
.Values.cors_proxy.openshiftRoute.host . }}
+  http{{ if $.Values.cors_proxy.openshiftRoute.tls }}s{{ end }}://{{ tpl 
.Values.cors_proxy.openshiftRoute.host . }}
 2. Extended Services available at:
   http{{ if $.Values.extended_services.openshiftRoute.tls }}s{{ end }}://{{ 
tpl .Values.extended_services.openshiftRoute.host . }}
 3. KIE Sandbox available at:
diff --git a/packages/runtime-tools-consoles-helm-chart/src/templates/NOTES.txt 
b/packages/runtime-tools-consoles-helm-chart/src/templates/NOTES.txt
index c00ab18fc0b..90aa9790ab6 100644
--- a/packages/runtime-tools-consoles-helm-chart/src/templates/NOTES.txt
+++ b/packages/runtime-tools-consoles-helm-chart/src/templates/NOTES.txt
@@ -6,7 +6,7 @@ In order to get {{ .Release.Name }} running you need to run 
these commands:
 1. Management Console available at:
 {{- range $host := index .Values "management-console" "ingress" "hosts" }}
   {{- range .paths }}
-  http{{ if index .Values "management-console" "ingress" "tls" }}s{{ end 
}}://{{ tpl $host.host $ }}{{ .path }}
+  http{{ if index $.Values "management-console" "ingress" "tls" }}s{{ end 
}}://{{ tpl $host.host $ }}{{ .path }}
   {{- end }}
 {{- end }}
 {{- else }}
@@ -33,7 +33,7 @@ In order to get {{ .Release.Name }} running you need to run 
these commands:
 2. Task Console available at:
 {{- range $host := index .Values "task-console" "ingress" "hosts" }}
   {{- range .paths }}
-  http{{ if index .Values "task-console" "ingress" "tls" }}s{{ end }}://{{ tpl 
$host.host $ }}{{ .path }}
+  http{{ if index $.Values "task-console" "ingress" "tls" }}s{{ end }}://{{ 
tpl $host.host $ }}{{ .path }}
   {{- end }}
 {{- end }}
 {{- else }}
@@ -70,7 +70,7 @@ Run the following commands:
   {{- end }}
 {{- end }}
 {{- end }}
-{{- if .Values "task-console" "enabled" }}
+{{- if index .Values "task-console" "enabled" }}
 {{- range $host := index .Values "task-console" "ingress" "hosts" }}
   {{- range .paths }}
   echo "$MINIKUBE_IP {{ tpl $host.host $ }}" | sudo tee -a /etc/hosts
@@ -82,11 +82,11 @@ Run the following commands:
 
 {{- if index .Values "management-console" "enabled" }}
 1. Management Console available at:
-  http{{ if index .Values "management-console" "openshiftRoute" "tls" }}s{{ 
end }}://{{ tpl (index .Values "management-console" "openshiftRoute" "host") . 
}}
+  http{{ if index $.Values "management-console" "openshiftRoute" "tls" }}s{{ 
end }}://{{ tpl (index .Values "management-console" "openshiftRoute" "host") . 
}}
 {{- end }}
 {{- if index .Values "task-console" "enabled"  }}
 2. Task Console available at:
-  http{{ if index .Values "task-console" "openshiftRoute" "tls" }}s{{ end 
}}://{{ tpl (index .Values "task-console" "openshiftRoute" "host") . }}
+  http{{ if index $.Values "task-console" "openshiftRoute" "tls" }}s{{ end 
}}://{{ tpl (index .Values "task-console" "openshiftRoute" "host") . }}
 {{- end }}
 
 {{- else }}
@@ -94,7 +94,7 @@ Run the following commands:
 1. Management Console available at:
 {{- range $host := index .Values "management-console" "ingress" "hosts" }}
   {{- range .paths }}
-  http{{ if index .Values "management-console" "ingress" "tls" }}s{{ end 
}}://{{ tpl $host.host $ }}{{ .path }}
+  http{{ if index $.Values "management-console" "ingress" "tls" }}s{{ end 
}}://{{ tpl $host.host $ }}{{ .path }}
   {{- end }}
 {{- end }}
 {{- end }}
@@ -102,7 +102,7 @@ Run the following commands:
 2. Task Console available at:
 {{- range $host := index .Values "task-console" "ingress" "hosts" }}
   {{- range .paths }}
-  http{{ if index .Values "task-console" "ingress" "tls" }}s{{ end }}://{{ tpl 
$host.host $ }}{{ .path }}
+  http{{ if index $.Values "task-console" "ingress" "tls" }}s{{ end }}://{{ 
tpl $host.host $ }}{{ .path }}
   {{- end }}
 {{- end }}
 {{- end }}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to