Commit af4f31c
committed
chore: remove dead v3 prototype code from embedded-cluster v2
The v3 prototype has been abandoned and moved to a separate repository.
This cleanup removes all dead v3-specific code, environment variable gates
(ENABLE_V3), and v3-only features from the v2 production codebase.
Deleted files:
- cmd/installer/cli/install_v3.go and tests
- cmd/installer/cli/headless/install/* (entire directory)
- tests/dryrun/v3_*_test.go (4 files)
- .github/workflows/v3-e2e.yaml
- e2e/kots-release-install-v3/* and upgrade-v3/*
- e2e/licenses/ci-v3.yaml
- pkg-new/k0s/mock.go, pkg-new/upgrade/mock.go
Key changes:
- Remove ENABLE_V3 env var gates from install, upgrade, version commands
- Simplify KotsadmNamespace to always return 'kotsadm'
- Simplify EmbeddedClusterLogsPath to use static v2 path
- Remove headless install orchestrator and v3 install flow
- Remove dead code from pkg-new/* packages
- Update Makefile to always use v2 release directories
- Update tests to match v2-only behavior
- dagger: remove InstallHeadless, E2eRunHeadless helpers
Build and tests pass.1 parent 8bc2caf commit af4f31c
63 files changed
Lines changed: 68 additions & 10138 deletions
File tree
- .github/workflows
- api/internal/managers/app
- config
- install
- upgrade
- cmd/installer/cli
- headless/install
- dagger
- e2e
- kots-release-install-v3
- kots-release-upgrade-v3
- licenses
- pkg-new
- cloudutils
- k0s
- kubernetesinstallation
- preflights
- replicatedapi
- upgrade
- pkg
- addons/adminconsole
- runtimeconfig
- tests/dryrun
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | 184 | | |
191 | 185 | | |
192 | 186 | | |
193 | 187 | | |
194 | | - | |
| 188 | + | |
195 | 189 | | |
196 | 190 | | |
197 | 191 | | |
198 | 192 | | |
199 | 193 | | |
200 | | - | |
| 194 | + | |
201 | 195 | | |
202 | 196 | | |
203 | 197 | | |
| |||
207 | 201 | | |
208 | 202 | | |
209 | 203 | | |
210 | | - | |
| 204 | + | |
211 | 205 | | |
212 | 206 | | |
213 | 207 | | |
| |||
349 | 343 | | |
350 | 344 | | |
351 | 345 | | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | 346 | | |
360 | | - | |
361 | | - | |
362 | | - | |
| 347 | + | |
363 | 348 | | |
364 | 349 | | |
365 | 350 | | |
366 | 351 | | |
367 | 352 | | |
368 | 353 | | |
369 | | - | |
370 | 354 | | |
371 | 355 | | |
372 | 356 | | |
373 | 357 | | |
374 | 358 | | |
375 | 359 | | |
376 | | - | |
377 | 360 | | |
378 | 361 | | |
379 | 362 | | |
| |||
0 commit comments