k0sproject / k0sproject/k0sctl

Extra \x20 in the service file

Open
#659 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
582
Forks
113
Avg merge
2d 13h
Merged PRs (30d)
34

Description

```
ExecStart=/usr/local/bin/k0s controller --config=/etc/k0s/k0s.yaml --data-dir=/var/lib/k0s --enable-k0s-cloud-provider=true --enable-worker=true --k0s-cloud-provider-update-frequency=30s --kube-controller-manager-extra-args=--v=0\x20--logging-format=json --kubelet-extra-args=--v=0\x20--node-ip=100.64.0.136\x20--hostname-override=xxxx--no-taints=true --token-file=/etc/k0s/k0stoken
```
```
- role: controller+worker
noTaints: true
privateAddress: 100.64.0.136
hostname: xxxx
ssh:
address: xxxx
user: root
installFlags:
- --kubelet-extra-args="--v=0"
- --kube-controller-manager-extra-args="--v=0 --logging-format=json"
- --enable-k0s-cloud-provider=true
- --k0s-cloud-provider-update-frequency 30s
```
Not sure why

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Reproduce the generated service using the supplied installFlags and compare its ExecStart with the YAML configuration, then trace how the extra arguments are assembled. Done means the generated service preserves argument spacing without literal \x20 sequences.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
devops, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.