Skip to content

Commit

Permalink
Update rbac API version to support k8s 1.22 or newer (#4)
Browse files Browse the repository at this point in the history
* update rbac api version to support k8s 1.22 or newer

* bump chart version
  • Loading branch information
chotiwat authored Jan 6, 2023
1 parent 4a3774b commit 47421c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion helm/draino/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
description: draino chart
name: draino
version: 0.1.0
version: 0.2.0
2 changes: 1 addition & 1 deletion helm/draino/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.rbac.create -}}
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ include "draino.fullname" . }}
Expand Down
2 changes: 1 addition & 1 deletion helm/draino/templates/clusterrolebinding.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.rbac.create -}}
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: {{ include "draino.fullname" . }}
Expand Down

0 comments on commit 47421c8

Please sign in to comment.