@ -53,6 +57,7 @@ WARNING: This command will print sensitive information if Kubernetes Secrets are
typedebugKustomizationFlagsstruct{
typedebugKustomizationFlagsstruct{
showStatusbool
showStatusbool
showVarsbool
showVarsbool
showHistorybool
}
}
vardebugKustomizationArgsdebugKustomizationFlags
vardebugKustomizationArgsdebugKustomizationFlags
@ -60,15 +65,25 @@ var debugKustomizationArgs debugKustomizationFlags
funcinit(){
funcinit(){
debugKustomizationCmd.Flags().BoolVar(&debugKustomizationArgs.showStatus,"show-status",false,"print the status of the Flux Kustomization")
debugKustomizationCmd.Flags().BoolVar(&debugKustomizationArgs.showStatus,"show-status",false,"print the status of the Flux Kustomization")
debugKustomizationCmd.Flags().BoolVar(&debugKustomizationArgs.showVars,"show-vars",false,"print the final vars of the Flux Kustomization in dot env format")
debugKustomizationCmd.Flags().BoolVar(&debugKustomizationArgs.showVars,"show-vars",false,"print the final vars of the Flux Kustomization in dot env format")
debugKustomizationCmd.Flags().BoolVar(&debugKustomizationArgs.showHistory,"show-history",false,"print the reconciliation history of the Flux Kustomization")