diff options
| author | Ricardo Pchevuzinske Katz <ricardo.katz@serpro.gov.br> | 2020-06-19 18:02:28 -0300 |
|---|---|---|
| committer | Ricardo Pchevuzinske Katz <ricardo.katz@serpro.gov.br> | 2020-06-19 18:07:36 -0300 |
| commit | 4100cd165e93aae061a855b5b1e0cf542d671701 (patch) | |
| tree | 3c6b4c9be6011528f058e34cc5bda3c0a16cdeed /deploy/example-webhook/templates/rbac.yaml | |
| parent | bcb3c751d812b30b41ca6269299ea5225912df9c (diff) | |
| download | cert-manager-webhook-hostinger-4100cd165e93aae061a855b5b1e0cf542d671701.tar.gz cert-manager-webhook-hostinger-4100cd165e93aae061a855b5b1e0cf542d671701.zip | |
Update helm template for deprecated APIs
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@serpro.gov.br>
Diffstat (limited to 'deploy/example-webhook/templates/rbac.yaml')
| -rw-r--r-- | deploy/example-webhook/templates/rbac.yaml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/deploy/example-webhook/templates/rbac.yaml b/deploy/example-webhook/templates/rbac.yaml index efec523..d386362 100644 --- a/deploy/example-webhook/templates/rbac.yaml +++ b/deploy/example-webhook/templates/rbac.yaml @@ -11,7 +11,7 @@ metadata: # Grant the webhook permission to read the ConfigMap containing the Kubernetes # apiserver's requestheader-ca-certificate. # This ConfigMap is automatically created by the Kubernetes apiserver. -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: {{ include "example-webhook.fullname" . }}:webhook-authentication-reader @@ -33,7 +33,7 @@ subjects: --- # apiserver gets the auth-delegator role to delegate auth decisions to # the core apiserver -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: {{ include "example-webhook.fullname" . }}:auth-delegator @@ -53,7 +53,7 @@ subjects: namespace: {{ .Release.Namespace }} --- # Grant cert-manager permission to validate using our apiserver -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: {{ include "example-webhook.fullname" . }}:domain-solver @@ -70,7 +70,7 @@ rules: verbs: - 'create' --- -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: {{ include "example-webhook.fullname" . }}:domain-solver |
