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
# This is disabled by default, enable this if you want to enable controller observability.
63
37
metricsService:
64
38
enabled: false
39
+
# Enabling secure will also create ClusterRole to enable authn/authz to the metrics endpoint through RBAC.
40
+
# More details here https://book.kubebuilder.io/reference/metrics#by-using-authnauthz-enabled-by-default
41
+
# Secure is enabled by default to be consistent with Kubebuilder defaults.
42
+
#
43
+
# If you want to avoid cluster roles, you can keep this set to false and configure a NetworkPolicu instead.
44
+
# An example can be found in Kubebuilder docs here https://github.com/kubernetes-sigs/kubebuilder/blob/d063d5af162a772379a761fae5aaea8c91b877d4/docs/book/src/getting-started/testdata/project/config/network-policy/allow-metrics-traffic.yaml#L2
0 commit comments