From 389dc13464b9c4664f93bc8ae54bd103d9dc069e Mon Sep 17 00:00:00 2001 From: Victor Plakyda Date: Tue, 15 Apr 2025 10:46:00 +0300 Subject: [PATCH 1/3] fix: update setup URL in NOTES.txt to use dynamic values --- charts/gitops-runtime/templates/NOTES.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/gitops-runtime/templates/NOTES.txt b/charts/gitops-runtime/templates/NOTES.txt index 37b906ef..ec70e0a5 100644 --- a/charts/gitops-runtime/templates/NOTES.txt +++ b/charts/gitops-runtime/templates/NOTES.txt @@ -1,2 +1,2 @@ GitOps Runtime {{ .Values.global.runtime.name }} has been successfully installed in your cluster! -To complete the setup, please finalize the process in the platform here: https://g.codefresh.io/2.0/account-settings/runtimes/info/list +To complete the setup, please finalize the process in the platform here: {{ .Values.global.codefresh.url }}/2.0/account-settings/runtimes/info/list?activeAccountId={{ .Values.global.codefresh.accountId }}&drawer=install-runtime-wizard&mode=mode={{- if .Values["argo-cd"].enabled }}new{{- else }}byoa{{- end }}&runtimeName={{ .Values.global.runtime.name }}&waitEvents=true From c11df618d276bfadeebdc925b85a2c07fb50a234 Mon Sep 17 00:00:00 2001 From: Victor Plakyda Date: Tue, 15 Apr 2025 10:55:55 +0300 Subject: [PATCH 2/3] fix: correct formatting in setup URL in NOTES.txt --- charts/gitops-runtime/templates/NOTES.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/gitops-runtime/templates/NOTES.txt b/charts/gitops-runtime/templates/NOTES.txt index ec70e0a5..0bc98890 100644 --- a/charts/gitops-runtime/templates/NOTES.txt +++ b/charts/gitops-runtime/templates/NOTES.txt @@ -1,2 +1,2 @@ GitOps Runtime {{ .Values.global.runtime.name }} has been successfully installed in your cluster! -To complete the setup, please finalize the process in the platform here: {{ .Values.global.codefresh.url }}/2.0/account-settings/runtimes/info/list?activeAccountId={{ .Values.global.codefresh.accountId }}&drawer=install-runtime-wizard&mode=mode={{- if .Values["argo-cd"].enabled }}new{{- else }}byoa{{- end }}&runtimeName={{ .Values.global.runtime.name }}&waitEvents=true +To complete the setup, please finalize the process in the platform here: {{ .Values.global.codefresh.url }}/2.0/account-settings/runtimes/info/list?activeAccountId={{ .Values.global.codefresh.accountId }}&drawer=install-runtime-wizard&mode={{- if .Values["argo-cd"].enabled }}new{{- else }}byoa{{- end }}&runtimeName={{ .Values.global.runtime.name }}&waitEvents=true From 04370dac1f605e07ed734a36c13f2362fc2f2488 Mon Sep 17 00:00:00 2001 From: Victor Plakyda Date: Tue, 15 Apr 2025 12:54:36 +0300 Subject: [PATCH 3/3] fix: update conditional check for argo-cd in NOTES.txt --- charts/gitops-runtime/templates/NOTES.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/gitops-runtime/templates/NOTES.txt b/charts/gitops-runtime/templates/NOTES.txt index 0bc98890..031f0518 100644 --- a/charts/gitops-runtime/templates/NOTES.txt +++ b/charts/gitops-runtime/templates/NOTES.txt @@ -1,2 +1,2 @@ GitOps Runtime {{ .Values.global.runtime.name }} has been successfully installed in your cluster! -To complete the setup, please finalize the process in the platform here: {{ .Values.global.codefresh.url }}/2.0/account-settings/runtimes/info/list?activeAccountId={{ .Values.global.codefresh.accountId }}&drawer=install-runtime-wizard&mode={{- if .Values["argo-cd"].enabled }}new{{- else }}byoa{{- end }}&runtimeName={{ .Values.global.runtime.name }}&waitEvents=true +To complete the setup, please finalize the process in the platform here: {{ .Values.global.codefresh.url }}/2.0/account-settings/runtimes/info/list?activeAccountId={{ .Values.global.codefresh.accountId }}&drawer=install-runtime-wizard&mode={{- if index .Values "argo-cd" "enabled" }}new{{- else }}byoa{{- end }}&runtimeName={{ .Values.global.runtime.name }}&waitEvents=true