Skip to content

Commit 53730e8

Browse files
agilgur5Joibel
authored andcommitted
fix(docs): replace outdated whalesay image with busybox (argoproj#13429)
Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
1 parent 496a9eb commit 53730e8

87 files changed

Lines changed: 534 additions & 557 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/cluster-workflow-templates.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ can be created cluster scoped like `ClusterRole` and can be accessed across all
1515
apiVersion: argoproj.io/v1alpha1
1616
kind: ClusterWorkflowTemplate
1717
metadata:
18-
name: cluster-workflow-template-whalesay-template
18+
name: cluster-workflow-template-print-message
1919
spec:
2020
templates:
21-
- name: whalesay-template
21+
- name: print-message
2222
inputs:
2323
parameters:
2424
- name: message
2525
container:
26-
image: docker/whalesay
27-
command: [cowsay]
26+
image: busybox
27+
command: [echo]
2828
args: ["{{inputs.parameters.message}}"]
2929
```
3030
@@ -41,14 +41,14 @@ kind: Workflow
4141
metadata:
4242
generateName: workflow-template-hello-world-
4343
spec:
44-
entrypoint: whalesay
44+
entrypoint: hello-world
4545
templates:
46-
- name: whalesay
46+
- name: hello-world
4747
steps: # You should only reference external "templates" in a "steps" or "dag" "template".
48-
- - name: call-whalesay-template
48+
- - name: call-print-message
4949
templateRef: # You can reference a "template" from another "WorkflowTemplate or ClusterWorkflowTemplate" using this field
50-
name: cluster-workflow-template-whalesay-template # This is the name of the "WorkflowTemplate or ClusterWorkflowTemplate" CRD that contains the "template" you want
51-
template: whalesay-template # This is the name of the "template" you want to reference
50+
name: cluster-workflow-template-print-message # This is the name of the "WorkflowTemplate or ClusterWorkflowTemplate" CRD that contains the "template" you want
51+
template: print-message # This is the name of the "template" you want to reference
5252
clusterScope: true # This field indicates this templateRef is pointing ClusterWorkflowTemplate
5353
arguments: # You can pass in arguments as normal
5454
parameters:
@@ -70,19 +70,19 @@ kind: ClusterWorkflowTemplate
7070
metadata:
7171
name: cluster-workflow-template-submittable
7272
spec:
73-
entrypoint: whalesay-template
73+
entrypoint: print-message
7474
arguments:
7575
parameters:
7676
- name: message
7777
value: hello world
7878
templates:
79-
- name: whalesay-template
79+
- name: print-message
8080
inputs:
8181
parameters:
8282
- name: message
8383
container:
84-
image: docker/whalesay
85-
command: [cowsay]
84+
image: busybox
85+
command: [echo]
8686
args: ["{{inputs.parameters.message}}"]
8787
8888
```
@@ -95,7 +95,7 @@ kind: Workflow
9595
metadata:
9696
generateName: cluster-workflow-template-hello-world-
9797
spec:
98-
entrypoint: whalesay-template
98+
entrypoint: print-message
9999
arguments:
100100
parameters:
101101
- name: message

docs/configure-archive-logs.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ metadata:
3434
generateName: archive-location-
3535
spec:
3636
archiveLogs: true
37-
entrypoint: whalesay
37+
entrypoint: hello-world
3838
templates:
39-
- name: whalesay
39+
- name: hello-world
4040
container:
41-
image: docker/whalesay:latest
42-
command: [cowsay]
41+
image: busybox
42+
command: [echo]
4343
args: ["hello world"]
4444
```
4545
@@ -51,12 +51,12 @@ kind: Workflow
5151
metadata:
5252
generateName: archive-location-
5353
spec:
54-
entrypoint: whalesay
54+
entrypoint: hello-world
5555
templates:
56-
- name: whalesay
56+
- name: hello-world
5757
container:
58-
image: docker/whalesay:latest
59-
command: [cowsay]
58+
image: busybox
59+
command: [echo]
6060
args: ["hello world"]
6161
archiveLocation:
6262
archiveLogs: true

docs/cron-workflows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ spec:
2020
concurrencyPolicy: "Replace"
2121
startingDeadlineSeconds: 0
2222
workflowSpec:
23-
entrypoint: whalesay
23+
entrypoint: date
2424
templates:
25-
- name: whalesay
25+
- name: date
2626
container:
2727
image: alpine:3.6
2828
command: [sh, -c]

docs/debug-pause.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ kind: Workflow
1919
metadata:
2020
generateName: pause-after-
2121
spec:
22-
entrypoint: whalesay
22+
entrypoint: argosay
2323
templates:
24-
- name: whalesay
24+
- name: argosay
2525
container:
2626
image: argoproj/argosay:v2
2727
env:
@@ -43,9 +43,9 @@ kind: Workflow
4343
metadata:
4444
generateName: pause-after-
4545
spec:
46-
entrypoint: whalesay
46+
entrypoint: argosay
4747
templates:
48-
- name: whalesay
48+
- name: argosay
4949
container:
5050
image: argoproj/argosay:v2
5151
env:

docs/events.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The event endpoint will always return in under 10 seconds because the event will
4040
## Workflow Template triggered by the event
4141

4242
Before the binding between an event and a workflow template, you must create the workflow template that you want to trigger.
43-
The following one takes in input the "message" parameter specified into the API call body, passed through the `WorkflowEventBinding` parameters section, and finally resolved here as the message of the `whalesay` image.
43+
The following one takes in input the "message" parameter specified into the API call body, passed through the `WorkflowEventBinding` parameters section, and finally resolved here as the message of the `main` template.
4444

4545
```yaml
4646
apiVersion: argoproj.io/v1alpha1
@@ -56,8 +56,8 @@ spec:
5656
- name: message
5757
value: "{{workflow.parameters.message}}"
5858
container:
59-
image: docker/whalesay:latest
60-
command: [cowsay]
59+
image: busybox
60+
command: [echo]
6161
args: ["{{inputs.parameters.message}}"]
6262
entrypoint: main
6363
```

docs/memoization.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ kind: Workflow
3232
metadata:
3333
generateName: memoized-workflow-
3434
spec:
35-
entrypoint: whalesay
35+
entrypoint: print-message
3636
templates:
37-
- name: whalesay
37+
- name: print-message
3838
memoize:
3939
key: "{{inputs.parameters.message}}"
4040
maxAge: "10s"
4141
cache:
4242
configMap:
43-
name: whalesay-cache
43+
name: print-message-cache
4444
```
4545
4646
[Find a simple example for memoization here](https://github.com/argoproj/argo-workflows/blob/main/examples/memoize-simple.yaml).

docs/rest-examples.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ curl --request POST \
3030
"spec": {
3131
"templates": [
3232
{
33-
"name": "whalesay",
33+
"name": "hello-world",
3434
"arguments": {},
3535
"inputs": {},
3636
"outputs": {},
3737
"metadata": {},
3838
"container": {
3939
"name": "",
40-
"image": "docker/whalesay:latest",
40+
"image": "busybox",
4141
"command": [
42-
"cowsay"
42+
"echo"
4343
],
4444
"args": [
4545
"hello world"
@@ -48,7 +48,7 @@ curl --request POST \
4848
}
4949
}
5050
],
51-
"entrypoint": "whalesay",
51+
"entrypoint": "hello-world",
5252
"arguments": {}
5353
}
5454
}

docs/synchronization.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ kind: Workflow
3838
metadata:
3939
generateName: synchronization-wf-level-
4040
spec:
41-
entrypoint: whalesay
41+
entrypoint: hello-world
4242
synchronization:
4343
semaphore:
4444
configMapKeyRef:
4545
name: my-config
4646
key: workflow
4747
templates:
48-
- name: whalesay
48+
- name: hello-world
4949
container:
50-
image: docker/whalesay:latest
51-
command: [cowsay]
50+
image: busybox
51+
command: [echo]
5252
args: ["hello world"]
5353
```
5454

@@ -60,15 +60,15 @@ kind: Workflow
6060
metadata:
6161
generateName: synchronization-wf-level-
6262
spec:
63-
entrypoint: whalesay
63+
entrypoint: hello-world
6464
synchronization:
6565
mutex:
6666
name: workflow
6767
templates:
68-
- name: whalesay
68+
- name: hello-world
6969
container:
70-
image: docker/whalesay:latest
71-
command: [cowsay]
70+
image: busybox
71+
command: [echo]
7272
args: ["hello world"]
7373
```
7474

docs/template-defaults.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
templates:
2525
- name: main
2626
container:
27-
image: docker/whalesay:latest
27+
image: busybox
2828
```
2929
3030
[template defaults example](https://raw.githubusercontent.com/argoproj/argo-workflows/main/examples/template-defaults.yaml)

docs/tolerating-pod-deletion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spec:
2929
templates:
3030
- name: main
3131
container:
32-
image: docker/whalesay:latest
32+
image: busybox
3333
command:
3434
- sleep
3535
- 30s

0 commit comments

Comments
 (0)