Support yaml manifest generation.
The previous generate command enabled workflows such as (the documented one of) Argo CD. Could the ability to write manifests out to stdout or disk be restored?
Hi @tmc !
AFAIK, what we have right now is kfctl build, which generates a kustomize folder with all the kustomize applications.
Argo CD supports kustomize applications so maybe you want to try it that way.
Just point to the generated kustomization file on the top level of each folder (eg istio/kustomization.yaml).
Would that work for you? If not you could generate the yaml with kustomize and use those. Make sure to use the same version as kfctl.
Finally, if you think generating yaml in kfctl makes more sense, let's use this issue as a feature request.
Isn't it the case that kfctl build creates many kustomize applications? With my current configuration I appear to need to set up 29 different argo apps which seems unreasonable.
Isn't it the case that kfctl build creates many kustomize applications? With my current configuration I appear to need to set up 29 different argo apps which seems unreasonable.
It's true that there are a lot fo applications, I don't know how hard it is to set them up in argo.
If you want to generate the YAML manually you can iterate through the directories under $KFAPP/kustomize and do a kustomize build kustomize/<app_name>.
Make sure to use the same kustomize version as kfctl.
/cc @gabrielwen @jlewi for the feature request