-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce route-agent and gateway privileges #2008
Reduce route-agent and gateway privileges #2008
Conversation
🤖 Created branch: z_pr2008/skitt/reduce-ra-gateway-permissions |
1d02e36
to
5d694d7
Compare
5d694d7
to
5f77e9c
Compare
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
5f77e9c
to
4d7343f
Compare
4d7343f
to
9dc9eda
Compare
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This drops unnecessary privileges frmo the route-agent and gateway: they don't need to modify pods, notes, secrets, or persistentvolumeclaims. Signed-off-by: Stephen Kitt <skitt@redhat.com>
e152c47
to
bc988b5
Compare
🤖 Closed branches: [z_pr2008/skitt/reduce-ra-gateway-permissions] |
The gateway is failing trying to update labels on its own pod: main.go:416] Error updating pod label: Error patching own pod "submariner-gateway-jqc9v"...forbidden: User "system:serviceaccount:submariner-operator:submariner-gateway" cannot patch resource "pods" PR submariner-io#2008 removed the "pods" privilege for the gateway role but it turns out it's needed. Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
The gateway is failing trying to update labels on its own pod: main.go:416] Error updating pod label: Error patching own pod "submariner-gateway-jqc9v"...forbidden: User "system:serviceaccount:submariner-operator:submariner-gateway" cannot patch resource "pods" PR #2008 removed the "pods" privilege for the gateway role but it turns out it's needed. Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
... including follow-up partial reverts in submariner-io#2214 and submariner-io#2225. Signed-off-by: Stephen Kitt <skitt@redhat.com>
... including follow-up partial reverts in submariner-io#2214 and submariner-io#2225. Signed-off-by: Stephen Kitt <skitt@redhat.com>
The submariner-gateway RBAC for pods duplicates the get permission, as it's granted * elsewhere. This was recently modified in submariner-io#2214 and submariner-io#2008. Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
The submariner-gateway RBAC for pods duplicates the get permission, as it's granted * elsewhere. This was recently modified in submariner-io#2214 and submariner-io#2008. Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
The submariner-gateway RBAC for pods duplicates the get permission, as it's granted * elsewhere. This was recently modified in submariner-io#2225 and submariner-io#2008. Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
The RBAC for pods duplicates the get permission, as it's granted * elsewhere. This was recently modified in submariner-io#2225, submariner-io#2214, and submariner-io#2008. Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
The RBAC for pods duplicates the get permission, as it's granted * elsewhere. This was recently modified in submariner-io#2225, submariner-io#2214, and submariner-io#2008. Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
This drops unnecessary privileges frmo the route-agent and gateway:
they don't need to modify pods, notes, secrets, or
persistentvolumeclaims.
Signed-off-by: Stephen Kitt skitt@redhat.com