netflux-kubernetes/deploy/base/inflated/ingress-nginx/templates/controller-role.yaml

95 lines
1.7 KiB
YAML
Raw Permalink Normal View History

---
# Source: ingress-nginx/templates/controller-role.yaml
2022-05-02 17:36:04 +00:00
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
labels:
2024-04-17 22:58:58 +00:00
helm.sh/chart: ingress-nginx-4.10.0
app.kubernetes.io/name: ingress-nginx
app.kubernetes.io/instance: ingress-nginx
2024-04-17 22:58:58 +00:00
app.kubernetes.io/version: "1.10.0"
app.kubernetes.io/part-of: ingress-nginx
app.kubernetes.io/managed-by: Helm
2022-05-02 17:36:04 +00:00
app.kubernetes.io/component: controller
name: ingress-nginx
namespace: default
2022-05-02 17:36:04 +00:00
rules:
- apiGroups:
- ""
resources:
- namespaces
verbs:
- get
- apiGroups:
- ""
resources:
- configmaps
- pods
- secrets
- endpoints
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- services
verbs:
- get
- list
- watch
- apiGroups:
- networking.k8s.io
resources:
- ingresses
verbs:
- get
- list
- watch
2024-04-17 22:58:58 +00:00
# Omit Ingress status permissions if `--update-status` is disabled.
2022-05-02 17:36:04 +00:00
- apiGroups:
- networking.k8s.io
resources:
- ingresses/status
verbs:
- update
- apiGroups:
- networking.k8s.io
resources:
- ingressclasses
verbs:
- get
- list
- watch
2022-12-20 08:01:25 +00:00
- apiGroups:
- coordination.k8s.io
resources:
- leases
resourceNames:
- ingress-nginx-leader
verbs:
- get
- update
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- create
2022-05-02 17:36:04 +00:00
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
2022-12-20 08:01:25 +00:00
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- list
- watch
- get