Skip to content

Commit

Permalink
cofiguring kubewatch from values file (robusta-dev#1112)
Browse files Browse the repository at this point in the history
* cofiguring kubewatch from values file

* add watched kubewatch resources to Robusta values

---------

Co-authored-by: Arik Alon <alon.arik@gmail.com>
Co-authored-by: Ganesh Rathinavel Medayil <182092+ganeshrvel@users.noreply.github.com>
  • Loading branch information
3 people authored and pavangudiwada committed Nov 6, 2023
1 parent 6efcdd7 commit 7662907
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 23 deletions.
22 changes: 0 additions & 22 deletions helm/robusta/kubewatch.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion helm/robusta/templates/kubewatch-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ data:
handler:
cloudevent:
url: "http://{{ .Release.Name }}-runner:80/api/handle"
{{ .Files.Get "kubewatch.yaml" | indent 4}}
{{ toYaml .Values.kubewatch.config | indent 4 }}
23 changes: 23 additions & 0 deletions helm/robusta/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,29 @@ kubewatch:
annotations: {}
nodeSelector: ~
imagePullSecrets: []
config:
namespace: ""
resource:
deployment: true
replicationcontroller: false # 0.10.12 disabled because not supported on the runner
replicaset: true
daemonset: true
statefulset: true
services: true
pod: true
job: true
node: true
hpa: true
clusterrole: true
clusterrolebinding: true
serviceaccount: true
persistentvolume: true
namespace: true
configmap: true # 0.9.17
secret: false # disabled for security reasons
event: true # updated on kubewatch 2.5
coreevent: false # added on kubewatch 2.5
ingress: true # full support on kubewatch 2.4 (earlier versions have ingress bugs)

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

0 comments on commit 7662907

Please sign in to comment.