Actions-runner-controller: The CustomResourceDefinition "runnerdeployments.actions.summerwind.dev" is invalid:

Created on 19 Oct 2020  路  5Comments  路  Source: summerwind/actions-runner-controller

Hi all,
This has been happening for me for a few weeks and I was hoping it was fixed in #123 but no such luck:

master $ kubectl apply -f https://github.com/summerwind/actions-runner-controller/releases/latest/download/actions-runner-controller.yaml
Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply
namespace/actions-runner-system configured
customresourcedefinition.apiextensions.k8s.io/horizontalrunnerautoscalers.actions.summerwind.dev created
The CustomResourceDefinition "runnerdeployments.actions.summerwind.dev" is invalid:
* spec.validation.openAPIV3Schema.properties[spec].properties[template].properties[spec].properties[sidecarContainers].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[template].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
* spec.validation.openAPIV3Schema.properties[spec].properties[template].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
master $

I've tried some debugging (hacking the CRD, use different k8s hosting) but haven't been able to figure it out. Anyone else run into this?

Thanks

Most helpful comment

The latest release, https://github.com/summerwind/actions-runner-controller/releases/tag/v0.9.3 currently does not have the fix in #123 yet.

If you want to try it, install kustomize https://kubernetes-sigs.github.io/kustomize/installation/ and:

git clone https://github.com/summerwind/actions-runner-controller.git
kustomize build config/default > latest.yaml
kubectl apply -f latest.yaml

All 5 comments

The latest release, https://github.com/summerwind/actions-runner-controller/releases/tag/v0.9.3 currently does not have the fix in #123 yet.

If you want to try it, install kustomize https://kubernetes-sigs.github.io/kustomize/installation/ and:

git clone https://github.com/summerwind/actions-runner-controller.git
kustomize build config/default > latest.yaml
kubectl apply -f latest.yaml

@igorbrigadir - thank you so much, it worked!

The latest release, https://github.com/summerwind/actions-runner-controller/releases/tag/v0.9.3 currently does not have the fix in #123 yet.

If you want to try it, install kustomize https://kubernetes-sigs.github.io/kustomize/installation/ and:

git clone https://github.com/summerwind/actions-runner-controller.git
kustomize build config/default > latest.yaml
kubectl apply -f latest.yaml

It's enough to just run make release to create release manifest from master. No need to install anything (except go and make)

It's enough to just run make release to create release manifest from master. No need to install anything (except go and make)

Thank you very much @Hi-Fi - this is a great tip!

It's enough to just run make release to create release manifest from master. No need to install anything (except go and make)

Oh, that's even easier, thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

callum-tait-pbx picture callum-tait-pbx  路  9Comments

Puneeth-n picture Puneeth-n  路  3Comments

naka-gawa picture naka-gawa  路  5Comments

kimxogus picture kimxogus  路  3Comments

jmmaloney4 picture jmmaloney4  路  6Comments