From 2fe29347245398f058aaa928c156b855cf01442f Mon Sep 17 00:00:00 2001 From: Adam Graves Date: Thu, 10 Oct 2019 21:53:19 +0100 Subject: [PATCH] [prometheus-node-exporter] Use latest API versions (#17785) Needed for 1.16 support Signed-off-by: Adam Graves --- stable/prometheus-node-exporter/Chart.yaml | 2 +- stable/prometheus-node-exporter/templates/daemonset.yaml | 2 +- stable/prometheus-node-exporter/templates/psp-clusterrole.yaml | 2 +- .../templates/psp-clusterrolebinding.yaml | 2 +- stable/prometheus-node-exporter/templates/psp.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/stable/prometheus-node-exporter/Chart.yaml b/stable/prometheus-node-exporter/Chart.yaml index cbf7e7a618..6568426226 100644 --- a/stable/prometheus-node-exporter/Chart.yaml +++ b/stable/prometheus-node-exporter/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "0.18.0" description: A Helm chart for prometheus node-exporter name: prometheus-node-exporter -version: 1.6.0 +version: 1.7.0 home: https://github.com/prometheus/node_exporter/ sources: - https://github.com/prometheus/node_exporter/ diff --git a/stable/prometheus-node-exporter/templates/daemonset.yaml b/stable/prometheus-node-exporter/templates/daemonset.yaml index 65ffaf8212..0cbc2cc89b 100644 --- a/stable/prometheus-node-exporter/templates/daemonset.yaml +++ b/stable/prometheus-node-exporter/templates/daemonset.yaml @@ -1,4 +1,4 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: DaemonSet metadata: name: {{ template "prometheus-node-exporter.fullname" . }} diff --git a/stable/prometheus-node-exporter/templates/psp-clusterrole.yaml b/stable/prometheus-node-exporter/templates/psp-clusterrole.yaml index 3d0a636a37..b22027c264 100644 --- a/stable/prometheus-node-exporter/templates/psp-clusterrole.yaml +++ b/stable/prometheus-node-exporter/templates/psp-clusterrole.yaml @@ -1,7 +1,7 @@ {{- if .Values.rbac.create }} {{- if .Values.rbac.pspEnabled }} kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 metadata: labels: {{ include "prometheus-node-exporter.labels" . | indent 4 }} name: psp-{{ template "prometheus-node-exporter.fullname" . }} diff --git a/stable/prometheus-node-exporter/templates/psp-clusterrolebinding.yaml b/stable/prometheus-node-exporter/templates/psp-clusterrolebinding.yaml index 50f7a149a1..94d2ac2b67 100644 --- a/stable/prometheus-node-exporter/templates/psp-clusterrolebinding.yaml +++ b/stable/prometheus-node-exporter/templates/psp-clusterrolebinding.yaml @@ -1,6 +1,6 @@ {{- if .Values.rbac.create }} {{- if .Values.rbac.pspEnabled }} -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: {{ include "prometheus-node-exporter.labels" . | indent 4 }} diff --git a/stable/prometheus-node-exporter/templates/psp.yaml b/stable/prometheus-node-exporter/templates/psp.yaml index 1fa6f28963..05e6ee2e45 100644 --- a/stable/prometheus-node-exporter/templates/psp.yaml +++ b/stable/prometheus-node-exporter/templates/psp.yaml @@ -1,6 +1,6 @@ {{- if .Values.rbac.create }} {{- if .Values.rbac.pspEnabled }} -apiVersion: extensions/v1beta1 +apiVersion: policy/v1beta1 kind: PodSecurityPolicy metadata: labels: {{ include "prometheus-node-exporter.labels" . | indent 4 }}