File tree Expand file tree Collapse file tree
charts/shield/templates/host Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,21 +83,21 @@ If release name contains chart name it will be used as a full name.
8383{{- end }}
8484
8585{{- define " host.driver.is_ebpf" }}
86- {{- if or (include " host.driver.is_legacy_ebpf" . ) (include " host.driver.is_universal_ebpf " . ) }}
86+ {{- if or (include " host.driver.is_legacy_ebpf" . ) (include " common.cluster_type.is_gke_autopilot " . ) }}
8787true
8888{{- else }}
8989{{- end }}
9090{{- end }}
9191
9292{{- define " host.driver.is_legacy_ebpf" }}
93- {{- if eq " legacy_ebpf" .Values.host.driver }}
93+ {{- if and ( eq " legacy_ebpf" .Values.host.driver ) ( not (include " common.cluster_type.is_gke_autopilot " . )) }}
9494true
9595{{- else }}
9696{{- end }}
9797{{- end }}
9898
9999{{- define " host.driver.is_universal_ebpf" }}
100- {{- if eq " universal_ebpf" .Values.host.driver }}
100+ {{- if or ( eq " universal_ebpf" .Values.host.driver ) (include " common.cluster_type.is_gke_autopilot " . ) }}
101101true
102102{{- else }}
103103{{- end }}
You can’t perform that action at this time.
0 commit comments