Skip to content

Commit

Permalink
cofiguring kubewatch from values file
Browse files Browse the repository at this point in the history
  • Loading branch information
Avi-Robusta committed Oct 8, 2023
1 parent 8409a98 commit 7dbfdcc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion helm/robusta/templates/kubewatch-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@ data:
handler:
cloudevent:
url: "http://{{ .Release.Name }}-runner:80/api/handle"
{{ .Files.Get "kubewatch.yaml" | indent 4}}
{{- if .Values.kubewatch.config.resource }}
{{ toYaml .Values.kubewatch.config | indent 4 }}
{{ else }}
{{ .Files.Get "kubewatch.yaml" | indent 4}}
{{- end }}
2 changes: 2 additions & 0 deletions helm/robusta/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,8 @@ kubewatch:
annotations: {}
nodeSelector: ~
imagePullSecrets: []
config:
namespace: ""

# parameters for the renderer service used in robusta runner to render grafana graphs
grafanaRenderer:
Expand Down

0 comments on commit 7dbfdcc

Please sign in to comment.