Skip to content

Commit 3ee9d59

Browse files
committed
set ntp server and reload config
1 parent 9a71d14 commit 3ee9d59

File tree

4 files changed

+20
-1
lines changed

4 files changed

+20
-1
lines changed

deploy/osps/default/osp-flatcar-cloud-init.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,7 @@ spec:
550550
After={{ .ContainerRuntime }}.service
551551
{{- if eq .CloudProviderName "anexia" }}
552552
Requires={{ .ContainerRuntime }}.service rpc-statd.service
553+
Wants=apply-sysctl-settings.service
553554
{{- else }}
554555
Requires={{ .ContainerRuntime }}.service
555556
{{- end }}

deploy/osps/default/osp-flatcar.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -891,3 +891,12 @@ spec:
891891
PrintMotd no # handled by PAM
892892
PasswordAuthentication no
893893
ChallengeResponseAuthentication no
894+
- path: /etc/systemd/timesyncd.conf
895+
permissions: 644
896+
content:
897+
inline:
898+
data: |
899+
# ANXKUBE-1356 made us realise that we have to use our custom NTP servers,
900+
# because the official Flatcar ones might be blocked by a firewall.
901+
[Time]
902+
NTP=ntp0101.anexia-it.net ntp0401.anexia-it.net ntp8201.anexia-it.net

pkg/controllers/osc/testdata/osc-flatcar-aws-containerd.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,15 @@ spec:
561561
ChallengeResponseAuthentication no
562562
path: /etc/ssh/sshd_config
563563
permissions: 600
564+
- content:
565+
inline:
566+
data: |
567+
# ANXKUBE-1356 made us realise that we have to use our custom NTP servers,
568+
# because the official Flatcar ones might be blocked by a firewall.
569+
[Time]
570+
NTP=ntp0101.anexia-it.net ntp0401.anexia-it.net ntp8201.anexia-it.net
571+
path: /etc/systemd/timesyncd.conf
572+
permissions: 644
564573
- content:
565574
inline:
566575
data: |

pkg/controllers/osc/testdata/secret-flatcar-aws-containerd-provisioning.yaml

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)