Skip to content

Commit

Permalink
add printAllEvents values in the helm chart
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Labarussias <issif+github@gadz.org>
  • Loading branch information
Issif committed Dec 13, 2023
1 parent af2f674 commit d36a90c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config_example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ logFormat: "color" # Log Format: text, color, json (default: color)
watchRules: true # reload if the rules file changes (default: true)
printallEvents: true # print in logs all received events, not only those which match

defaultNotifiers: # this notifiers will be enabled for all rules
defaultNotifiers: # these notifiers will be enabled for all rules
- k8sevents

notifiers:
Expand Down
1 change: 1 addition & 0 deletions deployment/helm/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TODO
1 change: 1 addition & 0 deletions deployment/helm/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
stringData:
config.yaml: |
watchRules: {{ default true .Values.watchRules }}
printAllEvents: {{ default false .Values.printAllEvents }}
defaultNotifiers:
{{- range .Values.defaultNotifiers }}
- {{ . -}}
Expand Down
8 changes: 5 additions & 3 deletions deployment/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,13 @@ tolerations: []

affinity: {}

defaultNotifiers:
- slack
defaultNotifiers: # these notifiers will be enabled for all rules
# - slack
- k8sevents

watchRules: true
watchRules: true # reload if the rules file changes (default: true)

printAllEvents: false # print in stdout all received events, not only those which match a rule

notifiers:
slack:
Expand Down

0 comments on commit d36a90c

Please sign in to comment.