Skip to content

Commit

Permalink
Support new config in chart
Browse files Browse the repository at this point in the history
  • Loading branch information
timebertt committed Sep 10, 2024
1 parent 73616db commit 731b94d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/yawol-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 6 additions & 0 deletions charts/yawol-controller/templates/yawol-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
8 changes: 8 additions & 0 deletions charts/yawol-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down

0 comments on commit 731b94d

Please sign in to comment.