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

dev to stable #7290

Merged
merged 3 commits into from
Apr 11, 2024
Merged

dev to stable #7290

merged 3 commits into from
Apr 11, 2024

Commits on Apr 9, 2024

  1. PlatformCredentialsSet: configure spec.preserveUnknownFields=false

    Explicitly set `preserveUnknownFields: false` to enable strict
    CRD validation and prohibit unknown fields in test environment first.
    
    Conversion of CRD from v1beta1 to v1 (see #2991) resulted in
    `preserveUnknownFields: true`:
    ```
    $ kubectl --context=example get crd platformcredentialssets.zalando.org -o yaml | grep preserveUnknownFields
      preserveUnknownFields: true
        message: 'spec.preserveUnknownFields: Invalid value: true: must be false'
    ```
    and requires explicit false value to reset.
    
    See also kubernetes-sigs/controller-tools#476 (comment)
    
    Signed-off-by: Alexander Yastrebov <[email protected]>
    AlexanderYastrebov committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    1376c9b View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2024

  1. Merge pull request #7284 from zalando-incubator/pcs/preserveUnknownFi…

    …elds-false
    
    PlatformCredentialsSet: configure spec.preserveUnknownFields=false
    AlexanderYastrebov authored Apr 10, 2024
    Configuration menu
    Copy the full SHA
    de32a97 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    499dc80 View commit details
    Browse the repository at this point in the history