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