
cd with Argo CD and helm
FINAL ARCHITECTURE (CI + CD) Developer → GitHub (App Repo) → Jenkins (CI) → DockerHub (Image) → GitHub (Helm Repo update) → Argo CD (CD) → Kubernetes Cluster Important: Jenkins will NOT deploy with kubectl anymore. Jenkins will ONLY update Helm values in Git. Argo CD will detect change and deploy automatically. That is real GitOps. STEP 1 — Create Separate Helm (CD) Repository You need second repo: Example: manual-app-helm Structure: manual-app-helm/ ├── Chart.yaml ├── values.yaml └── templates/ ├── deployment.yaml └── service.yaml STEP 2 — Create Helm Chart On your machine: helm create manual-app It generates structure. Clean unnecessary files. values.yaml image : repository : aisalkyn85/manual-app tag : " latest" service : type : ClusterIP port : 3000 templates/deployment.yaml (important part) Inside container section: containers : - name : manual-app image : " {{ .Values.image.repository }}:{{ .Values.image.tag }}" ports : - containerPort : 3000 Commit this repo to GitHub. STEP 3 —
Continue reading on Dev.to Tutorial
Opens in a new tab



