diff --git a/helm/robusta/templates/kubewatch-configmap.yaml b/helm/robusta/templates/kubewatch-configmap.yaml index 772116e7f..802ee0148 100644 --- a/helm/robusta/templates/kubewatch-configmap.yaml +++ b/helm/robusta/templates/kubewatch-configmap.yaml @@ -8,4 +8,8 @@ data: handler: cloudevent: url: "http://{{ .Release.Name }}-runner:80/api/handle" -{{ .Files.Get "kubewatch.yaml" | indent 4}} \ No newline at end of file +{{- if .Values.kubewatch.config.resource }} +{{ toYaml .Values.kubewatch.config | indent 4 }} +{{ else }} +{{ .Files.Get "kubewatch.yaml" | indent 4}} +{{- end }} \ No newline at end of file diff --git a/helm/robusta/values.yaml b/helm/robusta/values.yaml index b268c6dee..8b07d96d8 100644 --- a/helm/robusta/values.yaml +++ b/helm/robusta/values.yaml @@ -449,6 +449,8 @@ kubewatch: annotations: {} nodeSelector: ~ imagePullSecrets: [] + config: + namespace: "" # parameters for the renderer service used in robusta runner to render grafana graphs grafanaRenderer: