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

Workload ID: Introduce basic rule condition operators #50940

Merged

Conversation

strideynet
Copy link
Contributor

@strideynet strideynet commented Jan 10, 2025

Part of #44006

Following gravitational/protoc-gen-terraform#47 - we can now use oneof in RFD153 resources and still generate a Terraform resource.

Moving a single field into a protobuf oneof should hypothetically be non-breaking - https://protobuf.dev/programming-guides/proto3/#backward

Copy link

github-actions bot commented Jan 10, 2025

Amplify deployment status

Branch Commit Job ID Status Preview Updated (UTC)
strideynet/use-oneof-for-rule-conditions-workload-id 79d181d 8 ✅SUCCEED strideynet-use-oneof-for-rule-conditions-workload-id 2025-01-10 15:48:27

@strideynet strideynet force-pushed the strideynet/use-oneof-for-rule-conditions-workload-id branch from f4e9b4b to c7e5c7b Compare January 10, 2025 14:08
@strideynet strideynet added backport/branch/v16 backport/branch/v17 no-changelog Indicates that a PR does not require a changelog entry labels Jan 10, 2025
@strideynet strideynet changed the title Workload ID: Use OneOf for Rule Conditions Workload ID: Introduce basic rule condition operators Jan 10, 2025
@strideynet strideynet marked this pull request as ready for review January 10, 2025 16:51
@github-actions github-actions bot added documentation size/lg tctl tctl - Teleport admin tool labels Jan 10, 2025
@marcoandredinis marcoandredinis removed their request for review January 10, 2025 17:18
@strideynet strideynet added this pull request to the merge queue Jan 10, 2025
Merged via the queue into master with commit ccc6393 Jan 10, 2025
53 checks passed
github-merge-queue bot pushed a commit that referenced this pull request Jan 10, 2025
* Pull condition operators into a one of

* Add wrapper structs to support repeated

* Adjust for new protos

* Fix tflint

* Start fixing tests

* Add more test cases

* More test cases

* Fix marshalling of resource

* Fix test in lib/services
@strideynet strideynet deleted the strideynet/use-oneof-for-rule-conditions-workload-id branch January 10, 2025 21:34
@public-teleport-github-review-bot

@strideynet See the table below for backport results.

Branch Result
branch/v16 Failed
branch/v17 Failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/branch/v16 backport/branch/v17 documentation no-changelog Indicates that a PR does not require a changelog entry size/lg tctl tctl - Teleport admin tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants