Apply k8s files for rook
							parent
							
								
									9d3eb62591
								
							
						
					
					
						commit
						1ab37c64da
					
				|  | @ -2246,8 +2246,8 @@ class KubernetesRook { | |||
|                 yield cloud_runner_system_1.CloudRunnerSystem.Run(` | ||||
|         git clone --single-branch --branch v1.8.6 https://github.com/rook/rook.git
 | ||||
|         cd rook/deploy/examples | ||||
|         kubectl create -f crds.yaml -f common.yaml -f operator.yaml | ||||
|         kubectl create -f cluster.yaml | ||||
|         kubectl apply -f crds.yaml -f common.yaml -f operator.yaml | ||||
|         kubectl apply -f cluster.yaml | ||||
|       `);
 | ||||
|                 fs_1.default.writeFileSync('filesystem.yaml', ` | ||||
|         apiVersion: ceph.rook.io/v1 | ||||
|  | @ -2298,7 +2298,7 @@ class KubernetesRook { | |||
|         reclaimPolicy: Delete | ||||
|       `);
 | ||||
|                 yield cloud_runner_system_1.CloudRunnerSystem.Run(` | ||||
|         kubectl create -f storageclass.yaml -f filesystem.yaml | ||||
|         kubectl apply -f storageclass.yaml -f filesystem.yaml | ||||
|       `);
 | ||||
|             } | ||||
|             else { | ||||
|  |  | |||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							|  | @ -11,8 +11,8 @@ class KubernetesRook { | |||
|       await CloudRunnerSystem.Run(` | ||||
|         git clone --single-branch --branch v1.8.6 https://github.com/rook/rook.git
 | ||||
|         cd rook/deploy/examples | ||||
|         kubectl create -f crds.yaml -f common.yaml -f operator.yaml | ||||
|         kubectl create -f cluster.yaml | ||||
|         kubectl apply -f crds.yaml -f common.yaml -f operator.yaml | ||||
|         kubectl apply -f cluster.yaml | ||||
|       `);
 | ||||
|       fs.writeFileSync( | ||||
|         'filesystem.yaml', | ||||
|  | @ -69,7 +69,7 @@ class KubernetesRook { | |||
|       `,
 | ||||
|       ); | ||||
|       await CloudRunnerSystem.Run(` | ||||
|         kubectl create -f storageclass.yaml -f filesystem.yaml | ||||
|         kubectl apply -f storageclass.yaml -f filesystem.yaml | ||||
|       `);
 | ||||
|     } else { | ||||
|       CloudRunnerLogger.log(`Using kubeStorageClass ${storageName}`); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue