(ctx, cluster_name, args, **kwargs)
| 55 | |
| 56 | # this is for rook clusters |
| 57 | def toolbox(ctx, cluster_name, args, **kwargs): |
| 58 | return ctx.rook[cluster_name].remote.run( |
| 59 | args=[ |
| 60 | 'kubectl', |
| 61 | '-n', 'rook-ceph', |
| 62 | 'exec', |
| 63 | ctx.rook[cluster_name].toolbox, |
| 64 | '--', |
| 65 | ] + args, |
| 66 | **kwargs |
| 67 | ) |
| 68 | |
| 69 | |
| 70 | def write_conf(ctx, conf_path=DEFAULT_CONF_PATH, cluster='ceph'): |