hello-world-argocd

GitOps Suggested Flow

Glossary


Repository Types

  1. Application
  2. Application GitOps
  3. ArgoCD Configuration
  4. Helm base chart

The Process

Prerequisites

GitOps Repo Branch Protection

CODEOWNERS Rules

Effect:


Flows

Application Change

  1. Developer makes a source code change and merges to main.
  2. Application CI pipeline runs:
    • Generates a new version (e.g., 10.0.0-202508071234-abcdef12345)
    • Compiles and tests the application
    • Uploads a JAR with the new version
    • Uploads a Docker image with the new JAR
    • Creates a PR to the GitOps repo to update values.yml for the dev environment
    • PR auto-merges when the GitOps repo build passes
  3. ArgoCD detects the repo change:
    • Deploys the application to the dev environment
    • Triggers component tests in CI
  4. CI tool runs component tests:
    • After passing, tags the application and image
    • Repeats for other environments until production
    • Continuous delivery: PR for production version change requires manual merge
    • Continuous deployment: PR set to auto-merge

Config Change


New Application

  1. Create new application Git repo
  2. Ops team updates ArgoCD repo with new application configuration
  3. ArgoCD picks it up automatically and creates a new Application

Additional Topics

Security – Access

Security – Credentials

Database Schema Updates

Configuration – Reloading

Base Chart

Observability


Proof of Concept (POC)


Examples


Books