Update rbac api version for kubernetes-node-problem-detector

When using a helm3 to deploy , it fails. Helm3 no more support rbac.authorization.k8s.io/v1beta1 , but v1 can support helm2 and helm3.

Change-Id: I2760befdc20e73989bce5cc581d086de57f91383
This commit is contained in:
jinyuan 2021-02-24 15:47:05 +08:00 committed by jinyuanliu
parent 7ebc49c338
commit f33e27cf51
3 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Kubernetes Node Problem Detector description: OpenStack-Helm Kubernetes Node Problem Detector
name: kubernetes-node-problem-detector name: kubernetes-node-problem-detector
version: 0.1.2 version: 0.1.3
home: https://github.com/kubernetes/node-problem-detector home: https://github.com/kubernetes/node-problem-detector
sources: sources:
- https://github.com/kubernetes/node-problem-detector - https://github.com/kubernetes/node-problem-detector

View File

@ -18,7 +18,7 @@ limitations under the License.
{{- $serviceAccountName := printf "%s-%s" .Release.Name "node-problem-detector" }} {{- $serviceAccountName := printf "%s-%s" .Release.Name "node-problem-detector" }}
{{ tuple $envAll "node_problem_detector" $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }} {{ tuple $envAll "node_problem_detector" $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }}
--- ---
apiVersion: rbac.authorization.k8s.io/v1beta1 apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding kind: ClusterRoleBinding
metadata: metadata:
name: run-node-problem-detector name: run-node-problem-detector

View File

@ -3,4 +3,5 @@ kubernetes-node-problem-detector:
- 0.1.0 Initial Chart - 0.1.0 Initial Chart
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0" - 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0"
- 0.1.2 Unpin images built with osh-images - 0.1.2 Unpin images built with osh-images
- 0.1.3 Update RBAC apiVersion from /v1beta1 to /v1
... ...