Skip to content

ArgoCD GitOps application configuration

ArgoCD GitOps application configuration involves the declarative setup and management of applications within an ArgoCD environment using Git as the single source of truth^[400-devops-04-ci-cd-pipelines-k8s-argocd-argocd-app-config-readme.md]. This process typically requires installing ArgoCD into a Kubernetes cluster and accessing its web interface to manage deployments^[400-devops-04-ci-cd-pipelines-k8s-argocd-argocd-app-config-readme.md].

Installation and Access

ArgoCD is installed into a dedicated namespace within a Kubernetes cluster by applying the official stable installation manifests^[400-devops-04-ci-cd-pipelines-k8s-argocd-argocd-app-config-readme.md]. Once the services are deployed, the UI can be accessed locally using port-forwarding to expose the argocd-server service^[400-devops-04-ci-cd-pipelines-k8s-argocd-argocd-app-config-readme.md].

Authentication is handled initially via a secret containing a auto-generated password for the admin user^[400-devops-04-ci-cd-pipelines-k8s-argocd-argocd-app-config-readme.md]. This initial secret can be retrieved and decoded, and it is recommended security practice to change or delete this default credential after the first login^[400-devops-04-ci-cd-pipelines-k8s-argocd-argocd-app-config-readme.md].

Configuration Sources

The core of the GitOps workflow relies on external repositories that house the application definitions^[400-devops-04-ci-cd-pipelines-k8s-argocd-argocd-app-config-readme.md]. A typical configuration setup consists of two distinct repository roles:

  • Config Repository: Stores the manifests and configuration definitions required for the application^[400-devops-04-ci-cd-pipelines-k8s-argocd-argocd-app-config-readme.md].
  • Docker Repository: Contains the container images that are deployed as part of the application lifecycle^[400-devops-04-ci-cd-pipelines-k8s-argocd-argocd-app-config-readme.md].

The declarative setup allows ArgoCD to continuously monitor these sources and reconcile the cluster state with the desired configuration defined in Git^[400-devops-04-ci-cd-pipelines-k8s-argocd-argocd-app-config-readme.md].

Sources

^[400-devops-04-ci-cd-pipelines-k8s-argocd-argocd-app-config-readme.md]