-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.
Description
What happened?
Upgrading to 5.0.2 breaks helmCharts + chartHome. (which works fine in 5.0.1)
steps to reproduce:
$ cat kustomization.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
helmGlobals:
chartHome: charts
helmCharts:
- releaseName: minecraft
namespace: default
name: minecraft
version: 3.1.3
includeCRDs: true
$ ls
charts kustomization.yaml
$ ls charts/
minecraft minecraft-3.1.3.tgz
$ ~/bin/kustomize.5.0.1 build --enable-helm
apiVersion: v1
data:
rcon-password: Q0hBTkdFTUUh
kind: Secret
metadata:
labels:
app: minecraft-minecraft
chart: minecraft-3.1.3
heritage: Helm
release: minecraft
name: minecraft-minecraft
type: Opaque
---
apiVersion: v1
kind: Service
metadata:
labels:
app: minecraft-minecraft
chart: minecraft-3.1.3
heritage: Helm
release: minecraft
name: minecraft-minecraft
spec:
ports:
- name: minecraft
port: 25565
protocol: TCP
targetPort: minecraft
selector:
app: minecraft-minecraft
type: ClusterIP
$ ~/bin/kustomize.5.0.1 version
v5.0.1
$ ~/bin/kustomize.5.0.2 build --enable-helm
Error: no repo specified for pull, no chart found at ''
$ ~/bin/kustomize.5.0.2 version
v5.0.2
$
What did you expect to happen?
kustomize build succeeds.
How can we reproduce it (as minimally and precisely as possible)?
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
helmGlobals:
chartHome: charts
helmCharts:
- releaseName: minecraft
namespace: default
name: minecraft
version: 3.1.3
includeCRDs: true
Expected output
apiVersion: v1
data:
rcon-password: Q0hBTkdFTUUh
kind: Secret
metadata:
labels:
app: minecraft-minecraft
chart: minecraft-3.1.3
heritage: Helm
release: minecraft
name: minecraft-minecraft
type: Opaque
---
apiVersion: v1
kind: Service
metadata:
labels:
app: minecraft-minecraft
chart: minecraft-3.1.3
heritage: Helm
release: minecraft
name: minecraft-minecraft
spec:
ports:
- name: minecraft
port: 25565
protocol: TCP
targetPort: minecraft
selector:
app: minecraft-minecraft
type: ClusterIP
Actual output
Error: no repo specified for pull, no chart found at ''
Kustomize version
5.0.2
Operating system
Linux
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.