Skip to content

Commit

Permalink
Update RBAC in Helm template (#2593)
Browse files Browse the repository at this point in the history
  • Loading branch information
ciarams87 authored Apr 12, 2022
1 parent 4f1e85f commit ed598e5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions deployments/helm-chart/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,19 @@ rules:
- watch
- get
{{- end }}
{{- if .Values.controller.enableCertManager }}
- apiGroups:
- cert-manager.io
resources:
- certificates
verbs:
- list
- watch
- get
- update
- create
- delete
{{- end }}
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-resources/certmanager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Then, we deploy the NGINX or NGINX Plus Ingress controller, a simple web applica
1. Deploy cert manager and all dependent resources:

```
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.7.2/cert-manager.yaml
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.8.0/cert-manager.yaml
```
2. Deploy a self-signed certificate issuer:
Expand Down

0 comments on commit ed598e5

Please sign in to comment.