File tree Expand file tree Collapse file tree 15 files changed +965
-2
lines changed
examples/starter-manual-sync/versions/0.0.1
workflows/argocd/versions/0.0.2 Expand file tree Collapse file tree 15 files changed +965
-2
lines changed Original file line number Diff line number Diff line change 3333 tasks :
3434 - name : sync
3535 templateRef :
36- name : argo-hub.argocd.0.0.1
36+ name : argo-hub.argocd.0.0.2
3737 template : sync
3838 arguments :
3939 parameters :
5252 value : ' token'
5353 - name : wait
5454 templateRef :
55- name : argo-hub.argocd.0.0.1
55+ name : argo-hub.argocd.0.0.2
5656 template : wait
5757 arguments :
5858 parameters :
Original file line number Diff line number Diff line change 1+ # ArgoCD
2+
3+ ## Summary
4+
5+ Multiple templates that enable operations that can be used to execute against ArgoCD applications.
6+
7+ ## Templates
8+
9+ 1 . [ action-abort] ( https://github.com/codefresh-io/argo-hub/blob/main/workflows/argocd/versions/0.0.1/docs/action-abort.md )
10+
11+ 1 . [ action-promote-full] ( https://github.com/codefresh-io/argo-hub/blob/main/workflows/argocd/versions/0.0.1/docs/action-promote-full.md )
12+
13+ 1 . [ action-restart] ( https://github.com/codefresh-io/argo-hub/blob/main/workflows/argocd/versions/0.0.1/docs/action-restart.md )
14+
15+ 1 . [ action-resume] ( https://github.com/codefresh-io/argo-hub/blob/main/workflows/argocd/versions/0.0.1/docs/action-resume.md )
16+
17+ 1 . [ action-retry] ( https://github.com/codefresh-io/argo-hub/blob/main/workflows/argocd/versions/0.0.1/docs/action-retry.md )
18+
19+ 1 . [ history] ( https://github.com/codefresh-io/argo-hub/blob/main/workflows/argocd/versions/0.0.1/docs/history.md )
20+
21+ 1 . [ list] ( https://github.com/codefresh-io/argo-hub/blob/main/workflows/argocd/versions/0.0.1/docs/list.md )
22+
23+ 1 . [ rollback] ( https://github.com/codefresh-io/argo-hub/blob/main/workflows/argocd/versions/0.0.1/docs/rollback.md )
24+
25+ 1 . [ sync] ( https://github.com/codefresh-io/argo-hub/blob/main/workflows/argocd/versions/0.0.1/docs/sync.md )
26+
27+ 1 . [ wait] ( https://github.com/codefresh-io/argo-hub/blob/main/workflows/argocd/versions/0.0.1/docs/wait.md )
28+
29+ ## Security
30+
31+ Minimal required permissions
32+
33+ [ Full rbac permissions list] ( https://github.com/codefresh-io/argo-hub/blob/main/workflows/argocd/versions/0.0.1/rbac.yaml )
Original file line number Diff line number Diff line change 1+ # action-abort
2+
3+ ## Summary
4+ Run the abort action for an application in ArgoCD. See ` argocd app action run --help ` with the ArgoCD CLI for flags
5+
6+ ## Inputs/Outputs
7+
8+ ### Inputs
9+ * app (required) - The app to abort
10+ * appKind - The kind of the application to run this action on (Default is ` Rollback ` )
11+ * flags - Any abort flags to set for the ArgoCD CLI
12+ * serverUrl (required) - The address to reach ArgoCD (if in cluster, something like ` argocd-server.<namespace>.svc.cluster.local ` )
13+ * opts - Global options for ArgoCd (ex. ` --grpc-web ` )
14+ * tokenSecret - The Kubernetes secret holding the token for communicating with ArgoCD. Default is ` argocd-token `
15+ * tokenSecretKey - The key in the Kubernetes secret with the ArgoCD token. Default is ` token `
16+ * xtraceOption - Whether to enabled xtrace (echoing the command before running it) or not (` -o ` and ` +o ` respectively). Default is "on" (` -o ` )
17+
18+
19+ ### Outputs
20+ No outputs
21+
22+ ## Examples
23+
24+ ### task Example
25+ ``` yaml
26+ apiVersion : argoproj.io/v1alpha1
27+ kind : Workflow
28+ metadata :
29+ generateName : argocd-action-abort-
30+ spec :
31+ entrypoint : main
32+ templates :
33+ - name : main
34+ dag :
35+ tasks :
36+ - name : action-abort
37+ templateRef :
38+ name : argo-hub.argocd.0.0.2
39+ template : action-abort
40+ arguments :
41+ parameters :
42+ - name : app
43+ value : ' demo-app'
44+ - name : appKind
45+ value : ' Rollback'
46+ - name : flags
47+ value : ' --all'
48+ - name : serverUrl
49+ value : ' argocd-server.argocd.svc.cluster.local'
50+ - name : opts
51+ value : ' --grpc-web'
52+ - name : tokenSecret
53+ value : ' my-k8s-secret'
54+ - name : tokenSecretKey
55+ value : ' argocd-token'
56+ ` ` `
Original file line number Diff line number Diff line change 1+ # action-promote-full
2+
3+ ## Summary
4+ Run the promote-full action for an application in ArgoCD. See ` argocd app action run --help ` with the ArgoCD CLI for flags
5+
6+ ## Inputs/Outputs
7+
8+ ### Inputs
9+ * app (required) - The app to promote-full
10+ * appKind - The kind of the application to run this action on (Default is ` Rollback ` )
11+ * flags - Any promote-full flags to set for the ArgoCD CLI
12+ * serverUrl (required) - The address to reach ArgoCD (if in cluster, something like ` argocd-server.<namespace>.svc.cluster.local ` )
13+ * opts - Global options for ArgoCd (ex. ` --grpc-web ` )
14+ * tokenSecret - The Kubernetes secret holding the token for communicating with ArgoCD. Default is ` argocd-token `
15+ * tokenSecretKey - The key in the Kubernetes secret with the ArgoCD token. Default is ` token `
16+ * xtraceOption - Whether to enabled xtrace (echoing the command before running it) or not (` -o ` and ` +o ` respectively). Default is "on" (` -o ` )
17+
18+
19+ ### Outputs
20+ No outputs
21+
22+ ## Examples
23+
24+ ### task Example
25+ ``` yaml
26+ apiVersion : argoproj.io/v1alpha1
27+ kind : Workflow
28+ metadata :
29+ generateName : argocd-action-promote-full-
30+ spec :
31+ entrypoint : main
32+ templates :
33+ - name : main
34+ dag :
35+ tasks :
36+ - name : action-promote-full
37+ templateRef :
38+ name : argo-hub.argocd.0.0.2
39+ template : action-promote-full
40+ arguments :
41+ parameters :
42+ - name : app
43+ value : ' demo-app'
44+ - name : appKind
45+ value : ' Rollback'
46+ - name : flags
47+ value : ' --all'
48+ - name : serverUrl
49+ value : ' argocd-server.argocd.svc.cluster.local'
50+ - name : opts
51+ value : ' --grpc-web'
52+ - name : tokenSecret
53+ value : ' my-k8s-secret'
54+ - name : tokenSecretKey
55+ value : ' argocd-token'
56+ ` ` `
Original file line number Diff line number Diff line change 1+ # action-restart
2+
3+ ## Summary
4+ Run the restart action for an application in ArgoCD. See ` argocd app action run --help ` with the ArgoCD CLI for flags
5+
6+ ## Inputs/Outputs
7+
8+ ### Inputs
9+ * app (required) - The app to restart
10+ * appKind - The kind of the application to run this action on (Default is ` Rollback ` )
11+ * flags - Any restart flags to set for the ArgoCD CLI
12+ * serverUrl (required) - The address to reach ArgoCD (if in cluster, something like ` argocd-server.<namespace>.svc.cluster.local ` )
13+ * opts - Global options for ArgoCd (ex. ` --grpc-web ` )
14+ * tokenSecret - The Kubernetes secret holding the token for communicating with ArgoCD. Default is ` argocd-token `
15+ * tokenSecretKey - The key in the Kubernetes secret with the ArgoCD token. Default is ` token `
16+ * xtraceOption - Whether to enabled xtrace (echoing the command before running it) or not (` -o ` and ` +o ` respectively). Default is "on" (` -o ` )
17+
18+
19+ ### Outputs
20+ No outputs
21+
22+ ## Examples
23+
24+ ### task Example
25+ ``` yaml
26+ apiVersion : argoproj.io/v1alpha1
27+ kind : Workflow
28+ metadata :
29+ generateName : argocd-action-restart-
30+ spec :
31+ entrypoint : main
32+ templates :
33+ - name : main
34+ dag :
35+ tasks :
36+ - name : action-restart
37+ templateRef :
38+ name : argo-hub.argocd.0.0.2
39+ template : action-restart
40+ arguments :
41+ parameters :
42+ - name : app
43+ value : ' demo-app'
44+ - name : appKind
45+ value : ' Rollback'
46+ - name : flags
47+ value : ' --all'
48+ - name : serverUrl
49+ value : ' argocd-server.argocd.svc.cluster.local'
50+ - name : opts
51+ value : ' --grpc-web'
52+ - name : tokenSecret
53+ value : ' my-k8s-secret'
54+ - name : tokenSecretKey
55+ value : ' argocd-token'
56+ ` ` `
Original file line number Diff line number Diff line change 1+ # action-resume
2+
3+ ## Summary
4+ Run the resume action for an application in ArgoCD. See ` argocd app action run --help ` with the ArgoCD CLI for flags
5+
6+ ## Inputs/Outputs
7+
8+ ### Inputs
9+ * app (required) - The app to resume
10+ * appKind - The kind of the application to run this action on (Default is ` Rollback ` )
11+ * flags - Any resume flags to set for the ArgoCD CLI
12+ * serverUrl (required) - The address to reach ArgoCD (if in cluster, something like ` argocd-server.<namespace>.svc.cluster.local ` )
13+ * opts - Global options for ArgoCd (ex. ` --grpc-web ` )
14+ * tokenSecret - The Kubernetes secret holding the token for communicating with ArgoCD. Default is ` argocd-token `
15+ * tokenSecretKey - The key in the Kubernetes secret with the ArgoCD token. Default is ` token `
16+ * xtraceOption - Whether to enabled xtrace (echoing the command before running it) or not (` -o ` and ` +o ` respectively). Default is "on" (` -o ` )
17+
18+
19+ ### Outputs
20+ No outputs
21+
22+ ## Examples
23+
24+ ### task Example
25+ ``` yaml
26+ apiVersion : argoproj.io/v1alpha1
27+ kind : Workflow
28+ metadata :
29+ generateName : argocd-action-resume-
30+ spec :
31+ entrypoint : main
32+ templates :
33+ - name : main
34+ dag :
35+ tasks :
36+ - name : action-resume
37+ templateRef :
38+ name : argo-hub.argocd.0.0.2
39+ template : action-resume
40+ arguments :
41+ parameters :
42+ - name : app
43+ value : ' demo-app'
44+ - name : appKind
45+ value : ' Rollback'
46+ - name : flags
47+ value : ' --all'
48+ - name : serverUrl
49+ value : ' argocd-server.argocd.svc.cluster.local'
50+ - name : opts
51+ value : ' --grpc-web'
52+ - name : tokenSecret
53+ value : ' my-k8s-secret'
54+ - name : tokenSecretKey
55+ value : ' argocd-token'
56+ ` ` `
Original file line number Diff line number Diff line change 1+ # action-retry
2+
3+ ## Summary
4+ Run the retry action for an application in ArgoCD. See ` argocd app action run --help ` with the ArgoCD CLI for flags
5+
6+ ## Inputs/Outputs
7+
8+ ### Inputs
9+ * app (required) - The app to retry
10+ * appKind - The kind of the application to run this action on (Default is ` Rollback ` )
11+ * flags - Any retry flags to set for the ArgoCD CLI
12+ * serverUrl (required) - The address to reach ArgoCD (if in cluster, something like ` argocd-server.<namespace>.svc.cluster.local ` )
13+ * opts - Global options for ArgoCd (ex. ` --grpc-web ` )
14+ * tokenSecret - The Kubernetes secret holding the token for communicating with ArgoCD. Default is ` argocd-token `
15+ * tokenSecretKey - The key in the Kubernetes secret with the ArgoCD token. Default is ` token `
16+ * xtraceOption - Whether to enabled xtrace (echoing the command before running it) or not (` -o ` and ` +o ` respectively). Default is "on" (` -o ` )
17+
18+
19+ ### Outputs
20+ No outputs
21+
22+ ## Examples
23+
24+ ### task Example
25+ ``` yaml
26+ apiVersion : argoproj.io/v1alpha1
27+ kind : Workflow
28+ metadata :
29+ generateName : argocd-action-retry-
30+ spec :
31+ entrypoint : main
32+ templates :
33+ - name : main
34+ dag :
35+ tasks :
36+ - name : action-retry
37+ templateRef :
38+ name : argo-hub.argocd.0.0.2
39+ template : action-retry
40+ arguments :
41+ parameters :
42+ - name : app
43+ value : ' demo-app'
44+ - name : appKind
45+ value : ' Rollback'
46+ - name : flags
47+ value : ' --all'
48+ - name : serverUrl
49+ value : ' argocd-server.argocd.svc.cluster.local'
50+ - name : opts
51+ value : ' --grpc-web'
52+ - name : tokenSecret
53+ value : ' my-k8s-secret'
54+ - name : tokenSecretKey
55+ value : ' argocd-token'
56+ ` ` `
You can’t perform that action at this time.
0 commit comments