Search code examples
kuberneteskubernetes-helm

How to get the manifest file with all values populated from helm chart?


Is there a way to obtain the manifest file from a helm chart? The manifest file needs to be able to run just like a helm install. This will need to have all values populated and aggregated into one manifest file for kubectl apply -f


Solution

  • If I heard you properly, then my answer is: you can. And it is helm template cmd. See

    $ helm template --help
    
    Render chart templates locally and display the output.
    
    Any values that would normally be looked up or retrieved in-cluster will be
    faked locally. Additionally, ...