helm / helm/helm

`dependencies` ordering

Open
#32,119 9 comments 0 reactions 0 assignees View on GitHub
question/support
Dominant language
Go
Stars
30.2k
Forks
7.8k
Avg merge
20h 58m
Merged PRs (30d)
36

Description

### What happened?

I want to `helm install` customized https://github.com/cloudnative-pg/charts chart and hits a missing-CRDs error. I have the following dependencies defined in `Chart.yml`:
```
dependencies:
- name: cloudnative-pg
version: "v0.28.0"
repository: https://cloudnative-pg.github.io/charts
- name: cluster
version: "v0.6.0"
repository: https://cloudnative-pg.github.io/charts
```
and `helm install` hits this error:
```
$ helm install postgresql-cluster PostgreSQL_Cluster/
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "postgresql-cluster" namespace: "default" from "": no matches for kind "Cluster" in version "postgresql.cnpg.io/v1"
ensure CRDs are installed first
```

### What did you expect to happen?

`helm install` the dependencies in listed ordering.

### How can we reproduce it (as minimally and precisely as possible)?

`helm install` this chart: https://github.com/khteh/Kubernetes/tree/master/PostgreSQL/PostgreSQL_Cluster

### Helm version

```console
$ helm version
version.BuildInfo{Version:"v3.20.0", GitCommit:"b2e4314fa0f229a1de7b4c981273f61d69ee5a59", GitTreeState:"clean", GoVersion:"go1.25.6"}
```

### Kubernetes version

```console
$ kubectl version
clientVersion:
buildDate: "2025-12-18T08:37:08Z"
compiler: gc
gitCommit: 66452049f3d692768c39c797b21b793dce80314e
gitTreeState: clean
gitVersion: v1.35.0
goVersion: go1.25.5
major: "1"
minor: "35"
platform: linux/amd64
kustomizeVersion: v5.7.1
serverVersion:
buildDate: "2025-12-18T08:38:08Z"
compiler: gc
emulationMajor: "1"
emulationMinor: "35"
gitCommit: 66452049f3d692768c39c797b21b793dce80314e
gitTreeState: clean
gitVersion: v1.35.0
goVersion: go1.25.5
major: "1"
minCompatibilityMajor: "1"
minCompatibilityMinor: "34"
minor: "35"
platform: linux/amd64
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.