Skip to content

Commit

Permalink
Remove ArtifactsOut from docs (#4109)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavannd1 authored and Ilya Kislenko committed Oct 12, 2018
1 parent 119a691 commit f7fb375
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion docs/templates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ The TemplateParam struct is defined as:
Deployment DeploymentParams
PVC PVCParams
ArtifactsIn map[string]crv1alpha1.Artifact // A Kanister Artifact
ArtifactsOut map[string]crv1alpha1.Artifact
Profile *Profile
ConfigMaps map[string]v1.ConfigMap
Secrets map[string]v1.Secret
Expand Down
4 changes: 2 additions & 2 deletions docs/tooling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -354,9 +354,9 @@ The following snippet is an example of using kando from inside a Blueprint.
.. code-block:: console
kando location push --profile '{{ .Profile }}' --path '{{ .ArtifactsOut }}' -
kando location push --profile '{{ .Profile }}' --path '/backup/path' -
kando location delete --profile '{{ .Profile }}' --path '{{ .ArtifactsOut }}'
kando location delete --profile '{{ .Profile }}' --path '/backup/path'
Docker Image
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ ConfigMap.
- |
AWS_ACCESS_KEY_ID={{ .Secrets.aws.Data.aws_access_key_id | toString }} \
AWS_SECRET_ACCESS_KEY={{ .Secrets.aws.Data.aws_secret_access_key | toString }} \
aws s3 cp /var/log/time.log {{ .ArtifactsOut.timeLog.KeyValue.path | quote }}
aws s3 cp /var/log/time.log {{ .ConfigMaps.location.Data.path }}/time-log/
EOF
If you re-execute this Kanister Action, you'll be able to see the Artifact in the
Expand Down Expand Up @@ -516,7 +516,7 @@ ConfigMap because the `inputArtifact` contains the fully specified path.
- |
AWS_ACCESS_KEY_ID={{ .Secrets.aws.Data.aws_access_key_id | toString }} \
AWS_SECRET_ACCESS_KEY={{ .Secrets.aws.Data.aws_secret_access_key | toString }} \
aws s3 cp /var/log/time.log {{ .ArtifactsOut.timeLog.KeyValue.path | quote }}
aws s3 cp /var/log/time.log {{ .ConfigMaps.location.Data.path }}/time-log/
restore:
type: Deployment
secretNames:
Expand Down

0 comments on commit f7fb375

Please sign in to comment.