Skip to content
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

policy: add externalWorkloadSelector to Server resource #11899

Merged
merged 2 commits into from
Jan 9, 2024

Conversation

zaharidichev
Copy link
Member

This PR adds the ability for a Server resource to select over ExternalWorkload
resources in addition to Pods. For the time being, only one of these selector types
can be specified. This has been realized via incrementing the version of the resource
to v1beta2

Signed-off-by: Zahari Dichev zaharidichev@gmail.com

Signed-off-by: Zahari Dichev <zaharidichev@gmail.com>
@zaharidichev zaharidichev requested a review from a team as a code owner January 8, 2024 15:01
Signed-off-by: Zahari Dichev <zaharidichev@gmail.com>
@zaharidichev zaharidichev force-pushed the zd/add-external-workload-selector branch from 9c77387 to a0654ec Compare January 8, 2024 17:43
@@ -72,7 +72,9 @@ spec:
default: unknown
- name: v1beta1
served: true
storage: true
storage: false
deprecated: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what are the consequences of deprecating this? will this produce a flood of warning messages in the policy controller when the CRD is upgraded (before the control plane is upgraded)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tried that. Did an upgrade of the CRDS only and did not notice any deprecation warnings.

Copy link
Member

@mateiidavid mateiidavid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏻

@zaharidichev zaharidichev merged commit 5e32446 into main Jan 9, 2024
39 checks passed
@zaharidichev zaharidichev deleted the zd/add-external-workload-selector branch January 9, 2024 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants