You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a unique helm chart for managing all the stuff in my eks cluster. We have some sub-charts, such as Prometheus, that allow overriding the namespace. This is a useful feature because, with one chart, you can have multiple applications isolated in different namespaces.
They implemented this using a macro:
namespace: {{ include "prometheus.namespace" . }}
{{/*
Define the prometheus.namespace template if set with forceNamespace or .Release.Namespace is set
*/}}
{{- define "prometheus.namespace" -}}
{{- default .Release.Namespace .Values.forceNamespace -}}
{{- end }}
Could you add something like this to your chart?
The text was updated successfully, but these errors were encountered:
I have a unique helm chart for managing all the stuff in my eks cluster. We have some sub-charts, such as Prometheus, that allow overriding the namespace. This is a useful feature because, with one chart, you can have multiple applications isolated in different namespaces.
They implemented this using a macro:
Could you add something like this to your chart?
The text was updated successfully, but these errors were encountered: