0

I want to customize a helm chart with kustomize. To start with this topic, I followed their tutorial on GItHub and created a chart like they did in the tutorial. But when I try to build the chart with kustomize build ./base, I get this error:

Error: json: unknown field "helm-charts"

So what am I doing wrong?

I also found a another plugin for helm in the docs, but the example from this plugin doesn't work eather.

8bit
  • 528
  • 2
  • 6
  • 25
  • What version of `kustomize` are you using? Can you show us your actual `kustomization.yaml` file? – larsks Oct 25 '21 at 19:00
  • 1
    Take a look at [this example](https://github.com/thomastaylor312/advanced-helm-demos/tree/master/post-render). It using customize for Helm [post-renderer feature](https://helm.sh/docs/topics/advanced/#post-rendering) – Artem Oct 25 '21 at 19:36

1 Answers1

1

Problem was the kustomze version. As I'm running opensuse, I installed kustomize with zypper. But kustomize version didn't show a real version. So now I removed the version provided by zypper and downloaded the binary from the github release page and its working.

8bit
  • 528
  • 2
  • 6
  • 25