justinsb
62b0fbdb7a
kubectl prunev2: Refactor the applyset to be more reusable
...
This enables sharing with diff.
Kubernetes-commit: d016fdcc834099dee721f42a384e1bc1f710e599
2023-03-14 12:12:00 +00:00
Katrina Verey
a038484b5c
Allow conformant CRDs to be ApplySet parents
...
Kubernetes-commit: 923d9b63fd87e9446f5746f544237c7e0de009a0
2023-03-07 11:29:50 -05:00
Katrina Verey
ca98377c3e
Applyset dry run tests + ID value ( #116265 )
...
* Test for ApplySet with --dry-run=client|server
* Use the real format for ApplySet ID
* Incorporate feedback
* Adjustments from rebase
Kubernetes-commit: 6a31757f45693fec5ea4723bcb405ce4437e31ca
2023-03-15 11:17:56 +00:00
Justin SB
0567f1e464
prunev2: Implement basic pruning
...
Implement the basic prune strategy where we find-by-label and then
delete unknown objects.
Kubernetes-commit: f17a319dc60374a46be1b37a453227d134ac479e
2023-02-22 21:40:25 -05:00
Katrina Verey
250ef6fa54
Feedback and linter
...
Kubernetes-commit: 3b0e13482e4459f9cb6a006cac2da76333992efd
2023-03-03 11:50:16 -05:00
Katrina Verey
a04ac8a907
Create and update the ApplySet parent object
...
Kubernetes-commit: 7f874c91017eefd12df3d824793ab7e9b0be088e
2023-02-27 18:40:59 -05:00
Justin SB
78b973156e
prunev2: Add labels for objects that we apply
...
As we apply objects when using apply/prune v2, we want to be sure they
include the label that ties them back to the applyset they are part
of.
Co-Authored-By: Katrina Verey <katrina.verey@shopify.com>
Kubernetes-commit: ab058308401b35b4865424cfa43ed75a554af2a3
2023-02-22 22:06:48 -05:00
Katrina Verey
530dea246b
Introduce CLI for ApplySet-based pruning ( #115979 )
...
* Introduce CLI for ApplySet-based pruning
* Address feedback from justinsb
* Fix parent namespace sourcing and restrict types. Increase test coverage.
Kubernetes-commit: 0dd346673c00158247c8232f9e81a308fb741463
2023-02-27 12:20:40 -05:00