Commit d3e5f05
committed
feat(scs2): Migrate to CAPI v1beta2 with full feature set
Migrate openstack/scs2 and docker/scs2 cluster stacks to CAPI v1beta2:
CAPI v1beta2 Migration:
- ClusterClass, KubeadmControlPlaneTemplate, KubeadmConfigTemplate -> v1beta2
- Infrastructure resources (CAPO/CAPD) remain v1beta1 (providers not yet v1beta2)
- ref -> templateRef, workers template: wrapper removed
- extraArgs/kubeletExtraArgs converted from map to list of {name, value}
- oidcConfig patches use extraArgs/- (list-append) pattern
- apiServer: {} removed (fails minProperties:1, created dynamically by patches)
Variable Defaults Consolidation:
- All ClusterClass variable defaults moved to values.yaml
- Templates reference {{ .Values.variables.* }} instead of hardcoded values
- 20+ variables for openstack/scs2, 4 for docker/scs2
New Features:
- Registry mirrors: registryMirrors array variable with containerd hosts.toml patches
- OIDC authentication: Full oidcConfig variable + 6 apiServer extraArgs patches
- certSANs: Extra Subject Alternative Names for API server cert
- AfterClusterUpgrade hook: Third lifecycle stage in clusteraddon.yaml
Security Hardening:
- controller-manager: --profiling=false, --terminated-pod-gc-threshold=100
- scheduler: --profiling=false
- etcd: metrics exposed, auto-compaction, tuned election/heartbeat
- kube-proxy: metrics on 0.0.0.0:10249 (docker/scs2)
docker/scs2 (new stack):
- Complete new cluster stack for Docker provider with v1beta2
- Cilium 1.19.0 with Gateway API + SCTP support
- metrics-server 3.13.0
- Multi-version build support (versions.yaml: 1.32-1.35)
Addon Version Bumps (openstack/scs2):
- Cilium 1.18.5 -> 1.19.0
- openstack-cloud-controller-manager 2.34.1 -> 2.34.2
- openstack-cinder-csi 2.34.1 -> 2.34.3
- versions.yaml: key renames (occm/cinder_csi -> full chart names), ubuntu field
Documentation:
- Rewritten overview.md, configuration.md
- New quickstart.mdx (Docusaurus Tabs for provider selection)
- New versioning.md, build-system.md
- Removed outdated kamaji.md
Legacy stacks (minimal):
- openstack/scs: ubuntu field added to versions.yaml
- docker/scs: imageRepository variable in values.yaml, versions.yaml created
Assisted-by: Claude Code
Signed-off-by: Jan Schoone <[email protected]>1 parent 9ff91b7 commit d3e5f05
File tree
45 files changed
+2177
-916
lines changed- docs
- providers/openstack
- hack
- providers
- docker
- scs2
- cluster-addon
- cni
- metrics-server
- cluster-class
- templates
- scs
- cluster-class
- openstack
- scs2
- cluster-addon
- ccm
- cni
- csi
- cluster-class
- templates
- scs
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
45 files changed
+2177
-916
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
6 | 11 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
0 commit comments