Skip to content

Commit 0e3435c

Browse files
authored
Merge pull request #12 from manuelchichi/main
feature: Added NTP configuration to vSphere charts
2 parents 409d2d0 + c9d4f64 commit 0e3435c

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

charts/capi-vsphere/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ keywords:
77
- bootstrapping
88
- kubernetes
99
- vsphere
10-
version: 1.3.0
10+
version: 1.3.1
1111
appVersion: v1beta1
1212
home: https://cluster-api.sigs.k8s.io/
1313
sources:

charts/capi-vsphere/templates/kubeadm-control-plane.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ spec:
2020
{{- if $.Values.kubeadm.users }}
2121
users: {{- toYaml $.Values.kubeadm.users | nindent 8 }}
2222
{{- end }}
23+
{{- if $.Values.kubeadm.ntp }}
24+
ntp: {{- toYaml $.Values.kubeadm.ntp | nindent 8 }}
25+
{{- end }}
2326
useExperimentalRetryJoin: {{ .Values.kubeadm.useExperimentalRetryJoin }}
2427
{{- if .Values.kubeadm.preKubeadmCommands }}
2528
preKubeadmCommands:

charts/capi-vsphere/values-demo.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ vsphere:
2626

2727

2828
kubeadm:
29+
ntp:
30+
enabled: true
31+
servers:
32+
- IP_ADDRESS
2933
users:
3034
- name: mikroways
3135
sudo: ALL=(ALL) NOPASSWD:ALL

charts/capi-vsphere/values.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ kubeVip:
126126
kubeadm:
127127
preKubeadmCommands: []
128128
users: []
129+
ntp: {}
129130
files: []
130131
clusterConfiguration:
131132
apiServer:

0 commit comments

Comments
 (0)