Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proposed feature: more flexibility in "kustomize edit set image" #2001

Open
krancour opened this issue May 13, 2024 · 0 comments
Open

proposed feature: more flexibility in "kustomize edit set image" #2001

krancour opened this issue May 13, 2024 · 0 comments

Comments

@krancour
Copy link
Member

krancour commented May 13, 2024

From #1981:

@Brightside56 Kargo Render passes images to the Argo CD Repo Server (which it uses as a library) i the form url=tag. Somewhere under the covers, the Argo CD Repo Server executes a kustomize edit set image url=tag. For Kargo's built-in Kustomize support, Kargo executes kustomize edit set image url=tag more directly...

I see your issue is that the image URL varies from Stage to Stage.

I believe your case can be addressed by adding more options to both Kargo Render and to Kargo's built-in Kustomize support such that the resulting command resembles this: kustomize edit set image placeholder-url=stage-specific-url:tag where placeholder-url and stage-specific-url are both things you specific in your promotion mechanisms on a Stage-by-Stage basis, which will leave the tag as the only part of the Freight that is applied from one Stage to the next.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant