kubeshop / monokle-core

Monokle validation engine, CLI and shared UI components
MIT License
18 stars 3 forks source link

feat: add ValidatingAdmissionPolicy references #531

Closed WitoDelnat closed 1 year ago

WitoDelnat commented 1 year ago

This PR adds references for Binding.policyName -> Policy.metadata.name and Binding.paramsRef.name -> ParamsKind.metadata.name.

The params do not use the standard framework as it requires referencing the Policy to find the referenced Params which is a special case. Expanding the framework for this special edge case would complicate it too much so I kept it on the side.

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 30f2e958396898b61dccdebbbc490b495d62604b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | ------------------- | ----- | | @monokle/validation | Minor | | monaco-kubernetes | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR