kustomize-controller: Use cli-utils apply package #309
-
The cli-utils apply package which is used by kpt live apply has a bunch of useful functionality, some of which overlaps with kustomize-controller functionality, e.g. pruning. It uses an inventory object instead of labels to determine package membership. This has the advantage of not needing to modify the payload objects themselves. The inventory object id could be added to the Kustomization status. This could be a nice UX for determining what resources the last kustomization reconciliation produced. It could also allow for integration with e.g. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
We label objects so that users can trace back what things on the cluster originated from which Kustomization. As for pruning, the cli utils doesn’t handle objects stuck in finlization, maybe for kpt which is a CLI is not a problem but for kustomize controller this means it can no longer reconcile new revisions, we have this problem with Flux v1 and it’s a major pain. |
Beta Was this translation helpful? Give feedback.
We label objects so that users can trace back what things on the cluster originated from which Kustomization. As for pruning, the cli utils doesn’t handle objects stuck in finlization, maybe for kpt which is a CLI is not a problem but for kustomize controller this means it can no longer reconcile new revisions, we have this problem with Flux v1 and it’s a major pain.