@@ -51,7 +51,7 @@ subjects:
5151# Grant the webhook permission to read the ConfigMap containing the Kubernetes
5252# apiserver's requestheader-ca-certificate.
5353# This ConfigMap is automatically created by the Kubernetes apiserver.
54- apiVersion : rbac.authorization.k8s.io/v1beta1
54+ apiVersion : rbac.authorization.k8s.io/v1
5555kind : RoleBinding
5656metadata :
5757 name : {{ include "alidns-webhook.fullname" . }}:webhook-authentication-reader
@@ -73,7 +73,7 @@ subjects:
7373---
7474# apiserver gets the auth-delegator role to delegate auth decisions to
7575# the core apiserver
76- apiVersion : rbac.authorization.k8s.io/v1beta1
76+ apiVersion : rbac.authorization.k8s.io/v1
7777kind : ClusterRoleBinding
7878metadata :
7979 name : {{ include "alidns-webhook.fullname" . }}:auth-delegator
@@ -93,7 +93,7 @@ subjects:
9393 namespace : {{ .Release.Namespace }}
9494---
9595# Grant cert-manager permission to validate using our apiserver
96- apiVersion : rbac.authorization.k8s.io/v1beta1
96+ apiVersion : rbac.authorization.k8s.io/v1
9797kind : ClusterRole
9898metadata :
9999 name : {{ include "alidns-webhook.fullname" . }}:domain-solver
@@ -110,7 +110,7 @@ rules:
110110 verbs :
111111 - ' create'
112112---
113- apiVersion : rbac.authorization.k8s.io/v1beta1
113+ apiVersion : rbac.authorization.k8s.io/v1
114114kind : ClusterRoleBinding
115115metadata :
116116 name : {{ include "alidns-webhook.fullname" . }}:domain-solver
0 commit comments