Update apiVersion for RBAC templates to support Kubernetes 1.22+. Breaks compatibility with Kubernetes 1.8 and older.
This commit is contained in:
parent
a1f9210b83
commit
2286b867c1
1 changed files with 2 additions and 2 deletions
|
@ -105,7 +105,7 @@ rules:
|
|||
resources: ["secrets"]
|
||||
verbs: ["get", "watch"]
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: {{ include "cert-manager-webhook-domeneshop.fullname" . }}:secret-reader
|
||||
|
@ -144,7 +144,7 @@ subjects:
|
|||
# resources: ["secrets"]
|
||||
# verbs: ["get", "watch"]
|
||||
# ---
|
||||
# apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
# apiVersion: rbac.authorization.k8s.io/v1
|
||||
# kind: RoleBinding
|
||||
# metadata:
|
||||
# name: {{ include "cert-manager-webhook-domeneshop.fullname" . }}:secret-reader
|
||||
|
|
Loading…
Add table
Reference in a new issue