evryfs/github-actions-runner-operator

Installation fails

Closed this issue · 4 comments

Hello. I tried to install on my Kubernetes cluster but it returned the following error.

$ helm install github-actions-runner-operator evryfs-oss/github-actions-runner-operator --namespace github-actions-runner-operator
Error: failed to install CRD crds/garo.tietoevry.com_githubactionrunners.yaml: CustomResourceDefinition.apiextensions.k8s.io "githubactionrunners.garo.tietoevry.com" is invalid: [spec.validation.openAPIV3Schema.properties[spec].properties[podTemplateSpec].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, spec.validation.openAPIV3Schema.properties[spec].properties[podTemplateSpec].properties[spec].properties[containers].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]

what version of k8s?

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.2", GitCommit:"f5743093fd1c663cb0cbc89748f730662345d44d", GitTreeState:"clean", BuildDate:"2020-09-19T09:16:25Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.3", GitCommit:"1e11e4a2108024935ecfcb2912226cedeafd99df", GitTreeState:"clean", BuildDate:"2020-10-14T12:41:49Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/arm64"}

should be fixed with the latest chart - you might have to apply the crd by hand: kubectl apply -f https://raw.githubusercontent.com/evryfs/helm-charts/master/charts/github-actions-runner-operator/crds/garo.tietoevry.com_githubactionrunners.yaml