How to make a predefined Kustomization yaml work after create the git source #941
-
I am trying to play fluxcd without using bootstrap. I am using install and create source git command to connect fluxcd to my git repo, like the following.
Then i use create kustomization command .
And under staging folder, i have two files.
It worked. But i am expecting in some way, a Kustomization with the name apprelease will be created by fluxcd. But i only got a Kustomization created by command line.
So what am i missing here? Is there a way to tell fluxcd to use the predefined kustomize ? How to connect the command created Kustomization to a predefined yaml? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
The path is relative to the source root, see here an example https://github.com/fluxcd/flux2-kustomize-helm-example/blob/main/clusters/staging/apps.yaml |
Beta Was this translation helpful? Give feedback.
The path is relative to the source root, see here an example https://github.com/fluxcd/flux2-kustomize-helm-example/blob/main/clusters/staging/apps.yaml