Ensure extraValuesFiles entries are properly rendered#98
Ensure extraValuesFiles entries are properly rendered#98sector2000 wants to merge 1 commit intovalidatedpatterns:mainfrom
Conversation
|
What's the use case here? Reason I ask is because tpl is a bit finnicky on spoke clusters (because the template is rendered on the hub by argo+acm and then pushed to the spokes) |
|
Why are you referring to the spoke clusters? The extraValueFiles is used in the Apps of the hub cluster. I see that the the way the extraValuesFiles are being rendered is inconsistent between extraValuesFiles at global level and at application level. The extraValueFiles at application level is being rendered through tpl, while the ones at global level are not. Am I maybe misunderstanding the usage of the extraValueFiles? They I intended to use it is to ad a list of valuefiles to all the deployed applications in the hub cluster, where they should be additionally prefixed with $patternref if being used in a multisource app. |
|
So the clustergroup chart gets also rendered on spoke clusters via the acm-chart (in this same org), but when this happens that rendering happens on the hub cluster and then the clustergroup app gets pushed to the spokes, so it gets rendered with the hub values. Not against it per se, just wondering what the actual use case is given that sharedValueFiles also exists (and suffers from the same problem on spokes) |
|
Ok I see it. I guess this is one of the reasons why the value files are divided by platform type, groups and OCP version. Because the spoke clusters can be very diverse. This being said, I think the way the value files are pushed to the apps should be consistent, so either all rendered or none of them. If rendered, the values of each clusterGroup will control what the result will be. |
No description provided.