Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MG40/36c0528471e28fa21f89f211654eb033 to your computer and use it in GitHub Desktop.
Save MG40/36c0528471e28fa21f89f211654eb033 to your computer and use it in GitHub Desktop.
Commands for argocd course
Lab 1, step 8
argocd app create roar-deploy-k8s --repo https://github.com/brentlaster/roar-deploy-k8s --path . --dest-server $CLUSTER_IP --dest-namespace roar
Lab 3, step 3
argocd repo add git@10.0.2.15:/git/repos/roar-k8s-helm.git --ssh-private-key-path ~/.ssh/id_rsa
Lab 4, step 9
argocd proj create jenkins-proj -d https://10.0.2.15:8443,* -s git@10.0.2.15:/git/repos/roar-min-deploy.git
Lab 4, step 11
argocd repo add git@10.0.2.15:/git/repos/roar-min-deploy.git --ssh-private-key-path ~/.ssh/id_rsa
Lab 4, step 12
argocd app create jenkins-stage --project jenkins-proj --repo git@10.0.2.15:/git/repos/roar-min-deploy.git --dest-server https://10.0.2.15:8443 --path overlays/stage --sync-policy auto
Lab 5, step 2
argocd app create jenkins-prod --project jenkins-proj --repo git@10.0.2.15:/git/repos/roar-min-deploy.git --dest-server https://10.0.2.15:8443 --path overlays/prod --sync-policy auto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment