jx3-gitops-repositories / jx3-kubernetes

Jenkins X 3.x GitOps repository for a vanilla Kubernetes cluster
Apache License 2.0
14 stars 46 forks source link

the path "config-root/customresourcedefinitions" does not exist #8

Closed bvboca closed 3 years ago

bvboca commented 3 years ago
  1. fork the repo to https://github.com/bvboca

  2. Intall jx on on-premise kubenetes 1.18

  3. Install git operator

  4. The jx boot job keeps failing with: jx gitops git setup setup git user email jenkins-x@googlegroups.com generated Git credentials file: /workspace/xdg_config/git/credentials with username: bvboca email: jx gitops apply found last commit message: Merge pull request #1 from bvboca/ChangeNetworkVersion Change network version last commit was a merge pull request without changing an ExternalSecret so not regenerating make regen-none make[1]: Entering directory '/workspace/source' make[1]: Nothing to be done for 'regen-none'. make[1]: Leaving directory '/workspace/source' using kubectl to apply resources kubectl apply --force --prune -l=gitops.jenkins-x.io/pipeline=customresourcedefinitions -R -f config-root/customresourcedefinitions error: the path "config-root/customresourcedefinitions" does not exist make: *** [versionStream/src/Makefile.mk:287: kubectl-apply] Error 1

Console shows:

Change network version last commit was a merge pull request without changing an ExternalSecret so not regenerating make regen-none make[1]: Entering directory '/workspace/source' make[1]: Nothing to be done for 'regen-none'. make[1]: Leaving directory '/workspace/source' using kubectl to apply resources kubectl apply --force --prune -l=gitops.jenkins-x.io/pipeline=customresourcedefinitions -R -f config-root/customresourcedefinitions error: the path "config-root/customresourcedefinitions" does not exist make: *** [versionStream/src/Makefile.mk:287: kubectl-apply] Error 1 boot Job pod jx-boot-0097a7b8-b96c-4005-8881-674f8d819bbd-5qzgp has Failed boot Job jx-boot-0097a7b8-b96c-4005-8881-674f8d819bbd has Failed error: failed to tail the Jenkins X boot Job pods: job jx-boot-0097a7b8-b96c-4005-8881-674f8d819bbd failed

bvboca commented 3 years ago

@jstrachan Hi James, Could you please take a look?

Thanks!

bvboca commented 3 years ago

Opened another to track the issue. https://github.com/jenkins-x/jx/issues/7895