You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a manual task to update for every cluster added.
If fleet took the global labels and then passed them through to golang/sprig templates you would have a lot more flexibility in the fleet file and where you can use the values.
Another example of templates include creating a range on targetCustomizations
global:
clusters:
- one
- two
- three
- testing
- prod
targetCustomizations:
{{- range $.clusters }}
- name: {{ . }}
clusterSelector:
matchLabels:
management.cattle.io/cluster-display-name: {{ . }}
kustomize:
dir: overlays/{{ . }}
{{- end }}
The text was updated successfully, but these errors were encountered:
I have an issue where I need to use the global labels inside strings.
An example would be the following:
Most public helm charts do not expose something like a subdomain options for the hosts setting. eg.
This makes it impossible to effectively use the cluster name unless I create a label manually. my current solution is this:
This is a manual task to update for every cluster added.
If fleet took the global labels and then passed them through to golang/sprig templates you would have a lot more flexibility in the fleet file and where you can use the values.
Another example of templates include creating a range on targetCustomizations
The text was updated successfully, but these errors were encountered: