Repository navigation
Update controller-tools to correctly set x-kubernetes-preserve-unknown-fields - #1946
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: munnerz The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
da4b52f to
a2a140c
Compare
|
/retest |
|
Waiting on kubernetes-sigs/controller-tools#277 |
…rectly Signed-off-by: James Munnelly <[email protected]>
a2a140c to
534e36e
Compare
|
/test pull-cert-manager-e2e-v1-16 |
|
WDYT about adding this into the v0.11 milestone @JoshVanL? It appears to have changed a few fields in the CRD manifests, but they seem fairly benign and I think are from regular maintenance/updates in controller-tools. Adding milestone so we remember to discuss tomorrow 😄 /milestone v0.11 |
|
/lgtm |
|
/hold cancel |
|
/retest |
|
@munnerz: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
/retest |
|
not sure if it's related to this change: |
|
I also met above problem: Tried to change release-0.11 to release-0.10 and succeeded: |
|
Yes this is related - you either need Kubernetes 1.15, or otherwise to set
the —validate=false flag when submitting the manifests with ‘kubectl
apply’. Please DO NOT use an older version of the CRDs with a newer version
of cert-manager.
…On Sun, 6 Oct 2019 at 07:10, uzxmx ***@***.***> wrote:
I also met above problem:
$ kubectl apply -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.11/deploy/manifests/00-crds.yaml
error: error validating "https://raw.githubusercontent.com/jetstack/cert-manager/release-0.11/deploy/manifests/00-crds.yaml": error validating data: ValidationError(CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.solver.properties.dns01.properties.webhook.properties.config): unknown field "x-kubernetes-preserve-unknown-fields" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps; if you choose to ignore these errors, turn validation off with --validate=false
Tried to change release-0.11 to release-0.10 and succeeded:
$ kubectl apply -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.10/deploy/manifests/00-crds.yaml
customresourcedefinition.apiextensions.k8s.io/certificaterequests.certmanager.k8s.io createdcustomresourcedefinition.apiextensions.k8s.io/certificates.certmanager.k8s.io createdcustomresourcedefinition.apiextensions.k8s.io/challenges.certmanager.k8s.io createdcustomresourcedefinition.apiextensions.k8s.io/clusterissuers.certmanager.k8s.io createdcustomresourcedefinition.apiextensions.k8s.io/issuers.certmanager.k8s.io createdcustomresourcedefinition.apiextensions.k8s.io/orders.certmanager.k8s.io created
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1946>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABRWPZJBO72BLR5GDF3SNDQNF6MZANCNFSM4IIQESTQ>
.
|
|
Maybe the documentation should be updated accordingly? I just ran into the issue and disabling validation doesn't feel expected when you use manifests. |
|
On kubernetes 1.13 when using --validate=false, it results into getting an error from cert-manager-cainjector, upon starting:
|
What this PR does / why we need it:
Bumps our controller-tools dependency to correctly set the type/extensions for the 'raw JSON' field we have as part of the DNS01 webhook provider config.
Release note: