Add preflight check;Refactor readychecks;Quote input variables;Fix kustomization template;Apply kustomization;Generate new cluster-api manifest
	
		
			
	
		
	
	
		
	
		
			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:
		| @@ -39,12 +39,14 @@ patchesStrategicMerge: | ||||
|             content: | | ||||
|               {{ _template.script.encoded }} | ||||
|             permissions: '0744' | ||||
|             owner: root:root | ||||
|             path: /root/network.sh | ||||
|           - content: | | ||||
|               network: {config: disabled} | ||||
|             owner: root:root | ||||
|             path: /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg | ||||
|           - content: | | ||||
|               {{ _template.rootca | indent(width=6, first=True) }} | ||||
|               {{ _template.rootca | indent(width=14, first=False) | trim }} | ||||
|             owner: root:root | ||||
|             path: /usr/local/share/ca-certificates/root_ca.crt | ||||
|  | ||||
| @@ -61,6 +63,8 @@ patchesJson6902: | ||||
|           encoding: base64 | ||||
|           content: | | ||||
|             {{ _template.script.encoded }} | ||||
|           owner: root:root | ||||
|           path: /root/network.sh | ||||
|           permissions: '0744' | ||||
|       - op: add | ||||
|         path: /spec/kubeadmConfigSpec/files/- | ||||
| @@ -73,7 +77,7 @@ patchesJson6902: | ||||
|         path: /spec/kubeadmConfigSpec/files/- | ||||
|         value: | ||||
|           content: | | ||||
|             {{ _template.rootca | indent(width=8, first=True) }} | ||||
|             {{ _template.rootca | indent(width=12, first=False) | trim }} | ||||
|           owner: root:root | ||||
|           path: /usr/local/share/ca-certificates/root_ca.crt | ||||
|   - target: | ||||
| @@ -95,6 +99,6 @@ patchesJson6902: | ||||
|     patch: |- | ||||
| {% for cmd in _template.runcmds %} | ||||
|       - op: add | ||||
|         path: /spec/template/spec/preKubeadmCommands/- | ||||
|         path: /spec/kubeadmConfigSpec/preKubeadmCommands/- | ||||
|         value: {{ cmd }} | ||||
| {% endfor %} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user