zarf icon indicating copy to clipboard operation
zarf copied to clipboard

Refactor K8s / cluster code to move it to common library

Open AustinAbro321 opened this issue 1 year ago • 1 comments

Describe what should be investigated or refactored

The code in src/pkg/cluster and src/pkg/k8s should be refactored to used by projects generically. The functions will need to be generalized to be useful for projects interacting with kubernetes. The zarf specific logic will need to be pulled out. The refactored code will move to https://github.com/defenseunicorns/pkg.

AustinAbro321 avatar Jan 24 '24 19:01 AustinAbro321

We should ensure we add unit tests during this migration: https://github.com/defenseunicorns/zarf/issues/1750

Racer159 avatar Jan 25 '24 01:01 Racer159

After discussions with team, we do not want to move this to a separate common library as both are thin wrappers over more generic widely used packages

AustinAbro321 avatar May 09 '24 15:05 AustinAbro321