Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken install if kuberhealthy is enabled #222

Open
cizara opened this issue Jun 22, 2022 · 1 comment
Open

Broken install if kuberhealthy is enabled #222

cizara opened this issue Jun 22, 2022 · 1 comment

Comments

@cizara
Copy link

cizara commented Jun 22, 2022

Following the basic install in Google Cloud breaks with this error:

module.jx.module.cluster.kubernetes_config_map.jenkins_x_requirements[0]: Creation complete after 1s [id=default/terraform-jx-requirements]
module.jx.module.cluster.helm_release.jx-git-operator[0]: Creating...
module.jx.module.cluster.helm_release.jx-git-operator[0]: Still creating... [10s elapsed]
module.jx.module.cluster.helm_release.jx-git-operator[0]: Still creating... [20s elapsed]
module.jx.module.cluster.helm_release.jx-git-operator[0]: Still creating... [30s elapsed]
module.jx.module.cluster.helm_release.jx-git-operator[0]: Creation complete after 31s [id=jx-git-operator]
╷
│ Error: failed to install CRD crds/khcheck.yaml: unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
│ 
│   with module.jx.module.cluster.module.jx-health[0].helm_release.kuberhealthy,
│   on .terraform/modules/jx.cluster.jx-health/main.tf line 1, in resource "helm_release" "kuberhealthy":
│    1: resource "helm_release" "kuberhealthy" {
│ 
╵

Seems to be related to jenkins-x/terraform-jx-health#5. With kuberhealthy = false, the installation finished successfully

@cizara
Copy link
Author

cizara commented Jun 23, 2022

manually installing kuberhealthy chart version 87 seems to work. I also have to install the jx health checks (removing https://github.com/jenkins-x-plugins/jx-kh-check/blob/main/charts/jx-kh-check/templates/jx-install-check.yaml#L23)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant