Skip to content


The Argo CD Operator offers support for managing Ingress resources to access the Argo CD resources.


This guide builds on the OLM Install Guide and assumes a Kubernetes cluster based on minikube.

Ingress Controller

Ensure that the ingress addon is enabled for the minikube cluster.

minikube addons list -p argocd
- addon-manager: enabled
- dashboard: enabled
- default-storageclass: enabled
- efk: disabled
- freshpod: disabled
- gvisor: disabled
- heapster: disabled
- helm-tiller: disabled
- ingress: enabled
- ingress-dns: disabled
- logviewer: disabled
- metrics-server: disabled
- nvidia-driver-installer: disabled
- nvidia-gpu-device-plugin: disabled
- registry: disabled
- registry-creds: disabled
- storage-provisioner: enabled
- storage-provisioner-gluster: disabled

The addon is disabled by default, enable it if necessary.

minikube addons enable ingress -p argocd

Verify that the ingress Pod is running.

kubectl get pods -A
NAMESPACE              NAME                                                    READY   STATUS    RESTARTS   AGE
argocd                 example-argocd-application-controller-bdf64bc95-x9t7d   1/1     Running   0          92m
argocd                 example-argocd-dex-server-6b7b48d55d-xx4gn              1/1     Running   0          92m
argocd                 example-argocd-redis-7667b47db5-hpfzq                   1/1     Running   0          92m
argocd                 example-argocd-repo-server-c7f9889cd-555ld              1/1     Running   0          92m
argocd                 example-argocd-server-d468768b-l5wnf                    1/1     Running   0          92m
kube-system            coredns-5644d7b6d9-8rn4c                                1/1     Running   0          2d11h
kube-system            coredns-5644d7b6d9-ps44w                                1/1     Running   0          2d11h
kube-system            etcd-minikube                                           1/1     Running   0          2d11h
kube-system            kube-addon-manager-minikube                             1/1     Running   0          2d11h
kube-system            kube-apiserver-minikube                                 1/1     Running   0          2d11h
kube-system            kube-controller-manager-minikube                        1/1     Running   0          2d11h
kube-system            kube-proxy-8g2n4                                        1/1     Running   0          2d11h
kube-system            kube-scheduler-minikube                                 1/1     Running   0          2d11h
kube-system            nginx-ingress-controller-6fc5bcc8c9-vg26z               1/1     Running   0          9h
kube-system            storage-provisioner                                     1/1     Running   0          2d11h
kubernetes-dashboard   dashboard-metrics-scraper-76585494d8-2ksmc              1/1     Running   0          5h55m
kubernetes-dashboard   kubernetes-dashboard-57f4cb4545-w26nl                   1/1     Running   0          5h55m
olm                    catalog-operator-7dfcfcb46b-xxjdq                       1/1     Running   0          2d11h
olm                    olm-operator-76d446f94c-pn6kx                           1/1     Running   0          2d11h
olm                    operatorhubio-catalog-h4hc8                             1/1     Running   0          2d11h
olm                    packageserver-8478b89d9d-mtp56                          1/1     Running   0          45m
olm                    packageserver-8478b89d9d-vvswc                          1/1     Running   0          45m

In this example, the ingress controller is running in the kube-system namespace.

ArgoCD Resource

Create an ArgoCD resource that enables ingress. Note that in this case we run the Argo CD server in insecure mode and terminate TLS at the Ingress controller. See examples/argocd-ingress.yaml for this example.

kind: ArgoCD
  name: example-argocd
    example: ingress
      enabled: true
    insecure: true

Create the ArgoCD with Ingress support.

kubectl create -n argocd -f examples/argocd-ingress.yaml

By default, the Argo CD Operator creates two Ingress resources; one for the HTTP API/UI and the other for GRPC.

kubectl get ingress -n argocd
NAME                  HOSTS                 ADDRESS          PORTS     AGE
example-argocd        example-argocd   80, 443   68m
example-argocd-grpc   example-argocd-grpc   80, 443   68m

By default, the Host for each Ingress is based on the name of the ArgoCD resource. The Host can be overridden if needed.


In this example there are two hostnames that we will use to access the Argo CD cluster.

Add entries to the /etc/hosts file on the local machine, which is needed to access the services running locally on minikube.

echo "`minikube ip -p argocd` example-argocd example-argocd-grpc example-argocd-grafana example-argocd-prometheus" | sudo tee -a /etc/hosts example-argocd example-argocd-grpc example-argocd-grafana example-argocd-prometheus


The argocd client uses GRPC to communicate with the server. We can perform a login to verify access to the Argo CD server.

The default password for the admin user can be obtained using the below command.

kubectl get secret example-argocd-cluster -n argocd -ojsonpath='{.data.admin\.password}' | base64 -d ; echo

The --insecure flag is required because we are using the default self-signed certificate.

argocd login example-argocd-grpc --insecure --username admin 
'admin' logged in successfully
Context 'example-argocd-grpc' updated

Create the example guestbook application based on the Argo CD documentation.

argocd app create guestbook \
  --insecure \
  --repo \
  --path guestbook \
  --sync-policy automated \
  --dest-server https://kubernetes.default.svc \
  --dest-namespace argocd
application 'guestbook' created

Verify the application was created and has been synced.

argocd app list --insecure
NAME       CLUSTER                         NAMESPACE  PROJECT  STATUS  HEALTH   SYNCPOLICY  CONDITIONS  REPO                                                 PATH       TARGET
guestbook  https://kubernetes.default.svc  argocd     default  Synced  Healthy  Auto        <none>  guestbook

Delete the application when finished.

argocd app delete guestbook --insecure


The server UI should be available at https://example-argocd/ and the default password for the admin user can be obtained using the below command.

kubectl get secret example-argocd-cluster -n argocd -ojsonpath='{.data.admin\.password}' | base64 -d ; echo


kubectl delete -n argocd -f examples/argocd-ingress.yaml