Skip to content

Commit

Permalink
feat: do not create LokiRule by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Mauermann committed Jan 15, 2024
1 parent 2c9a95f commit d8cdb8c
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions charts/generic-service/ci/log-alerts-both-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ alerting:
severity: Warning
maxCount: 10
error: {}
createLokiRule: true
lokiConfigMap:
label: "loki_rule"
labelValue: ""
1 change: 1 addition & 0 deletions charts/generic-service/ci/log-alerts-operator-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ alerting:
error: {}
# setting this to an empty object (`{}`) will not suppress cm creation, use `null` instead
lokiConfigMap: null
createLokiRule: true
1 change: 0 additions & 1 deletion charts/generic-service/ci/log-alerts-sidecar-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ alerting:
lokiConfigMap:
label: "loki_rule"
labelValue: ""
createLokiRule: false
2 changes: 1 addition & 1 deletion charts/generic-service/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@
},
"createLokiRule": {
"type": "boolean",
"default": true,
"default": false,
"description": "Whether to create a LokiRule CR for log alerting or not."
}
},
Expand Down
2 changes: 1 addition & 1 deletion charts/generic-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ alerting:
countInterval: 5m
levelLabel: level
levels: {}
createLokiRule: true
createLokiRule: false
lokiConfigMap:
label: "loki_rule"
labelValue: ""
Expand Down

0 comments on commit d8cdb8c

Please sign in to comment.