Replies: 2 comments
-
I checked the code and it looks to me that it should be easy to add, following what exist for example for namespaces or patches: https://github.com/fluxcd/pkg/blob/main/kustomize/kustomize_generator.go#L159 |
Beta Was this translation helpful? Give feedback.
0 replies
-
For the record, this has been implemented. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm deploying multiple instances of an app that is deployed using kustomize. Following the great documentation here https://fluxcd.io/flux/faq/#should-i-be-using-kustomize-remote-bases, I decided to leverage OCI artifacts.
Basically I have artifacts available and I want to deploy multiple version of my app using different OCI artifact version (so different OCIRepository objects).
Before moving to fluxcd, I setup kustomize "namePrefix" before "kustomize build" on each app instance in order to differentiate them, as they're deployed in the same namespace. fluxcd Kustomization object does not support namePrefix and going through the docs & spec I can't find a work around to achieve this.
How can I achieve the same behavior of kustomize namePrefix when deploying kustomize based application with OCI artifacts?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions