argocd deploying helm application using command line and yaml
You can deploy argocd helm application using the command line. This is when you wanted to use a git repo and specify a path
argocd app create helm-guestbook --repo https://github.com/argoproj/argocd-example-apps.git --path helm-guestbook --dest-namespace default --dest-server https://kubernetes.default.svc --helm-set replicaCount=2
Or you can use the following yaml to deploy your sample helm application hosted in a git. (Not from a helm repo - for that you need to specify chart name). This is solely for deploying from a git source that contains helm deployment.
Then run the following command to create argocd application
argocd app create -f helm-local-deployment.yaml
For more information about the Application crd spec, please refer to there.
https://argo-cd.readthedocs.io/en/stable/user-guide/application-specification/
Comments