rancher / qa-tasks

List of QA Backlog
1 stars 1 forks source link

Put kubectl commands into a shared function #967

Open rancher-max opened 11 months ago

rancher-max commented 11 months ago

Right now there are a lot of kubectl commands scattered throughout. It would be nice to have one shared function that runs all kubectl commands that can just take in a couple args to simplify some of the code and rework.

Related to Epic https://github.com/rancher/qa-tasks/issues/799

fmoral2 commented 10 months ago

https://github.com/rancher/distros-test-framework/blob/2ff8ae8ad52acf8d6fb3347f4b6bc57a59b1ada8/shared/cluster.go#L139C1-L139C5

rancher-max commented 10 months ago

yeah we have it, just don't use it across the board yet and I think should

fmoral2 commented 10 months ago

totally , i just added as reference.