Add force and reset flags to flux reconcile hr
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
@@ -46,13 +46,16 @@ The reconcile kustomization command triggers a reconciliation of a HelmRelease r
|
||||
|
||||
type reconcileHelmReleaseFlags struct {
|
||||
syncHrWithSource bool
|
||||
syncForce bool
|
||||
syncReset bool
|
||||
}
|
||||
|
||||
var rhrArgs reconcileHelmReleaseFlags
|
||||
|
||||
func init() {
|
||||
reconcileHrCmd.Flags().BoolVar(&rhrArgs.syncHrWithSource, "with-source", false, "reconcile HelmRelease source")
|
||||
|
||||
reconcileHrCmd.Flags().BoolVar(&rhrArgs.syncForce, "force", false, "force a one-off install or upgrade of the HelmRelease resource")
|
||||
reconcileHrCmd.Flags().BoolVar(&rhrArgs.syncReset, "reset", false, "reset the reset the failure count for this HelmRelease resource")
|
||||
reconcileCmd.AddCommand(reconcileHrCmd)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user