File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
config/charts/inferencepool/templates Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1+ {{- if .Values.inferenceExtension.monitoring.prometheus.enabled }}
12kind : ClusterRole
23apiVersion : rbac.authorization.k8s.io/v1
34metadata :
@@ -17,12 +18,10 @@ rules:
1718 - subjectaccessreviews
1819 verbs :
1920 - create
20- {{- if .Values.inferenceExtension.monitoring.prometheus.enabled }}
2121- nonResourceURLs :
2222 - " /metrics"
2323 verbs :
2424 - get
25- {{- end }}
2625---
2726kind : ClusterRoleBinding
2827apiVersion : rbac.authorization.k8s.io/v1
@@ -36,6 +35,7 @@ roleRef:
3635 apiGroup : rbac.authorization.k8s.io
3736 kind : ClusterRole
3837 name : {{ include "gateway-api-inference-extension.cluster-rbac-name" . }}
38+ {{- end }}
3939---
4040apiVersion : rbac.authorization.k8s.io/v1
4141kind : Role
You can’t perform that action at this time.
0 commit comments