Repository navigation
Conversation
…ntroller, and autoscaler pods. No ingress access to netoworking-istio and networking-istio pods. Note that pods in member namespaces of the service messh control plane are still allowed.
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: wtam2018 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @wtam2018. Thanks for your PR. I'm waiting for a openshift-knative member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
Can you please add some tests? The test framework is there and already includes some tests for security aspects (normal user vs. admin). |
|
/ok-to-test |
|
/test 4.3-e2e-aws-ocp-43 |
|
@mgencur Can you point me to where the security tests are? |
|
/re-test |
|
/test 4.1-upgrade-tests-aws-ocp-41 |
…ve serving mertics url
… knative-serving is available
|
/hold We shouldn't merge against 1.3 anymore. Will cut a proper master soon. |
|
This also doesn't really do anything to fix the underlying issue. Every namespace in the cluster that uses Knative will be part of the same Service Mesh AND a user can automatically get any namespace added to that Service Mesh by just deploying a Knative Service. So, any user in any namespace on the cluster can still hit those metrics endpoints. |
|
Closing this as outdated. Please reopen against master if still relevant. |
Fixes: https://jira.coreos.com/browse/SRVKS-227
The current Network Policies on knative serving pods grant ingress access from anywhere. The proposed changes are to change the Network Polices on the following pods:
Network prolicy on Webhook is unchanged.
Note that pods in namespace member of service mesh control plane and openshift ingress router group can still access to knative serving pods as allowed by other Network Polices.
ServiceMonitor as documented https://docs.openshift.com/container-platform/4.2/serverless/monitoring-serverless.html should continue to work.