fix typo and duplicated declaration of ingressclasses (#8591)

This commit is contained in:
spaced 2022-03-13 08:36:23 +01:00 committed by GitHub
parent 512d5e3348
commit 2b79be68e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,8 +16,8 @@ rules:
- apiGroups: [""] - apiGroups: [""]
resources: ["services"] resources: ["services"]
verbs: ["get", "list", "watch"] verbs: ["get", "list", "watch"]
- apiGroups: ["extensions","networking.k8s.io"] - apiGroups: ["networking.k8s.io"]
resources: ["ingresses", "ingressclasses"] resources: ["ingresses"]
verbs: ["get", "list", "watch"] verbs: ["get", "list", "watch"]
- apiGroups: [""] - apiGroups: [""]
resources: ["events"] resources: ["events"]
@ -25,6 +25,7 @@ rules:
- apiGroups: ["extensions","networking.k8s.io"] - apiGroups: ["extensions","networking.k8s.io"]
resources: ["ingresses/status"] resources: ["ingresses/status"]
verbs: ["update"] verbs: ["update"]
- apiGroups: [networking.k8s.io"] - apiGroups: ["networking.k8s.io"]
resources: ["ingressclasses"] resources: ["ingressclasses"]
verbs: ["get", "list", "watch"] verbs: ["get", "list", "watch"]