[calico]use ipamconfig instead of calico ipam command (#8839)

* use ipamconfig instead of calico ipam command

* fix ansible lint
This commit is contained in:
Samuel Liu
2022-05-20 02:13:20 +08:00
committed by GitHub
parent a26a9ee14f
commit a28b58dbd0
5 changed files with 32 additions and 9 deletions

View File

@@ -0,0 +1,8 @@
apiVersion: crd.projectcalico.org/v1
kind: IPAMConfig
metadata:
name: default
spec:
autoAllocateBlocks: {{ calcio_ipam_autoallocateblocks }}
strictAffinity: {{ calico_ipam_strictaffinity }}
maxBlocksPerHost: {{ calico_ipam_maxblocksperhost }}