cmd/k8s-operator,k8s-operator: define ProxyGroupPolicy reconciler#18654
Merged
davidsbond merged 1 commit intomainfrom Feb 18, 2026
Merged
cmd/k8s-operator,k8s-operator: define ProxyGroupPolicy reconciler#18654davidsbond merged 1 commit intomainfrom
davidsbond merged 1 commit intomainfrom
Conversation
e923195 to
2b6f02a
Compare
2b6f02a to
dc66511
Compare
BeckyPauley
reviewed
Feb 16, 2026
This commit implements a reconciler for the new `ProxyGroupPolicy` custom resource. When created, all `ProxyGroupPolicy` resources within the same namespace are merged into two `ValidatingAdmissionPolicy` resources, one for egress and one for ingress. These policies use CEL expressions to limit the usage of the "tailscale.com/proxy-group" annotation on `Service` and `Ingress` resources on create & update. Included here is also a new e2e test that ensures that resources that violate the policy return an error on creation, and that once the policy is changed to allow them they can be created. Closes: tailscale/corp#36830 Signed-off-by: David Bond <davidsbond93@gmail.com>
dc66511 to
281b5d0
Compare
BeckyPauley
approved these changes
Feb 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit implements a reconciler for the new
ProxyGroupPolicycustom resource. When created, all
ProxyGroupPolicyresourceswithin the same namespace are merged into two
ValidatingAdmissionPolicyresources, one for egress and one for ingress.
These policies use CEL expressions to limit the usage of the
"tailscale.com/proxy-group" annotation on
ServiceandIngressresources on create & update.
Included here is also a new e2e test that ensures that resources that
violate the policy return an error on creation, and that once the
policy is changed to allow them they can be created.
Closes: https://github.com/tailscale/corp/issues/36830