35
35
- apiGroups : ["extensions", "networking.k8s.io"]
36
36
resources : ["ingresses"]
37
37
verbs : ["get", "list", "watch"]
38
- # For now, GLBC annotates ingress resources with various state and statuses:
38
+ # For now, GLBC annotates ingress resources with various state and statuses:
39
39
# https://github.com/kubernetes/ingress-gce/blob/50d49b077d9ab4362a02fae05f94e433cd3f08dc/pkg/controller/controller.go#L579
40
40
# TODO(rramkumar1): Remove unnecessary `update` permission once statuses are propagated through `ingresses/status`
41
41
- apiGroups : ["extensions", "networking.k8s.io"]
@@ -44,12 +44,16 @@ rules:
44
44
- apiGroups : ["extensions", "networking.k8s.io"]
45
45
resources : ["ingresses/status"]
46
46
verbs : ["update", "patch"]
47
- # GLBC ensures that the `cloud.google.com/backendconfigs` CRD exists in a desired state:
48
- # https://github.com/kubernetes/ingress-gce/blob/4918eb2f0f484f09ac9e5a975907a9b16ed2b344/cmd/glbc/main.go#L93
47
+ # GLBC ensures that the `cloud.google.com/backendconfigs` and `networking.gke.io/servicenetworkendpointgroups` CRD exists in a desired state:
48
+ # https://github.com/kubernetes/ingress-gce/blob/5c3fcb5845e74b92ea8bd52929b15fc5c9fa7970/cmd/glbc/main.go#L108
49
+ # https://github.com/kubernetes/ingress-gce/blob/5c3fcb5845e74b92ea8bd52929b15fc5c9fa7970/cmd/glbc/main.go#L133
49
50
# TODO(rramkumar1): https://github.com/kubernetes/ingress-gce/issues/744
50
51
- apiGroups : ["apiextensions.k8s.io"]
51
52
resources : ["customresourcedefinitions"]
52
53
verbs : ["get", "list", "watch", "update", "create", "patch"]
53
54
- apiGroups : ["cloud.google.com"]
54
55
resources : ["backendconfigs"]
55
56
verbs : ["get", "list", "watch", "update", "create", "patch"]
57
+ - apiGroups : ["networking.gke.io"]
58
+ resources : ["servicenetworkendpointgroups"]
59
+ verbs : ["get", "list", "watch", "update", "create", "patch"]
0 commit comments