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

Bug: Kargo Cannot Render Manifests with Same Name #313

Open
4 tasks done
BenjaminNeale-Heritage opened this issue Sep 11, 2024 · 1 comment
Open
4 tasks done

Bug: Kargo Cannot Render Manifests with Same Name #313

BenjaminNeale-Heritage opened this issue Sep 11, 2024 · 1 comment

Comments

@BenjaminNeale-Heritage
Copy link
Contributor

BenjaminNeale-Heritage commented Sep 11, 2024

Checklist

  • I've searched the issue queue to verify this is not a duplicate bug report.
  • I've included steps to reproduce the bug.
  • I've pasted the output of kargo version.
  • I've pasted logs, if applicable.

Description

If there are multiple manifests of the same kind with the same name but in different namespaces then Kargo Render will only save one of those manifest files to the Rendered Manifest branch. This is happening because the rendered manifests are generated with names formatted like "<manifest_name>-.yaml" which does not include the namespace. Some products like Open Cluster Management/Red Hat Advanced Cluster Management have strict requirements for the name.

Screenshots

Thi screenshot shows the input manifest files (view code in https://github.com/BenjaminNeale-Heritage/manifests-overwritten/tree/main/components/rhacm/resources/overlays/hub-cluster).
image

Thi screenshot shows the rendered manifest files (view code in https://github.com/BenjaminNeale-Heritage/manifests-overwritten/tree/cluster/hub-cluster/components/rhacm).
image

Steps to Reproduce

View config within the https://github.com/BenjaminNeale-Heritage/manifests-overwritten repository.

Version

uses: akuity/[email protected]

Logs

N/A

@BenjaminNeale-Heritage BenjaminNeale-Heritage changed the title Kargo Cannot Render Manifests with Same Name Bug: Kargo Cannot Render Manifests with Same Name Sep 11, 2024
@sgarlick987
Copy link

Just ran into this as well. Our case was managing namespaces and a service account with the same name in each. To work around we've changed the service account name to be different between the namespaces. Another workaround would be to enable the combine manifests option so you just have all.yaml.

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

2 participants