Skip to content

Broken install if kuberhealthy is enabled #222

@cizara

Description

@cizara

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions