Hi in the fleet.yaml I would like to use `sprig` i...
# fleet
a
Hi in the fleet.yaml I would like to use
sprig
if possible and do :
Copy code
targetCustomizations:
    - name: local
      clusterSelector:
        matchLabels:
          provider: local
      helm:
        values:
          host: "${if .ClusterLabels.env=="qa"} value ${else} other_value ${end}"
Meaning if a label ( e.g.
.ClusterLabels.env
) has a specific value and set a helm value:
host:"${if .ClusterLabels.env=="qa"} value ${else} other_value ${end}"