mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-25 17:12:50 +00:00
Fix k8s cni binary template bug (#2368)
* fix: command bug fix * fix: command bug fix
This commit is contained in:
parent
865913fea9
commit
9ee6298f76
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue