Skip to content

Commit

Permalink
Merge pull request #46 from iawia002/conflicts
Browse files Browse the repository at this point in the history
Force update fields to handle conflicts
  • Loading branch information
wansir authored Aug 8, 2023
2 parents 7b778d1 + 3e98c50 commit d2643f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (o *publishOptions) publish(cmd *cobra.Command, args []string) error {
return err
}

kubectlArgs := []string{"apply", "--server-side=true", "-f", filePath}
kubectlArgs := []string{"apply", "--server-side=true", "--force-conflicts", "-f", filePath}
if o.kubeconfig != "" {
kubectlArgs = append(kubectlArgs, "--kubeconfig", o.kubeconfig)
}
Expand Down

0 comments on commit d2643f9

Please sign in to comment.