fix: Change CIDR subnet block #2
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @@ -305,7 +305,12 @@ | ||||
| # TODO: move to git repo | ||||
| - name: Apply cni plugin manifest | ||||
|   kubernetes.core.k8s: | ||||
|     src: /opt/metacluster/cluster-api/cni-calico/{{ components.clusterapi.workload.version.calico }}/calico.yaml | ||||
|     definition: | | ||||
|       {{ | ||||
|         lookup('ansible.builtin.file', '/opt/metacluster/cluster-api/cni-calico/' ~ components.clusterapi.workload.version.calico ~ '/calico.yaml') | | ||||
|           regex_replace('# - name: CALICO_IPV4POOL_CIDR', '- name: CALICO_IPV4POOL_CIDR') | | ||||
|           regex_replace('#   value: "192.168.0.0/16"',    '  value: "172.30.0.0/16"') | ||||
|       }} | ||||
|     state: present | ||||
|     wait: true | ||||
|     kubeconfig: "{{ capi_kubeconfig.path }}" | ||||
|   | ||||
| @@ -217,8 +217,10 @@ patches: | ||||
|     name: \${CLUSTER_NAME} | ||||
|   patch: |- | ||||
|     - op: replace | ||||
|       path: /spec/clusterNetwork/pods/cidrBlocks/- | ||||
|       value: 172.30.0.0/16 | ||||
|       path: /spec/clusterNetwork/pods | ||||
|       value: | ||||
|         cidrBlocks: | ||||
|           - 172.30.0.0/16 | ||||
|     - op: replace | ||||
|       path: /spec/controlPlaneRef/name | ||||
|       value: ${CLUSTER_NAME}-master | ||||
|   | ||||
		Reference in New Issue
	
	Block a user