Skip to content

Commit

Permalink
Update doc references to point to v2.0.0-beta1. Fix secrets example
Browse files Browse the repository at this point in the history
  • Loading branch information
jessesuen committed Jan 18, 2018
1 parent 549870c commit bf2b376
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ARTIFACT_REPO.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Example:
```
$ kubectl edit configmap workflow-controller-configmap -n kube-system
...
executorImage: argoproj/argoexec:v2.0.0-alpha3
executorImage: argoproj/argoexec:v2.0.0-beta1
artifactRepository:
s3:
bucket: my-bucket
Expand Down
4 changes: 2 additions & 2 deletions demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $ brew install argoproj/tap/argo
```
On Linux:
```
$ curl -sSL -o /usr/local/bin/argo https://github.com/argoproj/argo/releases/download/v2.0.0-alpha3/argo-linux-amd64
$ curl -sSL -o /usr/local/bin/argo https://github.com/argoproj/argo/releases/download/v2.0.0-beta1/argo-linux-amd64
$ chmod +x /usr/local/bin/argo
```

Expand Down Expand Up @@ -89,7 +89,7 @@ Edit the workflow-controller config map to reference the service name (argo-arti
```
$ kubectl edit configmap workflow-controller-configmap -n kube-system
...
executorImage: argoproj/argoexec:v2.0.0-alpha3
executorImage: argoproj/argoexec:v2.0.0-beta1
artifactRepository:
s3:
bucket: my-bucket
Expand Down
6 changes: 3 additions & 3 deletions examples/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
generateName: hello-world-
generateName: secrets-
spec:
entrypoint: whalesay
entrypoint: print-secret
# To use a secret as files, it is exactly the same as mounting secrets as in
# a pod spec. First add an volume entry in the spec.volumes[]. Name the volume
# anything. spec.volumes[].secret.secretName should match the name of the k8s
Expand All @@ -23,7 +23,7 @@ spec:
secret:
secretName: my-secret
templates:
- name: whalesay
- name: print-secret
container:
image: alpine:3.7
command: [sh, -c]
Expand Down

0 comments on commit bf2b376

Please sign in to comment.