Can flux kustomization dry-run be performed in cmdline? #5084
-
Hi, As I know, flux kustomization controller will execute dry-run before really applying manifests, this is very nice since it can prevent malformed configuration is applied. But I wonder if this dry-run check can be executed with cmdline, since I want to integrate this great check with my git source code workflow. I know there is So is there way for us to do same check in source code as flux kustomization controller dry-run did? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes the dry-run is implemented in the CLI with |
Beta Was this translation helpful? Give feedback.
Yes the dry-run is implemented in the CLI with
flux diff kustomization
which runs against the live cluster without modifying its state, the diff is what the controller does before the actual server-side apply.