This repository contains a simple application scaffold for ArgoCD deployment demonstration.
k8s/- Kubernetes manifestsnamespace.yaml- Namespace definitiondeployment.yaml- Application deploymentservice.yaml- Service definition
To deploy this with ArgoCD, create an Application resource pointing to this repository:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: example-app
namespace: argocd
spec:
project: default
source:
repoURL: <YOUR_REPO_URL>
targetRevision: HEAD
path: k8s
destination:
server: https://kubernetes.default.svc
namespace: example-app
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=trueArgoCD will automatically sync and deploy the application when connected to this repository.