Skip to content

Commit

Permalink
manifests: allow list and watch for resource ingresses
Browse files Browse the repository at this point in the history
The controller now needs to watch for ingress objects so that we can
detect if the http/2 disable annotation has been added. We watch the
ingress config resource and trigger reconcile for all related
ingresscontrollers.
  • Loading branch information
frobware committed May 26, 2020
1 parent ba227d2 commit ec2115f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions manifests/00-cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ rules:
verbs:
- get

- apiGroups:
- config.openshift.io
resources:
- ingresses
verbs:
- list
- watch

- apiGroups:
- config.openshift.io
resources:
Expand Down
8 changes: 4 additions & 4 deletions pkg/manifests/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ec2115f

Please sign in to comment.