Merge pull request #18233 from lollipopman/calico-pod-network-cidr

calico: support kubeadm.pod-network-cidr
pull/18591/head
Steven Powell 2024-04-05 15:16:38 -07:00 committed by GitHub
commit c46252f474
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 5 deletions

View File

@ -72,9 +72,6 @@ func updateYAML(version string) {
`docker\.io\/calico\/cni:.*`: "{{ .BinaryImageName }}",
`docker\.io\/calico\/node:.*`: "{{ .DaemonSetImageName }}",
`docker\.io\/calico\/kube-controllers:.*`: "{{ .DeploymentImageName }}",
`192\.168\.0\.0\/16"`: `192.168.0.0/16"
- name: CALICO_IPV4POOL_CIDR
value: {{ .PodCIDR }}`,
}
for re, repl := range replacements {
yaml = regexp.MustCompile(re).ReplaceAll(yaml, []byte(repl))

View File

@ -4930,8 +4930,6 @@ spec:
# no effect. This should fall within `--cluster-cidr`.
# - name: CALICO_IPV4POOL_CIDR
# value: "192.168.0.0/16"
- name: CALICO_IPV4POOL_CIDR
value: {{ .PodCIDR }}
# Disable file logging so `kubectl logs` works.
- name: CALICO_DISABLE_FILE_LOGGING
value: "true"