ArgoCD is gaining its popularity in GitOps and DevOps space as de-facto tool for application deployment based on Kubernetes and Openshift. For custom domain, it is common to use Kubernetes’s ingress to register the domain name. In Red Hat OpenShift, it will be using
route . There are many example of using ArgoCD with Helm Chart as deployment for ingress, however I didn’t really find an example for OpenShift route, therefore this post shows a simple example of OpenShift route.
For this example, I am using
helm-guestbook example from ArgoCD github (https://github.com/argoproj/argocd-example-apps). I added a new file called
templates folder and modify
value.yaml to supply the custom domain address, certificate and private key for TLS/SSL communication.
Configure ArgoCD by adding new application and reference to your helm-chart repository.
Application is created successfully, the
guestbook will be deployed automatically into the specified namespace.
Back in OpenShift console, you will see the created
Full Git Repository is at https://github.com/ongkhaiwei/argocd-example-apps