zarf
zarf copied to clipboard
Refactor K8s / cluster code to move it to common library
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.
We should ensure we add unit tests during this migration: https://github.com/defenseunicorns/zarf/issues/1750
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