cloudfoundry / cf-for-k8s

The open source deployment manifest for Cloud Foundry on Kubernetes
Apache License 2.0
300 stars 115 forks source link

Add network policy for eirini webhook registration job #611

Closed kieron-dev closed 3 years ago

kieron-dev commented 3 years ago

WHAT is this change about?

Eirini has split the instance-index-env-injector component into a webhook registration job and a webhook service deployment to facilitate scaling and to remove cluster permissions from the webhook service.

The webhook service requires network to and from the control plane as before, so the eirini-instance-index-env-injector network policy is being left as is. The new registration job requires outbound network access to the control plane so we are adding this new network policy targeting the job.

This change is required to support versions of eirini > v2.0.0.

Story: https://www.pivotaltracker.com/story/show/175878489

Does this PR introduce a change to config/values.yml?

No

Acceptance Steps

Tag your pair, your PM, and/or team

@cloudfoundry/eirini

cf-gitbot commented 3 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/176496309

The labels on this github issue will be updated when the story is started.

linux-foundation-easycla[bot] commented 3 years ago

CLA Signed

The committers are authorized under a signed CLA.

cf-rel-int-status-bot commented 3 years ago

Hello friend, it looks like your pull request has failed one or more of our checks. Please take a look! :eyes: