
Chapter 8 – Other Considerations
The Path to GitOps | 42
users can integrate existing Ansible automation playbooks into their GitOps work-
flows in various ways, using tools such as the Ansible Operator SDK, Ansible Tower,
and Ansible Runner integration points. I think it makes the most sense to integrate
components using the native integration with Red Hat Advanced Cluster Manage-
ment for Kubernetes [8.4]. The built-in native integration gives you a central way to
manage your cloud-native infrastructure alongside your traditional, non-declarative
infrastructure.
By using Red Hat Ansible Automation Platform in your GitOps workows, you pull your
traditional infrastructure and applications into the purview of your GitOps workows.
This lets you take advantage of the power of Git-based workows on your Kubernetes
cloud-native infrastructure.
Security
Security is a broad and complicated topic to discuss holistically. Within the context of
GitOps, the conversation has more to do with container and Kubernetes security prac-
tices. Red Hat Advanced Cluster Security for Kubernetes, based on the open source
project StackRox [8.5], is another great integration point with your GitOps workows.
Red Hat Advanced Cluster Security for Kubernetes [8.6] provides toolsets to address
the security needs of running infrastructure on Kubernetes.
Red Hat Advanced Cluster Security for Kubernetes offers visibility into the security
of your cluster, vulnerability management, and security compliance through auditing,
network segmentation awareness and conguration, security risk proling, security-re-
lated conguration management, threat detection, and incident response. The service
can be congured to identify vulnerabilities in your containerized workloads so you
have visibility into what is going into your clusters.
Red Hat Advanced Cluster Security for Kubernetes has many integration points, but
I see it as living in the CI/CD process. Scanning images before they are deployed can
help mitigate security breaches before they happen. Also, continuously scanning imag-
es in your environment alerts you to vulnerabilities faster so you can take action sooner.
Integrating Red Hat Advanced Cluster Security for Kubernetes into your CI/CD process
brings in security earlier in the process. This methodology is known as DevSecOps [8.7].
Base Image Selection
Base image selection is an important factor in security. It’s a lot easier to manage
updates to applications when they are all built using the same base image. Unifying the
containers on one base image lets your organization build a “golden image” undergird-
ing all of its applications. The image not only has the needed toolsets for every appli-
cation but includes all required security patches. When you update your base image,
every application built from that moment on will have all the necessary security patch-
es. You can take advantage of this efcient security practice by using Red Hat Universal
Base Image [8.8].
Whether or not you’re a Red Hat customer, Red Hat Universal Base Image (UBI)
gives you greater reliability, security, and performance afforded by official Red Hat
container images running OCI-compliant Linux containers. You can take the same
bits that are used to build Red Hat Enterprise Linux and use them in your contain-
erized applications. You can build a containerized application on UBI, push it to your
chosen container registry server, and share it. The Red Hat Universal Base Image al-
lows you to build, share, and collaborate on your containerized application wherever