OpenShift GitOps Operator Enhances Argo CD TLS Certificate Management
The Red Hat OpenShift GitOps operator 1.20.2 has rolled out with notable improvements in the management of TLS certificates for Argo CD, aiming to simplify and strengthen the trust mechanisms for application sources. Previously, Argo CD's repository server, responsible for fetching application sources from Git and building Kubernetes manifests, relied on two primary methods for managing TLS trust. The first involved leveraging the Mozilla CA bundle, which is shipped within Argo CD images, automatically trusting a wide array of public certificate authorities, similar to how web browsers operate. This method ensures that popular services and registries are trusted by default.
The second existing mechanism allowed administrators to pin additional certificates for internal infrastructure or private registries that are not signed by common CAs. This was achieved through a dedicated ConfigMap named `argocd-tls-certs-cm`, where hostnames could be mapped to PEM-encoded TLS certificate data. This enabled Argo CD to trust specific internal hosts when pulling application sources, while still defaulting to the Mozilla bundle for unpinned communications.
The latest update in OpenShift GitOps operator 1.20.2 introduces a powerful new configuration option: the ability to directly inject new certificates into the CA certificate bundle used by the repository server and its configuration management plug-ins. This enhancement provides administrators with greater flexibility and control. For instance, it allows for a scenario where the default Mozilla bundle can be entirely dropped (`dropImageCertificates: true`), and only explicitly pinned hostnames are permitted for application source URLs. This level of control ensures that application authors cannot inadvertently or intentionally override the administrator's defined trust boundaries, significantly bolstering security posture and compliance for organizations dealing with sensitive or internal application sources. This new feature is particularly valuable for organizations operating in highly regulated environments or those with extensive internal certificate infrastructures, ensuring that their GitOps workflows remain secure and compliant.
Read original source