Conversation
Signed-off-by: neevnuv <neevnuv@gmail.com>
Signed-off-by: neevnuv <neevnuv@gmail.com>
60d9d32 to
a105ab2
Compare
|
Hi @MinerYang, I would love if you could give this PR a view 😁. |
|
Hi @neevnuv , Thanks for contribution to harbor-helm. By getting some contexts of using However, I will keep this PR open and let's see if we will have same requirements from the community in the future. In the meantime, you could use this at your own fork repository. Best, |
|
Hi @MinerYang, Thanks for your feedback! I understand the concerns about consistency and complexity. We use ArgoCD on OpenShift to deploy Harbor across multiple clusters via ApplicationSets. Each cluster’s externalURL must follow harbor.apps..example.com, and we use .Values.global.clusterName for templating. This PR enables us to set externalURL dynamically, reducing manual effort and misconfigurations. Notably, the only appearance of externalURL is in the core-cm.yaml ConfigMap, minimizing the risk of inconsistencies with other configurations like TLS. While tpl adds some complexity, it simplifies multi-cluster management. Would you consider making this feature optional? It could benefit other users with similar needs. Looking forward to your thoughts! |
Thanks @neevnuv for more details here. I will try to catch up more about ArgoCD and multi-cluster things about templating config. |
|
@MinerYang, please correct me if I’m wrong, but it seems that The TLS key and certificate are defined in
Additionally, I believe Since this PR only applies |
|
This PR is being marked stale due to a period of inactivty. If this PR is still relevant, please comment or remove the stale label. Otherwise, this PR will close in 30 days. |
|
This PR was closed because it has been stalled for 30 days with no activity. If this PR is still relevant, please re-open a new PR against main. |
Description
This PR introduces templating support for the externalURL value inside the core-cm ConfigMap by wrapping it with tpl, allowing for dynamic evaluation of Helm templates.
Changes
Updated core-cm to use {{ tpl .Values.externalURL . }} instead of a static value.
Rationale
Enables users to reference other values or use Helm functions within externalURL.
Increases flexibility for dynamic configurations in different environments.