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
The operator exposes several configuration options. Unless otherwise noted, they can be set as environment variables or command line flags.
9
+
You can use several options to configure the operator. Unless otherwise noted, these options can be set as environment variables or command line flags.
|enable-debug-logs |bool |false |Enables debug logs. Equivalent to `log-verbosity=1`
18
-
|metrics-port |int |0 |Port to use for exposing metrics in the Prometheus format. Set 0 to disable
19
-
|operator-roles |[]string |all |Roles this operator should assume. Valid values are namespace, global, webhook or all. Accepts multiple comma separated values. See <<{p}-ns-config>> for more information
20
-
|namespace |string |`""` |Namespace in which this operator should manage resources. Defaults to all namespaces. See <<{p}-ns-config>> for more information
21
-
|ca-cert-validity |duration (string) |1y |Duration representing how long before a newly created CA cert expires
22
-
|ca-cert-rotate-before |duration (string) |1d |Duration representing how long before expiration CA certificates should be reissued
23
-
|cert-validity |duration (string) |1y |Duration representing how long before a newly created TLS certificate expires
24
-
|cert-rotate-before |duration (string) |1d |Duration representing how long before expiration TLS certificates should be reissued
|operator-namespace |string |`""` |K8s namespace the operator runs in
27
-
|webhook-secret |string |`""` |K8s secret name mounted into /tmp/cert to be used for webhook certificates
28
-
|webhook-pods-label |string |`""` |K8s label to select pods running the operator
29
-
|development |bool |false |Enable developmenet mode. Only available as a CLI flag, not an environment variable
30
-
|debug-http-listen |string |localhost:6060 |Listen address for the debug HTTP server. Only available in development mode
31
-
|auto-port-forward |bool |false |Enables automatic port forwarding to allow running the operator outside the cluster. For dev use only as it exposes k8s resources on ephemeral ports to localhost
|`enable-debug-logs` |bool |false |Enables debug logs. Equivalent to `log-verbosity=1`
18
+
|`metrics-port` |int |0 |Port to use for exposing metrics in the Prometheus format. Set 0 to disable
19
+
|`operator-roles` |[]string |all |Roles this operator should assume. Valid values are namespace, global, webhook or all. Accepts multiple comma separated values. See <<{p}-ns-config>> for more information
20
+
|`namespace` |string |`""` |Namespace in which this operator should manage resources. Defaults to all namespaces. See <<{p}-ns-config>> for more information
21
+
|`ca-cert-validity` |duration (string) |1y |Duration representing how long before a newly created CA cert expires
22
+
|`ca-cert-rotate-before` |duration (string) |1d |Duration representing how long before expiration CA certificates should be reissued
23
+
|`cert-validity` |duration (string) |1y |Duration representing how long before a newly created TLS certificate expires
24
+
|`cert-rotate-before` |duration (string) |1d |Duration representing how long before expiration TLS certificates should be reissued
|`operator-namespace` |string |`""` |K8s namespace the operator runs in
27
+
|`webhook-secret` |string |`""` |K8s secret name mounted into /tmp/cert to be used for webhook certificates
28
+
|`webhook-pods-label` |string |`""` |K8s label to select pods running the operator
29
+
|`development` |bool |false |Enable developmenet mode. Only available as a CLI flag, not an environment variable
30
+
|`debug-http-listen` |string |localhost:6060 |Listen address for the debug HTTP server. Only available in development mode
31
+
|`auto-port-forward` |bool |false |Enables automatic port forwarding to allow running the operator outside the cluster. For dev use only as it exposes k8s resources on ephemeral ports to localhost
0 commit comments