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

kube-1.16 to kube-1.16-alpha #2991

Merged
merged 10 commits into from
Feb 17, 2020
Merged

Conversation

zalando-teapot-robot
Copy link
Contributor

@zalando-teapot-robot zalando-teapot-robot commented Feb 17, 2020

No feature PRs.

@mikkeloscar
Copy link
Contributor

Ref: #2774

@mikkeloscar
Copy link
Contributor

👍

1 similar comment
@gargravarr
Copy link
Contributor

👍

@gargravarr gargravarr merged commit 4fbb136 into kube-1.16-alpha Feb 17, 2020
@gargravarr gargravarr deleted the kube-1.16-to-kube-1.16-alpha branch February 17, 2020 12:50
AlexanderYastrebov added a commit that referenced this pull request Apr 9, 2024
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants