diff --git a/manifests/kube-state-metrics/kube-state-metrics-cluster-role.yaml b/manifests/kube-state-metrics/kube-state-metrics-cluster-role.yaml index 833afdec023567d01f6267cf3f283e42f78150b7..6ae8db88d253bcb4cec56e00a363c6f65c2ad731 100644 --- a/manifests/kube-state-metrics/kube-state-metrics-cluster-role.yaml +++ b/manifests/kube-state-metrics/kube-state-metrics-cluster-role.yaml @@ -11,6 +11,7 @@ rules: - resourcequotas - replicationcontrollers - limitranges + - persistentvolumeclaims verbs: ["list", "watch"] - apiGroups: ["extensions"] resources: @@ -18,3 +19,12 @@ rules: - deployments - replicasets verbs: ["list", "watch"] +- apiGroups: ["apps"] + resources: + - statefulsets + verbs: ["list", "watch"] +- apiGroups: ["batch"] + resources: + - cronjobs + - jobs + verbs: ["list", "watch"] \ No newline at end of file diff --git a/manifests/kube-state-metrics/kube-state-metrics-deployment.yaml b/manifests/kube-state-metrics/kube-state-metrics-deployment.yaml index 7d98d43e374b5f55cf2929b739210fd396666c4c..3b24611bf75b38f6b1dd4baf35c1d8f99ef5ff1a 100644 --- a/manifests/kube-state-metrics/kube-state-metrics-deployment.yaml +++ b/manifests/kube-state-metrics/kube-state-metrics-deployment.yaml @@ -12,7 +12,7 @@ spec: serviceAccountName: kube-state-metrics containers: - name: kube-state-metrics - image: quay.io/coreos/kube-state-metrics:v0.5.0 + image: quay.io/coreos/kube-state-metrics:v1.0.0 ports: - name: metrics containerPort: 8080