Commit 50c939f
š Fix Helm ownership collision for prometheus-ca ConfigMap in shared namespace
When multiple WVA releases are installed on the same cluster from different
namespaces, they both try to create a ConfigMap with the same name in the
shared openshift-user-workload-monitoring namespace. Helm's ownership
annotation (meta.helm.sh/release-namespace) rejects the second install.
Use the clusterResourceName helper (which appends .Release.Namespace) instead
of fullname to make the ConfigMap name unique per release namespace. This is
consistent with how all ClusterRoles and ClusterRoleBindings in the chart
already handle multi-namespace uniqueness.
Signed-off-by: Andy Anderson <andy@clubanderson.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Andrew Anderson <andy@clubanderson.com>1 parent aff15ca commit 50c939f
File tree
1 file changed
+1
-1
lines changed- charts/workload-variant-autoscaler/templates
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments