https://rancher.com/ logo
#fleet
Title
# fleet
m

millions-notebook-58367

04/29/2023, 5:49 PM
Hi guys, Is it possible to not install a helm chart on a specific cluster using targetCustomizations? Eg: I want to install metrics-server on every possible cluster except the ones that has the label:
provider=gcp
Copy code
defaultNamespace: kube-system
helm:
  releaseName: metrics-server
  chart: metrics-server
  repo: <https://charts.bitnami.com/bitnami>
  values:
    apiService:
      create: true
    securePort: 4443
    extraArgs:
      - --cert-dir=/tmp
      - --kubelet-insecure-tls=true
      - --kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname

targetCustomizations:
  - clusterSelector:
      matchLabels:
        provider: gcp
    helm:
      disabled: true
Something like this
4 Views