GithubAction which handle base CRUD on given application name
Required ArgoCD token.
Required Entrypoint of ArgoCD applicatin (e.g https://argocd.example.com).
Destination cluster name.
Destination cluster server.
Required Name of the application to create/update/delete.
Required Name of Helm chart to apply.
Required Helm chart version to apply.
Required Helm repository which holds application chart
Namespace when application is/will be deployed. (default: "default"
).
Project name where application should be deployed. (default: ""
)
Helm parameters of the application to create/update in format 'name=value;name=value;...'. (default: ""
)
One of create, read|get, update, delete. (default: "create"
)
Max retry of the ArgoCD application creation. (default: "15"
)
Time To Sleep before each application status check. (default: "10"
)
Do the action also sync at the end. (default: true
)
The application specs in JSON strigified aspec
uses: inarix/ga-argocd-action@v1
with:
argocdToken: ${{secrets.ARGOCD_TOKEN}}
argocdEndpoint: "https://argocd.example.com"
destClusterName: ${{secrets.CLUSTER_NAME}}
applicationName: "nginx"
helmChartName: "nginx"
helmChartVersion: "9.7.0"
helmRepoUrl: "https://charts.bitnami.com/bitnami"
actionName: "create"
applicationParams: "image.debug=true;replicaCount=2;nodeSelector.name=prod"