You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| metricsService.metricsPort | int |`9090`| metrics service port |
77
80
| metricsService.pprofPort | int |`8888`| port for the pprof profiling endpoint |
78
81
| metricsService.type | string |`"ClusterIP"`| metrics service type |
@@ -85,19 +88,21 @@ It's easier to just manage this configuration outside of the operator.
85
88
| priorityClassName | string |`""`| pod priority class name |
86
89
| rbac.create | bool |`true`| Specifies whether to create the ClusterRole and ClusterRoleBinding. If "namespaceScope" is true or "watchNamespaces" is set, this will create Role and RoleBinding instead. |
| securityContext.capabilities | object |`{"drop":["ALL"]}`| A list of capabilities to drop |
93
+
| securityContext.readOnlyRootFilesystem | bool |`true`| Whether to allow writing to the root filesystem |
94
+
| securityContext.runAsNonRoot | bool |`true`| Whether to require a container to run as a non-root user |
89
95
| serviceAccount.annotations | object |`{}`| Annotations to add to the service account |
90
96
| serviceAccount.create | bool |`true`| Specifies whether a service account should be created |
91
97
| serviceAccount.name | string |`""`| The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
92
-
| serviceMonitor | object |`{"additionalLabels":{},"enabled":false,"interval":"1m","metricRelabelings":[],"relabelings":[],"scrapeTimeout":"10s","targetLabels":[],"telemetryPath":"/metrics"}`| Enable this to use with Prometheus Operator |
93
98
| serviceMonitor.additionalLabels | object |`{}`| Set of labels to transfer from the Kubernetes Service onto the target |
94
-
| serviceMonitor.enabled | bool |`false`|When set true then use a ServiceMonitor to configure scraping|
99
+
| serviceMonitor.enabled | bool |`false`|Whether to create a ServiceMonitor |
95
100
| serviceMonitor.interval | string |`"1m"`| Set how frequently Prometheus should scrape |
96
101
| serviceMonitor.metricRelabelings | list |`[]`| MetricRelabelConfigs to apply to samples before ingestion |
97
102
| serviceMonitor.relabelings | list |`[]`| Set relabel_configs as per https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config|
98
103
| serviceMonitor.scrapeTimeout | string |`"10s"`| Set timeout for scrape |
99
104
| serviceMonitor.targetLabels | list |`[]`| Set of labels to transfer from the Kubernetes Service onto the target |
100
105
| serviceMonitor.telemetryPath | string |`"/metrics"`| Set path to metrics path |
101
106
| tolerations | list |`[]`| pod tolerations |
102
-
| watchNamespaceSelector | string |`""`| Sets the WATCH_NAMESPACE_SELECTOR environment variable, it defines which namespaces the operator should be listening for based on label and key value pair added on namespace kind. By default it's all namespaces. |
103
-
| watchNamespaces | string |`""`| Sets the WATCH_NAMESPACE environment variable, it defines which namespaces the operator should be listening for. By default it's all namespaces, if you only want to listen for the same namespace as the operator is deployed to look at namespaceScope. |
107
+
| watchNamespaceSelector | string |`""`| Sets the `WATCH_NAMESPACE_SELECTOR` environment variable, it defines which namespaces the operator should be listening for based on a namespace label (e.g. `"environment: dev"`). By default, the operator watches all namespaces. To make it watch only its own namespace, check out `namespaceScope` option instead. |
108
+
| watchNamespaces | string |`""`| Sets the `WATCH_NAMESPACE` environment variable, it defines which namespaces the operator should be listening for (e.g. `"grafana, foo"`). By default, the operator watches all namespaces. To make it watch only its own namespace, check out `namespaceScope` option instead. |
0 commit comments