Skip to content

Commit cf8bb7e

Browse files
fix: add IS_NAMESPACED_RUNTIME variable to environment variables for event reporters
This change introduces the IS_NAMESPACED_RUNTIME variable in the environment configuration for both cluster and runtime event reporters. This variable is set to the value of .Values.global.runtime.singleNamespace, ensuring that the runtime context is correctly reflected in the environment settings.
1 parent ba36208 commit cf8bb7e

File tree

2 files changed

+2
-0
lines changed
  • charts/gitops-runtime/templates/event-reporters

2 files changed

+2
-0
lines changed

charts/gitops-runtime/templates/event-reporters/cluster-event-reporter/_env.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
HTTP_PROXY: {{ .Values.global.httpProxy | squote}}
33
HTTPS_PROXY: {{ .Values.global.httpsProxy | squote }}
44
NO_PROXY: {{ .Values.global.noProxy | squote }}
5+
IS_NAMESPACED_RUNTIME: {{ .Values.global.runtime.singleNamespace }}
56

67
{{- if and (eq (index .Values "global" "integrations" "argo-cd" "server" "auth" "type") "token") }}
78
{{- if not (index .Values "global" "integrations" "argo-cd" "server" "auth" "token") }}

charts/gitops-runtime/templates/event-reporters/runtime-event-reporter/_env.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
HTTP_PROXY: {{ .Values.global.httpProxy | squote}}
33
HTTPS_PROXY: {{ .Values.global.httpsProxy | squote }}
44
NO_PROXY: {{ .Values.global.noProxy | squote }}
5+
IS_NAMESPACED_RUNTIME: {{ .Values.global.runtime.singleNamespace }}
56

67
{{- if and (eq (index .Values "global" "integrations" "argo-cd" "server" "auth" "type") "token") }}
78
{{- if not (index .Values "global" "integrations" "argo-cd" "server" "auth" "token") }}

0 commit comments

Comments
 (0)