Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Supporting Ingress policies. #15

Merged
merged 4 commits into from
May 4, 2021
Merged

Supporting Ingress policies. #15

merged 4 commits into from
May 4, 2021

Conversation

MrTrustor
Copy link
Member

@MrTrustor MrTrustor commented Mar 29, 2021

Current status of PR: I only have the API definition for now. There is no implementation yet. Ready for review

To support Ingress policies, we need to modify a bit the API, so we introduce a v1alpha2.
It adds the "ingress" section to the CRD, but also a policyType like the one used in NetworkPolicies.
The behaviour of that policyType makes this a non-backward compatible change.

In theory, we could support both v1alpha1 and v1alpha2 in parallel, but that seems a lot of hassle for not many advantages.

Fixes #7

To support Ingress policies, we need to modify a bit
the API, so we introduce a v1alpha2.
It adds the "ingress" section to the CRD, but also
a policyType like the one used in NetworkPolicies.
The behavior of that policyType makes this a non-backward
compatible change.

This commit only introduces the new API. There is no
actual implementation yet.
@MrTrustor MrTrustor added this to the 0.2 milestone Mar 29, 2021
@MrTrustor MrTrustor added the enhancement New feature or request label Mar 29, 2021
@MrTrustor MrTrustor self-assigned this Mar 29, 2021
@MrTrustor MrTrustor marked this pull request as ready for review April 27, 2021 10:50
@MrTrustor MrTrustor requested a review from thesmiler April 27, 2021 10:51
@MrTrustor
Copy link
Member Author

@thesmiler This is ready for your review

@thesmiler
Copy link
Contributor

LGTM

@thesmiler thesmiler merged commit d0ab0a6 into main May 4, 2021
@MrTrustor MrTrustor deleted the ingress-policies branch May 4, 2021 14:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Ingress policies
2 participants