Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit 57f7ce6

Browse files
authored
Merge pull request #261 from fabriziopandini/update-readme
📖 Update default behavior for kubernetesVersion field in the readme
2 parents 5dc9689 + 2b067c0 commit 57f7ce6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ CABPK will fill in some values if they are left empty with sensible defaults:
136136

137137
| `KubeadmConfig` field | Default |
138138
| ----------------------------------------------- | ------------------------------------------------------------ |
139+
| `clusterConfiguration.KubernetesVersion` | `Machine.Spec.Version` [1] |
139140
| `clusterConfiguration.clusterName` | `Cluster.metadata.name` |
140141
| `clusterConfiguration.controlPlaneEndpoint` | `Cluster.status.apiEndpoints[0]` |
141142
| `clusterConfiguration.networking.dnsDomain` | `Cluster.spec.clusterNetwork.serviceDomain` |
@@ -145,6 +146,9 @@ CABPK will fill in some values if they are left empty with sensible defaults:
145146

146147
> IMPORTANT! overriding above defaults could lead to broken Clusters.
147148

149+
[1] if both `clusterConfiguration.KubernetesVersion` and `Machine.Spec.Version` are empty, the latest Kubernetes
150+
version will be installed (as defined by the default kubeadm behavior).
151+
148152
#### Examples
149153
Valid combinations of configuration objects are:
150154
- at least one of `InitConfiguration` and `ClusterConfiguration` for the first control plane node only

0 commit comments

Comments
 (0)