Created
February 11, 2022 20:57
-
-
Save rdemoraes/a3f98f9ab0ebcb91277bca7de59b7c94 to your computer and use it in GitHub Desktop.
kubernetes-role-for-nginx-ingress-controller-after
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: Role | |
metadata: | |
labels: | |
app.kubernetes.io/name: ingress-nginx | |
app.kubernetes.io/part-of: ingress-nginx | |
name: nginx-ingress-role | |
namespace: ingress-nginx | |
rules: | |
- apiGroups: | |
- "" | |
resources: | |
- configmaps | |
- pods | |
- secrets | |
- namespaces | |
verbs: | |
- get | |
- apiGroups: | |
- "" | |
resourceNames: | |
- ingress-controller-leader-nginx | |
- ingress-controller-leader | |
resources: | |
- configmaps | |
verbs: | |
- get | |
- update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment