|
|
@ -9,8 +9,20 @@ metadata: |
|
|
|
app.kubernetes.io/part-of: ingress-nginx |
|
|
|
rules: |
|
|
|
- apiGroups: [""] |
|
|
|
resources: ["configmaps", "pods", "secrets", "namespaces"] |
|
|
|
resources: ["namespaces"] |
|
|
|
verbs: ["get"] |
|
|
|
- apiGroups: [""] |
|
|
|
resources: ["configmaps", "pods", "secrets", "endpoints"] |
|
|
|
verbs: ["get", "list", "watch"] |
|
|
|
- apiGroups: [""] |
|
|
|
resources: ["services"] |
|
|
|
verbs: ["get", "list", "update", "watch"] |
|
|
|
- apiGroups: ["extensions", "networking.k8s.io"] |
|
|
|
resources: ["ingresses"] |
|
|
|
verbs: ["get", "list", "watch"] |
|
|
|
- apiGroups: ["extensions", "networking.k8s.io"] |
|
|
|
resources: ["ingresses/status"] |
|
|
|
verbs: ["update"] |
|
|
|
- apiGroups: [""] |
|
|
|
resources: ["configmaps"] |
|
|
|
# Defaults to "<election-id>-<ingress-class>" |
|
|
@ -24,7 +36,10 @@ rules: |
|
|
|
verbs: ["create"] |
|
|
|
- apiGroups: [""] |
|
|
|
resources: ["endpoints"] |
|
|
|
verbs: ["get"] |
|
|
|
verbs: ["create", "get", "update"] |
|
|
|
- apiGroups: [""] |
|
|
|
resources: ["events"] |
|
|
|
verbs: ["create", "patch"] |
|
|
|
- apiGroups: ["policy"] |
|
|
|
resourceNames: ["ingress-nginx"] |
|
|
|
resources: ["podsecuritypolicies"] |
|
|
|