{{- define "system_default_registry" -}} {{- if .Values.global.cattle.systemDefaultRegistry -}} {{- printf "%s/" .Values.global.cattle.systemDefaultRegistry -}} {{- else -}} {{- "" -}} {{- end -}} {{- end -}} {{- define "rancher-webhook.labels" -}} app: rancher-webhook {{- end }} {{- define "linux-node-tolerations" -}} - key: "cattle.io/os" value: "linux" effect: "NoSchedule" operator: "Equal" {{- end -}} {{- define "linux-node-selector" -}} kubernetes.io/os: linux {{- end -}}