Skip to content

Commit

Permalink
Ignore --data-dir --token-file and --config in flag check
Browse files Browse the repository at this point in the history
Signed-off-by: Kimmo Lehto <[email protected]>
  • Loading branch information
kke committed Dec 2, 2024
1 parent aeee565 commit 06b4aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apis/k0sctl.k0sproject.io/v1beta1/cluster/host.go
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ func (h *Host) FlagsChanged() bool {
}

// remove flags that are dropped by k0s or are handled specially
for _, f := range []string{"--force", "--kubelet-extra-args", "--env"} {
for _, f := range []string{"--force", "--kubelet-extra-args", "--env", "--data-dir", "--token-file", "--config"} {
our.Delete(f)
their.Delete(f)
}
Expand Down

0 comments on commit 06b4aa6

Please sign in to comment.