Skip to content

Commit

Permalink
Update docs to remove unused type field from example blueprints (#1050)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitjain235 committed Jul 15, 2021
1 parent c14d964 commit c14ada5
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion docs/architecture.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ As a reference, below is an example of a BlueprintAction.
actions:
example-action:
type: Deployment
phases:
- func: KubeExec
name: examplePhase
Expand Down
7 changes: 0 additions & 7 deletions docs/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ Example:
actions:
backup:
type: Deployment
outputArtifacts:
backupInfo:
keyValue:
Expand Down Expand Up @@ -367,7 +366,6 @@ Example:
actions:
backup:
type: Deployment
outputArtifacts:
params:
keyValue:
Expand Down Expand Up @@ -729,7 +727,6 @@ of this phase is saved to an Artifact named ``backupInfo``, shown below:
actions:
backup:
type: Deployment
outputArtifacts:
backupInfo:
keyValue:
Expand Down Expand Up @@ -870,7 +867,6 @@ Example:
actions:
backupStats:
type: Deployment
outputArtifacts:
backupStats:
keyValue:
Expand Down Expand Up @@ -925,7 +921,6 @@ Example:
actions:
backupStats:
type: Deployment
outputArtifacts:
backupStats:
keyValue:
Expand Down Expand Up @@ -973,7 +968,6 @@ Example:
actions:
backup:
type: Namespace
outputArtifacts:
backupInfo:
keyValue:
Expand Down Expand Up @@ -1037,7 +1031,6 @@ Example:
actions:
backup:
type: Namespace
outputArtifacts:
backupInfo:
keyValue:
Expand Down
2 changes: 0 additions & 2 deletions docs/templates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ For example, with the following snippet from the time-log example Blueprint:
namespace: kanister
actions:
backup:
type: Deployment
configMapNames:
- location
secretNames:
Expand All @@ -283,7 +282,6 @@ For example, with the following snippet from the time-log example Blueprint:
...
restore:
type: Deployment
inputArtifactNames:
- exampleArtifact
...
Expand Down
6 changes: 0 additions & 6 deletions docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ First Blueprint
namespace: kanister
actions:
backup:
type: Deployment
phases:
- func: KubeExec
name: backupToS3
Expand Down Expand Up @@ -229,7 +228,6 @@ stdout, but eventually we'll backup the time log to that path.
namespace: kanister
actions:
backup:
type: Deployment
configMapNames:
- location
phases:
Expand Down Expand Up @@ -330,7 +328,6 @@ For more on this templating, see :ref:`templates`
namespace: kanister
actions:
backup:
type: Deployment
configMapNames:
- location
secretNames:
Expand Down Expand Up @@ -413,7 +410,6 @@ ConfigMap.
namespace: kanister
actions:
backup:
type: Deployment
configMapNames:
- location
secretNames:
Expand Down Expand Up @@ -494,7 +490,6 @@ ConfigMap because the ``inputArtifact`` contains the fully specified path.
namespace: kanister
actions:
backup:
type: Deployment
configMapNames:
- location
secretNames:
Expand All @@ -518,7 +513,6 @@ ConfigMap because the ``inputArtifact`` contains the fully specified path.
AWS_SECRET_ACCESS_KEY={{ .Secrets.aws.Data.aws_secret_access_key | toString }} \
aws s3 cp /var/log/time.log {{ .ConfigMaps.location.Data.path }}/time-log/
restore:
type: Deployment
secretNames:
- aws
inputArtifactNames:
Expand Down

0 comments on commit c14ada5

Please sign in to comment.