Skip to content

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-servers parameter 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:

YAML
openshift/chrony-config-template: chrony.conf.tmpl

Custom Template

To use a custom template (or even a static file):

  1. Create your template (e.g., my-chrony.conf.tmpl)
  2. Set the parameter:
YAML
openshift/chrony-config-template: my-chrony.conf.tmpl

Objects that Reference openshift/chrony-config-template

Objects used by openshift/chrony-config-template

Not used in current content packs