File tree Expand file tree Collapse file tree 3 files changed +48
-4
lines changed
charts/capi-kamaji-vsphere Expand file tree Collapse file tree 3 files changed +48
-4
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ A Helm chart for deploying a Kamaji Tenant Cluster on vSphere using Cluster API
20
20
21
21
| Key | Type | Default | Description |
22
22
| -----| ------| ---------| -------------|
23
+ | cluster.clusterNetwork.apiServerPort | int | ` 6443 ` | API Server port |
24
+ | cluster.clusterNetwork.pods.cidrBlocks | list | ` ["10.93.0.0/16"] ` | CIDR range for pods |
25
+ | cluster.clusterNetwork.serviceDomain | string | ` "cluster.local" ` | Service Domain for cluster DNS |
26
+ | cluster.clusterNetwork.services.cidrBlocks | list | ` ["10.96.0.0/16"] ` | CIDR range for services |
23
27
| cluster.controlPlane.addons.coreDNS | object | ` {} ` | KamajiControlPlane coreDNS configuration |
24
28
| cluster.controlPlane.addons.konnectivity | object | ` {} ` | KamajiControlPlane konnectivity configuration |
25
29
| cluster.controlPlane.addons.kubeProxy | object | ` {} ` | KamajiControlPlane kube-proxy configuration |
Original file line number Diff line number Diff line change @@ -6,6 +6,33 @@ metadata:
6
6
name : {{ include "cluster-api-kamaji-vsphere.cluster-name" . }}
7
7
namespace : {{ .Release.Namespace }}
8
8
spec :
9
+ {{- if .Values.cluster.clusterNetwork }}
10
+ clusterNetwork :
11
+ {{- if .Values.cluster.clusterNetwork.apiServerPort }}
12
+ apiServerPort : {{ .apiServerPort | default 6443 }}
13
+ {{- end }}
14
+ {{- if .Values.cluster.clusterNetwork.pods }}
15
+ {{- if .Values.cluster.clusterNetwork.pods.cidrBlocks }}
16
+ pods :
17
+ cidrBlocks :
18
+ {{- range .Values.cluster.clusterNetwork.pods.cidrBlocks }}
19
+ - {{ . | quote }}
20
+ {{- end }}
21
+ {{- end }}
22
+ {{- end }}
23
+ {{- if .Values.cluster.clusterNetwork.services }}
24
+ {{- if .Values.cluster.clusterNetwork.services.cidrBlocks }}
25
+ services :
26
+ cidrBlocks :
27
+ {{- range .Values.cluster.clusterNetwork.services.cidrBlocks }}
28
+ - {{ . | quote }}
29
+ {{- end }}
30
+ {{- end }}
31
+ {{- end }}
32
+ {{- if .Values.cluster.clusterNetwork.serviceDomain }}
33
+ serviceDomain : {{ .Values.cluster.clusterNetwork.serviceDomain | default "cluster.local" | quote }}
34
+ {{- end }}
35
+ {{- end }}
9
36
controlPlaneRef :
10
37
apiVersion : controlplane.cluster.x-k8s.io/v1beta1
11
38
kind : KamajiControlPlane
Original file line number Diff line number Diff line change @@ -32,6 +32,19 @@ ipamProvider:
32
32
cluster :
33
33
# -- Cluster name. If unset, the release name will be used
34
34
name : " "
35
+ clusterNetwork :
36
+ # -- API Server port
37
+ apiServerPort : 6443
38
+ # -- Service Domain for cluster DNS
39
+ serviceDomain : cluster.local
40
+ pods :
41
+ # -- CIDR range for pods
42
+ cidrBlocks :
43
+ - " 10.93.0.0/16"
44
+ services :
45
+ # -- CIDR range for services
46
+ cidrBlocks :
47
+ - " 10.96.0.0/16"
35
48
controlPlane :
36
49
# -- Labels to add to the control plane
37
50
labels :
@@ -113,10 +126,6 @@ cluster:
113
126
114
127
nodePools :
115
128
- name : default
116
- # # -- Additional cloud-init files to pass to the machines
117
- # additionalCloudInitFiles: |
118
- # #cloud-config
119
- # timezone: Europe/Rome
120
129
# -- VSphere datastore to use
121
130
dataStore : " datastore"
122
131
# -- VSphere folder to store VMs
@@ -183,6 +192,10 @@ nodePools:
183
192
sshAuthorizedKeys : []
184
193
# -- sudoers configuration
185
194
sudo : ALL=(ALL) NOPASSWD:ALL
195
+ # # -- Additional cloud-init files to pass to the machines
196
+ # additionalCloudInitFiles: |
197
+ # #cloud-config
198
+ # timezone: Europe/Rome
186
199
# -- Labels to add to the node pool when joining the cluster
187
200
# labels: "node.kubernetes.io/node=foo"
188
201
# -- Taints to add to the node pool when joining the cluster
You can’t perform that action at this time.
0 commit comments