jx icon indicating copy to clipboard operation
jx copied to clipboard

Error on bootstrapping jx

Open newbenji opened this issue 2 years ago • 2 comments

I try follow the manual for installing jenkins x. but i get this error constant

configmap/plugins configured externalsecret.kubernetes-client.io/tekton-container-registry-auth unchanged error validating "config-root/namespaces/jx/jx-kh-check-health-checks-jx/jx-bot-token-kuberhealthycheck.yaml": error validating data: ValidationError(KuberhealthyCheck.spec.podSpec.containers[0]): unknown field "restartPolicy" in io.github.comcast.v1.KuberhealthyCheck.spec.podSpec.containers; if you choose to ignore these errors, turn validation off with --validate=false error validating "config-root/namespaces/jx/jx-kh-check-health-checks-jx/jx-webhook-events-kuberhealthycheck.yaml": error validating data: ValidationError(KuberhealthyCheck.spec.podSpec.containers[0]): unknown field "restartPolicy" in io.github.comcast.v1.KuberhealthyCheck.spec.podSpec.containers; if you choose to ignore these errors, turn validation off with --validate=false error validating "config-root/namespaces/jx/jx-kh-check-health-checks-jx/jx-webhook-kuberhealthycheck.yaml": error validating data: ValidationError(KuberhealthyCheck.spec.podSpec.containers[0]): unknown field "restartPolicy" in io.github.comcast.v1.KuberhealthyCheck.spec.podSpec.containers; if you choose to ignore these errors, turn validation off with --validate=false externalsecret.kubernetes-client.io/tekton-container-registry-auth unchanged make[1]: *** [versionStream/src/Makefile.mk:291: kubectl-apply] Error 1 make[1]: Leaving directory '/workspace/source' error: failed to regenerate: failed to regenerate phase 1: failed to run 'make regen-phase-1' command in directory '.', output: '' make: *** [versionStream/src/Makefile.mk:243: regen-check] Error 1

Any ideas what is wrong.

newbenji avatar Jun 28 '22 13:06 newbenji

Disable kuberhealthy deployment. Not sure if ur using eks, but the module has an option to disable it.

ankitm123 avatar Jun 28 '22 17:06 ankitm123

Is this on kubernetes 1.22? Try to use 1.21

babadofar avatar Jul 22 '22 10:07 babadofar