From 68885645ce98b4ff6a559c7f00b3aedeb9c55195 Mon Sep 17 00:00:00 2001 From: Tim Ebert Date: Mon, 9 Sep 2024 14:44:56 +0200 Subject: [PATCH] Support new config in chart --- charts/yawol-controller/Chart.yaml | 4 ++-- charts/yawol-controller/templates/yawol-controller.yaml | 6 ++++++ charts/yawol-controller/values.yaml | 8 ++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/charts/yawol-controller/Chart.yaml b/charts/yawol-controller/Chart.yaml index a4c2650a..6de988e3 100644 --- a/charts/yawol-controller/Chart.yaml +++ b/charts/yawol-controller/Chart.yaml @@ -3,5 +3,5 @@ description: Helm chart for yawol-controller name: yawol-controller sources: - https://github.com/stackitcloud/yawol -version: "0.24.0" -appVersion: v0.24.0 +version: "0.25.0" +appVersion: v0.25.0 diff --git a/charts/yawol-controller/templates/yawol-controller.yaml b/charts/yawol-controller/templates/yawol-controller.yaml index 2a8a7c3d..4dafd93f 100644 --- a/charts/yawol-controller/templates/yawol-controller.yaml +++ b/charts/yawol-controller/templates/yawol-controller.yaml @@ -122,6 +122,12 @@ spec: {{- if .Values.yawolController.errorBackoffMaxDelay }} - --error-backoff-max-delay={{ .Values.yawolController.errorBackoffMaxDelay }} {{- end }} + {{- range .Values.ntp.pools }} + - --ntp-pool={{ . }} + {{- end }} + {{- range .Values.ntp.servers }} + - --ntp-server={{ . }} + {{- end }} {{- include "logFlags" . | indent 10 }} env: {{- if .Values.namespace }} diff --git a/charts/yawol-controller/values.yaml b/charts/yawol-controller/values.yaml index 6b027d0d..b9b536a2 100644 --- a/charts/yawol-controller/values.yaml +++ b/charts/yawol-controller/values.yaml @@ -88,6 +88,14 @@ resources: #openstackTimeout: 20s #yawolletRequeueTime: 60 +# NTP pools/servers to configure on LoadBalancerMachines. +# If neither pools nor servers are set, it defaults to using pool.ntp.org. +ntp: + # list of NTP pools + pools: [] + # list of individual NTP servers + servers: [] + # the name of the Kubernetes secret that contains the .openrc file contents # with the correct permissions to connect to the OpenStack API #