Skip to content

Latest helm chart fails to template with helm v3 #31

Description

@OlivierJavaux
$ helm version
version.BuildInfo{Version:"v3.18.4", GitCommit:"d80839cf37d860c8aa9a0503fe463278f26cd5e2", GitTreeState:"clean", GoVersion:"go1.24.4"}

$ helm template test .
Error: template: public-cloud-databases-operator/templates/deployment.yaml:8:14: executing "public-cloud-databases-operator/templates/deployment.yaml" at <include "public-cloud-databases-operator.chart" .>: error calling include: template: no template "public-cloud-databases-operator.chart" associated with template "gotpl"

Use --debug flag to render out invalid YAML

public-cloud-databases-operator.chart is not defined in templates/_helpers.tpl.

$ cat Chart.yaml
annotations:
  kubebuilder.io/generated-by: kubebuilder
apiVersion: v2
appVersion: v1.0.7
description: OVHcloud databases operator
keywords:
- kubernetes
- operator
name: public-cloud-databases-operator
type: application
version: 0.1.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions