diff --git a/roles/network_plugin/kube-ovn/templates/cni-ovn.yml.j2 b/roles/network_plugin/kube-ovn/templates/cni-ovn.yml.j2 index d2dc9f4e5..ec9afc9a2 100644 --- a/roles/network_plugin/kube-ovn/templates/cni-ovn.yml.j2 +++ b/roles/network_plugin/kube-ovn/templates/cni-ovn.yml.j2 @@ -369,7 +369,7 @@ spec: fieldPath: status.podIP {% if not kube_ovn_dpdk_enabled %} - name: HW_OFFLOAD - value: "{{ kube_ovn_hw_offload }}" + value: "{{ kube_ovn_hw_offload | string | lower }}" - name: TUNNEL_TYPE value: "{{ kube_ovn_tunnel_type }}" {% endif %}