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

ValidationError(CustomResourceDefinition) when trying to install kubeflow pipelines on k8s cluster #2397

Closed
robotaref opened this issue Feb 17, 2023 · 3 comments

Comments

@robotaref
Copy link

When i try to run the provided script for installation of Kubeflow pipelines provided here, i get this error:

> kustomize build apps/pipeline/upstream/env/cert-manager/platform-agnostic-multi-user | kubectl apply -f -

# Warning: 'bases' is deprecated. Please use 'resources' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
# Warning: 'vars' is deprecated. Please use 'replacements' instead. [EXPERIMENTAL] Run 'kustomize edit fix' to update your Kustomization automatically.
# Warning: 'bases' is deprecated. Please use 'resources' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
# Warning: 'bases' is deprecated. Please use 'resources' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
# Warning: 'patchesJson6902' is deprecated. Please use 'patches' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
# Warning: 'bases' is deprecated. Please use 'resources' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
# Warning: 'patchesStrategicMerge' is deprecated. Please use 'patches' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
error: error validating "STDIN": error validating data: ValidationError(CustomResourceDefinition): unknown field "2023/02/18 00:57:05 well-defined vars that were never replaced" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition; if you choose to ignore these errors, turn validation off with --validate=false
make: *** [install-kubeflow-pipelines] Error 1

Running the deprecated and insecure PNS executor outputs the same results.

@kimwnasptd
Copy link
Member

@robotaref this is because you are using Kustomize 5

The following 2 should be helpful #2388 (comment) #2399

@juliusvonkohout
Copy link
Member

/close

kustomize 5 is now the default and works

Copy link

@juliusvonkohout: Closing this issue.

In response to this:

/close

kustomize 5 is now the default and works

Instructions 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants