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

✨ Add ValidatingAdmissionPolicy to enforce package uniqueness across ClusterExtension #774

Merged

Commits on Apr 23, 2024

  1. Add ValidatingAdmissionPolicy

    To enforce package uniqueness across `ClusterExtension`
    
    Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
    m1kola committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    145a376 View commit details
    Browse the repository at this point in the history
  2. Kustomize ValidatingAdmissionPolicyBinding

    This is a workaround for kustomize issue where it does not prefix
    `ValidatingAdmissionPolicy`'s name in `ValidatingAdmissionPolicyBinding`'s
    field `spec.policyName`. This results in manifests which can still be
    applied to a cluster, but the policy will not be working due to
    broken policy binding.
    
    These APIs are now stable in 1.30 so one might expect that Kustomize
    will eventually support these by default. If this happens - we will
    be able to remove this change.
    
    Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
    m1kola committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    e59ab41 View commit details
    Browse the repository at this point in the history