jx
jx copied to clipboard
Error on bootstrapping jx
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.
Disable kuberhealthy deployment. Not sure if ur using eks, but the module has an option to disable it.
Is this on kubernetes 1.22? Try to use 1.21