Skip to content

Commit c40cb7d

Browse files
committed
TUN-3514: Stop setting --is-autoupdated flag after autoupdate because it can break named tunnel running in k8s
1 parent 9ae5f30 commit c40cb7d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cmd/cloudflared/updater/update.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ func (a *AutoUpdater) Run(ctx context.Context) error {
202202
if a.configurable.enabled {
203203
updateOutcome := loggedUpdate(a.logger, updateOptions{})
204204
if updateOutcome.Updated {
205-
os.Args = append(os.Args, "--is-autoupdated=true")
206205
if IsSysV() {
207206
// SysV doesn't have a mechanism to keep service alive, we have to restart the process
208207
a.logger.Info("Restarting service managed by SysV...")

0 commit comments

Comments
 (0)