Tags: spectrocloud-labs/spectro-cleanup
Tags
fix: allow deleting all cluster-scoped resources (#16) * fix: allow deleting all cluster-scoped resources Signed-off-by: Artur Shad Nik <[email protected]> * chore: comment Signed-off-by: Artur Shad Nik <[email protected]> * chore: var naming Signed-off-by: Artur Shad Nik <[email protected]> --------- Signed-off-by: Artur Shad Nik <[email protected]>
feat: support deletion of all resources by GVR (#13) * feat: delete all resources for a particular GVR * docs: add usage example * chore: refactor to reduce cognitive complexity * chore: tune golangci-lint config * chore: bump govulncheck container img * chore: bump BUILDER_GOLANG_VERSION * refactor: remove DeleteAll as it was redundant * fix: full GVR deletion for a namespace or all namespaces * refactor: tidy main, remove Fatal logging, add unit tests * fix: default ClusterRoleName to RoleName --------- Signed-off-by: Tyler Gillson <[email protected]>
fix: handle NotFound errors properly (#11) * fix: handle NotFound errors properly * chore: bump go version * chore: reduce cognitive complexity Signed-off-by: Tyler Gillson <[email protected]> --------- Signed-off-by: Tyler Gillson <[email protected]>
feat: add mustDelete; refactor to remove controller-runtime (#10) * feat: add mustDelete; replace controller-runtime w/ client-go --------- Signed-off-by: Tyler Gillson <[email protected]> Co-authored-by: Ahmad Malik Ibrahim <[email protected]>
feat: add support for cleaning up cluster scoped resources (#9) * feat: add support for cleaning up cluster scoped resources * chore: bump to go1.22.11 to address govulncheck issue * fix: address typo Co-authored-by: Tyler Gillson <[email protected]> Signed-off-by: Ahmad Malik Ibrahim <[email protected]> --------- Signed-off-by: Ahmad Malik Ibrahim <[email protected]> Co-authored-by: Tyler Gillson <[email protected]>