Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Custom Resource error message #52

Closed
philrogers opened this issue Dec 16, 2020 · 1 comment · Fixed by #53
Closed

Custom Resource error message #52

philrogers opened this issue Dec 16, 2020 · 1 comment · Fixed by #53
Assignees
Labels
bug Something isn't working community

Comments

@philrogers
Copy link

When attempting to apply
kubectl apply -f https://raw.githubusercontent.com/Orange-OpenSource/nifikop/master/deploy/crds/v1/nifi.orange.com_nificlusters_crd.yaml

The error message below is returned
The CustomResourceDefinition "nificlusters.nifi.orange.com" is invalid: spec.validation.openAPIV3Schema.properties[spec].properties[initContainers].items.properties[ports].items.properties[protocol].default: Required value: this property is in x-kubernetes-list-map-keys, so it must have a default or be a required property

kubectl version
Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.0", GitCommit:"af46c47ce925f4c4ad5cc8d1fca46c7b77d13b38", GitTreeState:"clean", BuildDate:"2020-12-08T17:59:43Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.0", GitCommit:"af46c47ce925f4c4ad5cc8d1fca46c7b77d13b38", GitTreeState:"clean", BuildDate:"2020-12-08T17:51:19Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}

[root@k8-1 v1]# kubelet --version
Kubernetes v1.20.0

@philrogers
Copy link
Author

Looks like this was fixed at #36 but as yet the kubectl apply -f https://raw.githubusercontent.com/Orange-OpenSource/nifikop/master/deploy/crds/v1/nifi.orange.com_nificlusters_crd.yaml

Still pulls the broken version

@erdrix erdrix self-assigned this Dec 18, 2020
@erdrix erdrix added bug Something isn't working community labels Dec 18, 2020
@erdrix erdrix linked a pull request Jan 6, 2021 that will close this issue
5 tasks
@erdrix erdrix closed this as completed in #53 Jan 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working community
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants