Fix k8s cni binary template bug (#2368)

* fix: command bug fix

* fix: command bug fix
This commit is contained in:
dbb_DingYongliang 2024-08-21 16:38:26 +08:00 committed by GitHub
parent 865913fea9
commit 9ee6298f76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -99,6 +99,8 @@ cni:
{{- else }}
{{ .groups.kube_control_plane | default list | first }}
{{- end }}
operator_replicas: |
1
k8s_port: |
{{ .kubernetes.apiserver.port | default 6443 }}
kubeovn:

View File

@ -31,5 +31,7 @@
--set ipv6NativeRoutingCIDR: {{ .cni.kube_pods_v6_cidr }} \
{{- end }}
{{- if .cni.kube_proxy }}
--set kubeProxyReplacement=strict --set k8sServiceHost={{ .cni.cilium.k8s_endpoint }} --set k8sServicePort={{ .cni.cilium.k8s_port }}
--set kubeProxyReplacement=strict \
--set k8sServiceHost={{ .cni.cilium.k8s_endpoint }} \
--set k8sServicePort={{ .cni.cilium.k8s_port }}
{{- end }}