Create an OpenShift ConfigMap with the localtime file to ensure PEM uses the correct timezone.
About this task
PEM requires a ConfigMap containing the localtime file to ensure that the application uses the correct timezone for logging and scheduling operations.
-
Create a ConfigMap with the localtime file
oc create configmap <configmap-name> --from-file=/etc/localtime
Replace <configmap-name> with a descriptive name for your ConfigMap, such as pem-timezone.
-
Verify the ConfigMap creation
oc get configmap <configmap-name>
-
Reference the ConfigMap in values.yaml
In your Helm values file, set the timezone ConfigMap name:
timezone:
configmapname: <configmap-name>