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

✨ crd: allow specifying spec.preserveUnknownFields #912

Commits on Apr 15, 2024

  1. crd: allow specifying spec.preserveUnknownFields

    Reinstate crd:preserveUnknownFields option removed by kubernetes-sigs#607
    to allow specifying the value of deprecated spec.preserveUnknownFields
    CRD field.
    
    This is useful for updating CRDs that were automatically converted from
    v1beta1 version which had true as a default value and resulted in:
    ```
    $ kubectl get crd foo.bar -o yaml | grep preserveUnknownFields
      preserveUnknownFields: true
        message: 'spec.preserveUnknownFields: Invalid value: true: must be false'
    ```
    
    For kubernetes-sigs#476
    AlexanderYastrebov committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    2c0f108 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. Configuration menu
    Copy the full SHA
    ef487eb View commit details
    Browse the repository at this point in the history