Skip to content

feat: Add ValidatingAdmissionPolicyBinding resource#2824

Open
MGSousa wants to merge 2 commits intohashicorp:mainfrom
MGSousa:main
Open

feat: Add ValidatingAdmissionPolicyBinding resource#2824
MGSousa wants to merge 2 commits intohashicorp:mainfrom
MGSousa:main

Conversation

@MGSousa
Copy link

@MGSousa MGSousa commented Jan 4, 2026

Rollback Plan

If a change needs to be reverted, we will publish an updated version of the library.

Changes to Security Controls

Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.

Description

This PR implements the missing ValidatingAdmissionPolicyBinding to bind with ValidatingAdmissionPolicy

Acceptance tests

  • Have you added an acceptance test for the functionality being added?
  • Have you run the acceptance tests on this branch?

Output from acceptance testing:

$ make frameworkaccTESTARGS='-run ^TestAccValidatingAdmissionPolicyBinding'
=== RUN   TestAccValidatingAdmissionPolicyBinding_basic
=== PAUSE TestAccValidatingAdmissionPolicyBinding_basic
=== RUN   TestAccValidatingAdmissionPolicyBinding_withMatchResources
=== PAUSE TestAccValidatingAdmissionPolicyBinding_withMatchResources
=== RUN   TestAccValidatingAdmissionPolicyBinding_update
=== PAUSE TestAccValidatingAdmissionPolicyBinding_update
=== CONT  TestAccValidatingAdmissionPolicyBinding_basic
=== CONT  TestAccValidatingAdmissionPolicyBinding_update
=== CONT  TestAccValidatingAdmissionPolicyBinding_withMatchResources
--- PASS: TestAccValidatingAdmissionPolicyBinding_withMatchResources (2.78s)
--- PASS: TestAccValidatingAdmissionPolicyBinding_update (3.63s)
--- PASS: TestAccValidatingAdmissionPolicyBinding_basic (3.75s)
PASS
ok  	github.com/hashicorp/terraform-provider-kubernetes/internal/framework/provider/admissionregistrationv1	 3.786s
...

Release Note

Release note for CHANGELOG:

...

References

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

@MGSousa MGSousa requested a review from a team as a code owner January 4, 2026 12:24
@hashicorp-cla-app
Copy link

hashicorp-cla-app bot commented Jan 4, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments