diff --git a/prometheus-kube-state-metrics/templates/deployment.yaml b/prometheus-kube-state-metrics/templates/deployment.yaml index ac827cb42..a3b92b49b 100644 --- a/prometheus-kube-state-metrics/templates/deployment.yaml +++ b/prometheus-kube-state-metrics/templates/deployment.yaml @@ -28,14 +28,18 @@ rules: - apiGroups: - "" resources: - - namespaces + - configmaps + - secrets - nodes - - persistentvolumeclaims - pods - services - resourcequotas - replicationcontrollers - limitranges + - persistentvolumeclaims + - persistentvolumes + - namespaces + - endpoints verbs: - list - watch @@ -64,6 +68,13 @@ rules: verbs: - list - watch + - apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - list + - watch --- apiVersion: rbac.authorization.k8s.io/v1beta1 kind: ClusterRoleBinding