Skip to content

Commit d780c17

Browse files
committed
chore: Align Helm with Kustomize and enable leader elect per default
1 parent b7134d5 commit d780c17

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deploy/helm/grafana-operator/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ It's easier to just manage this configuration outside of the operator.
7777
| image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. |
7878
| imagePullSecrets | list | `[]` | image pull secrets |
7979
| isOpenShift | bool | `false` | Determines if the target cluster is OpenShift. Additional rbac permissions for routes will be added on OpenShift |
80-
| leaderElect | bool | `false` | If you want to run multiple replicas of the grafana-operator, this is not recommended. |
80+
| leaderElect | bool | `true` | This is recommended in most scenarios, even when only running a single instance of the operator. |
8181
| logging.encoder | string | `"console"` | Log encoding ("console", "json") |
8282
| logging.level | string | `"info"` | Configure the verbosity of logging ("debug", "error", "info") |
8383
| logging.time | string | `"rfc3339"` | Time encoding ("epoch", "iso8601", "millis", "nano", "rfc3339", "rfc3339nano") |

deploy/helm/grafana-operator/values.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# if true the operator will only be able to manage instances in the same namespace
33
namespaceScope: false
44

5-
# -- If you want to run multiple replicas of the grafana-operator, this is not recommended.
6-
leaderElect: false
5+
# -- This is recommended in most scenarios, even when only running a single instance of the operator.
6+
leaderElect: true
77

88
# -- Sets the `WATCH_NAMESPACE` environment variable,
99
# it defines which namespaces the operator should be listening for (e.g. `"grafana, foo"`).

0 commit comments

Comments
 (0)