Commit b4251b2
committed
chore: refactor K3s configuration and update Go version
- Update Go version from 1.23.1 to 1.24.2
- Modify K3s configuration to conditionally include `--datastore-endpoint` if the datastore is not "local"
- Simplify K3s configuration by ensuring the `--server` flag is conditionally included based on the `Master0` variable
- Remove unnecessary lines from K3s configuration related to the `--server` flag
Signed-off-by: ysicing <i@ysicing.me>1 parent 23b51f7 commit b4251b2
2 files changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
162 | 163 | | |
| 164 | + | |
163 | 165 | | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | 166 | | |
168 | 167 | | |
169 | 168 | | |
| |||
176 | 175 | | |
177 | 176 | | |
178 | 177 | | |
179 | | - | |
180 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
181 | 182 | | |
182 | | - | |
| 183 | + | |
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
0 commit comments