openshift/chrony-config-template¶
Template name for chrony NTP configuration injected via MachineConfig
This parameter defines the template used to generate the chrony configuration
file (/etc/chrony.conf) on OpenShift nodes via MachineConfig.
The template is rendered during cluster creation and baked into the agent boot artifacts as a MachineConfig for both master and worker roles.
Requirements¶
- Template must exist in the content bundle or be accessible to Digital Rebar
- Template must generate valid chrony.conf syntax
- The
ntp-serversparameter must be set for the default template
Usage¶
Default Template¶
By default, this uses the chrony.conf.tmpl template which renders servers
from the ntp-servers parameter with standard RHCOS chrony defaults:
Custom Template¶
To use a custom template (or even a static file):
- Create your template (e.g.,
my-chrony.conf.tmpl) - Set the parameter:
Objects that Reference openshift/chrony-config-template¶
- templates openshift-cluster-join.sh.tmpl in Openshift as part of Contents (used)
Objects used by openshift/chrony-config-template¶
Not used in current content packs