diff --git a/manifests/kube-state-metrics-clusterRole.yaml b/manifests/kube-state-metrics-clusterRole.yaml index 0de2af475c1e21b14d4491b6c6f7da893a1670f4..c1cd228b8927d672c6fcc4a738cefd36fe5a710b 100644 --- a/manifests/kube-state-metrics-clusterRole.yaml +++ b/manifests/kube-state-metrics-clusterRole.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: exporter app.kubernetes.io/name: kube-state-metrics app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 1.9.8 + app.kubernetes.io/version: 2.0.0-rc.0 name: kube-state-metrics rules: - apiGroups: @@ -32,7 +32,6 @@ rules: - daemonsets - deployments - replicasets - - ingresses verbs: - list - watch @@ -107,6 +106,14 @@ rules: - networking.k8s.io resources: - networkpolicies + - ingresses + verbs: + - list + - watch +- apiGroups: + - coordination.k8s.io + resources: + - leases verbs: - list - watch diff --git a/manifests/kube-state-metrics-clusterRoleBinding.yaml b/manifests/kube-state-metrics-clusterRoleBinding.yaml index cd4f9652acc3b681840b5b9a61f6f1909e5c3c04..4f524dd0edebb8504061d0ac5043f691f4265ee3 100644 --- a/manifests/kube-state-metrics-clusterRoleBinding.yaml +++ b/manifests/kube-state-metrics-clusterRoleBinding.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: exporter app.kubernetes.io/name: kube-state-metrics app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 1.9.8 + app.kubernetes.io/version: 2.0.0-rc.0 name: kube-state-metrics roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/manifests/kube-state-metrics-deployment.yaml b/manifests/kube-state-metrics-deployment.yaml index d87af74239c8bd48da37db9394dd0f70c9854981..2438d40832e369ed840a8806512cbd9bac8c47a3 100644 --- a/manifests/kube-state-metrics-deployment.yaml +++ b/manifests/kube-state-metrics-deployment.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: exporter app.kubernetes.io/name: kube-state-metrics app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 1.9.8 + app.kubernetes.io/version: 2.0.0-rc.0 name: kube-state-metrics namespace: monitoring spec: @@ -21,7 +21,7 @@ spec: app.kubernetes.io/component: exporter app.kubernetes.io/name: kube-state-metrics app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 1.9.8 + app.kubernetes.io/version: 2.0.0-rc.0 spec: containers: - args: @@ -29,7 +29,7 @@ spec: - --port=8081 - --telemetry-host=127.0.0.1 - --telemetry-port=8082 - image: k8s.gcr.io/kube-state-metrics/kube-state-metrics:v1.9.8 + image: k8s.gcr.io/kube-state-metrics/kube-state-metrics:v2.0.0-rc.0 name: kube-state-metrics resources: limits: @@ -38,6 +38,8 @@ spec: requests: cpu: 10m memory: 190Mi + securityContext: + runAsUser: 65534 - args: - --logtostderr - --secure-listen-address=:8443 diff --git a/manifests/kube-state-metrics-prometheusRule.yaml b/manifests/kube-state-metrics-prometheusRule.yaml index 0f887466f80d646a84947cc2585e4efc380ed4cb..4739e168465d96cb1052f6688c04bf406bdc83c8 100644 --- a/manifests/kube-state-metrics-prometheusRule.yaml +++ b/manifests/kube-state-metrics-prometheusRule.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: exporter app.kubernetes.io/name: kube-state-metrics app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 1.9.8 + app.kubernetes.io/version: 2.0.0-rc.0 prometheus: k8s role: alert-rules name: kube-state-metrics-rules diff --git a/manifests/kube-state-metrics-service.yaml b/manifests/kube-state-metrics-service.yaml index 0183585e0ac657b3ad5657cfa4bdf2ab21a9edda..6b1537d59b61fab66e786b52b98f89b6e5938024 100644 --- a/manifests/kube-state-metrics-service.yaml +++ b/manifests/kube-state-metrics-service.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: exporter app.kubernetes.io/name: kube-state-metrics app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 1.9.8 + app.kubernetes.io/version: 2.0.0-rc.0 name: kube-state-metrics namespace: monitoring spec: diff --git a/manifests/kube-state-metrics-serviceAccount.yaml b/manifests/kube-state-metrics-serviceAccount.yaml index a9887f0088c48df3acb6021b519553809d0e846e..99f341282eaf6469f0f1cb45cc3c2af17579f413 100644 --- a/manifests/kube-state-metrics-serviceAccount.yaml +++ b/manifests/kube-state-metrics-serviceAccount.yaml @@ -5,6 +5,6 @@ metadata: app.kubernetes.io/component: exporter app.kubernetes.io/name: kube-state-metrics app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 1.9.8 + app.kubernetes.io/version: 2.0.0-rc.0 name: kube-state-metrics namespace: monitoring diff --git a/manifests/kube-state-metrics-serviceMonitor.yaml b/manifests/kube-state-metrics-serviceMonitor.yaml index 804dea6e7400240a2fa26809a2a732d9ebe76db5..6739bfdfcab155529df25820c9fb9d66724841f1 100644 --- a/manifests/kube-state-metrics-serviceMonitor.yaml +++ b/manifests/kube-state-metrics-serviceMonitor.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: exporter app.kubernetes.io/name: kube-state-metrics app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 1.9.8 + app.kubernetes.io/version: 2.0.0-rc.0 name: kube-state-metrics namespace: monitoring spec: