From 909a0178ceb5c4b7ad2f4baea519a13cbb3f2aaa Mon Sep 17 00:00:00 2001 From: Hayden Spitzley Date: Mon, 17 Jun 2024 15:05:21 -0600 Subject: [PATCH 1/2] chore: add stack to ingress host --- stack/templates/context_configmap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack/templates/context_configmap.yaml b/stack/templates/context_configmap.yaml index 6bf78b9..43a7301 100644 --- a/stack/templates/context_configmap.yaml +++ b/stack/templates/context_configmap.yaml @@ -8,6 +8,6 @@ metadata: name: {{ .appContext.stackContextConfigMapName }} data: __ARGUS_STACK_NAME: $ARGOCD_APP_NAME - __ARGUS_INGRESS_HOST: {{ .ingress.host }} + __ARGUS_STACK_INGRESS_HOST: {{ .ingress.host }} {{- end }} {{- end }} From be6a5f821f46baf06b089bb4953f9c0fc0708dec Mon Sep 17 00:00:00 2001 From: Hayden Spitzley Date: Mon, 17 Jun 2024 15:17:54 -0600 Subject: [PATCH 2/2] fix: use correct stack short name --- stack/templates/context_configmap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack/templates/context_configmap.yaml b/stack/templates/context_configmap.yaml index 43a7301..47fe05e 100644 --- a/stack/templates/context_configmap.yaml +++ b/stack/templates/context_configmap.yaml @@ -7,7 +7,7 @@ apiVersion: v1 metadata: name: {{ .appContext.stackContextConfigMapName }} data: - __ARGUS_STACK_NAME: $ARGOCD_APP_NAME + __ARGUS_STACK_NAME: {{ $global.Release.Name }} __ARGUS_STACK_INGRESS_HOST: {{ .ingress.host }} {{- end }} {{- end }}