Skip to content

Upgrade Helm Charts to support Helm 3 and deprecate Helm 2 #367

Open
@rastislav-vcrs

Description

@rastislav-vcrs

Currently helm charts produced by this repository support Helm 2, which is deprecated and should not be used. Unfortunately, they are not very well compatible with Helm 3 and fail to install using Terraform Helm provider's helm_release which supports only Helm 3.

Chart fails to install due to internal CRD resolution:

module.cloud.helm_release.base_cloud: Creating...
╷
│ Error: unable to build kubernetes objects from release manifest: [resource mapping not found for name: "token-vendor" namespace: "" from "": no matches for kind "AppRollout" in version "apps.cloudrobotics.com/v1alpha1"
│ ensure CRDs are installed first, resource mapping not found for name: "fluentd-metrics" namespace: "kube-system" from "": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"
│ ensure CRDs are installed first, resource mapping not found for name: "nginx-ingress-controller-metrics" namespace: "" from "": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"
│ ensure CRDs are installed first]
│ 
│   with module.cloud.helm_release.base_cloud,
│   on ../../../infrastructure/gcp/terraform/deployment-resources/intrinsic-dsm/robot-infra/main.tf line 57, in resource "helm_release" "base_cloud":
│   57: resource "helm_release" "base_cloud" {
│ 
╵

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