Customer-Managed Kubernetes Secrets Changes
For security reasons, it may be necessary to update customer-managed Kubernetes Secrets that are used by the PAS-X MES System, for example, to rotate TLS certificates or update credentials.
The MES Operator monitors relevant resources for changes and may trigger a pod restart if the change affects the rendered Deployment pod template. No further manual intervention is required to restart the affected MES Services.
For technical details, see Automatic Restart of MES Services in Case of Configuration Changes.
|
Consult the Credential Rotation sub-sections from the Secrets documentation for guidance on how to rotate the Kubernetes Secrets. |
Outgoing TLS Truststore Certificate Rotation
For outgoing TLS communication, MES Services consume CA certificates from configured truststore Secrets. When a referenced truststore Secret is updated, the MES Operator restarts the services that consume this Secret.
For certificate configuration details, see Certificates.
Ingress TLS Certificate Rotation
Ingress TLS certificates are used for incoming HTTPS communication.
For Kubernetes Ingress, Kong applies updates to the referenced TLS Secret automatically without restarting MES Services.
For customer-provided controllers used with the generic mode, follow the controller’s documented certificate reload behavior.
For OpenShift edge Routes, the OpenShift router consumes the updated TLS Secret. MES Services receiving only HTTP behind the Ingress Controller or edge router do not require a restart for this identity certificate change.
For OpenShift Argo Workflows Route, Argo Server reads the configured TLS Secret at startup and does not hot-reload certificate changes. After updating or renewing the Secret, restart the Argo Server pods to load the new certificate.
For OpenShift edge Routes, Argo Workflows passthrough Route, and Argo CD, use the application-specific Route TLS configuration and checks below.
For additional information, see Incoming Connections.
Verify OpenShift Route TLS installation and renewal
Complete these checks after installation and repeat them after certificate renewal.
-
Check that the TLS Secret exists in the Route’s namespace and contains the expected
tls.crtandtls.keyidentity material. -
For an explicit
Certificateresource, check itsReadycondition and renewal status. -
For edge Routes, check the Role’s named-Secret
get,list, andwatchpermissions and the RoleBinding’s router ServiceAccount name and namespace. -
Check that the Route reports
Admitted=Truefor the intended router. -
For Argo Workflows passthrough, after renewing the Secret, restart the Argo Server pods and wait until the replacement pods are ready.
-
Connect to the external hostname and verify the served certificate, hostname coverage, certificate chain, and expiration date.
-
After renewal, repeat the external check to confirm that the endpoint serves the renewed certificate.
A Secret update alone does not prove that the endpoint serves the new certificate. For edge Routes, verify the certificate served by the router. For Argo Workflows passthrough, verify the certificate served by Argo Server after its restart.
Credential Secret Rotation
Credential Secrets that are consumed by MES Services can be rotated after installation. After the Secret is updated, the MES Operator restarts the affected services so that they consume the new credentials.
Examples:
-
Rotating the database credential Secret restarts all services that consume it.
-
Rotating the Auda credential Secret restarts only the Auda MES Service.
Image Pull Secret Rotation
Image pull Secrets are used by Kubernetes to pull container images. Rotating an image pull Secret is supported for maintenance activities such as token expiration handling.
The MES Operator does not restart MES Services when an image pull Secret changes. Running pods do not need the image pull Secret again until Kubernetes has to pull an image for a new pod.