We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e50da50 commit 302d44eCopy full SHA for 302d44e
deploy/chart/templates/daemonset.yaml
@@ -71,6 +71,9 @@ spec:
71
{{- if .Values.nodeBalancerTags }}
72
- --nodebalancer-tags={{ join " " .Values.nodeBalancerTags }}
73
{{- end }}
74
+ {{- if .Values.allowUnauthorizedMetrics }}
75
+ - --authorization-always-allow-paths="/metrics"
76
+ {{- end }}
77
volumeMounts:
78
- mountPath: /etc/kubernetes
79
name: k8s
deploy/chart/values.yaml
@@ -80,3 +80,6 @@ volumes:
80
81
# - mountPath: /tmp/
82
# name: test-volume
83
+
84
+# This flag allows to scrape /metrics endpoint without authorization
85
+allowUnauthorizedMetrics: false
0 commit comments