kubernetes-helmkustomizefluxcd

How could I preview the final result when applying kustomizations to a git repo with helm templates?


I have a git repo with helm charts, and a git repo per environment with kustomizations for those charts. All of this in working great with flux. But I don't know how to "preview" my changes to the kustomization files.

Let's say I edit the dev environment kustomization, can I preview what the final yaml file will look like ?


Solution

  • You can have a look at 2 different commands:

    As Flux Kustomization only points to a standard kustomize file, you can use the kustomize build to see the manifests.

    PS: For helm, check out helm template