This repository has been archived by the owner on Jul 15, 2024. It is now read-only.
Clusters with underscore in name causing problem with variable templating #364
Labels
good first issue
Good for newcomers
Milestone
Clusters with underscore in name causing problem with variable templating.
Example.
Everything work fine unless cluster name consist underscore, e.g.
gke_myproject_us-west1-a_cluster1
(similar to how GKE clusters are named). In this case applicationset controller generates error message:So it seems that applicationset controller replaced "_" to "-" in cluster name but now variable {{name}} is somehow broken, it is no longer store valid cluster name. So using that variable as a destination cluster is no longer works.
Maybe instead of modifying variable {{name}} by controller we can add new variable e.g. {{nameNormalized}} and leave {{name}} unchanged? It would give more transparency and predictability to the process.
The text was updated successfully, but these errors were encountered: