From c14ada5c7978afa1127a5dd79ca9dbdfc09fee52 Mon Sep 17 00:00:00 2001 From: Ankit Jain Date: Thu, 15 Jul 2021 11:15:57 +0530 Subject: [PATCH] Update docs to remove unused type field from example blueprints (#1050) --- docs/architecture.rst | 1 - docs/functions.rst | 7 ------- docs/templates.rst | 2 -- docs/tutorial.rst | 6 ------ 4 files changed, 16 deletions(-) diff --git a/docs/architecture.rst b/docs/architecture.rst index 17bb4f0f43..96e74333a9 100644 --- a/docs/architecture.rst +++ b/docs/architecture.rst @@ -115,7 +115,6 @@ As a reference, below is an example of a BlueprintAction. actions: example-action: - type: Deployment phases: - func: KubeExec name: examplePhase diff --git a/docs/functions.rst b/docs/functions.rst index b53138c82e..7c2d3f6606 100644 --- a/docs/functions.rst +++ b/docs/functions.rst @@ -309,7 +309,6 @@ Example: actions: backup: - type: Deployment outputArtifacts: backupInfo: keyValue: @@ -367,7 +366,6 @@ Example: actions: backup: - type: Deployment outputArtifacts: params: keyValue: @@ -729,7 +727,6 @@ of this phase is saved to an Artifact named ``backupInfo``, shown below: actions: backup: - type: Deployment outputArtifacts: backupInfo: keyValue: @@ -870,7 +867,6 @@ Example: actions: backupStats: - type: Deployment outputArtifacts: backupStats: keyValue: @@ -925,7 +921,6 @@ Example: actions: backupStats: - type: Deployment outputArtifacts: backupStats: keyValue: @@ -973,7 +968,6 @@ Example: actions: backup: - type: Namespace outputArtifacts: backupInfo: keyValue: @@ -1037,7 +1031,6 @@ Example: actions: backup: - type: Namespace outputArtifacts: backupInfo: keyValue: diff --git a/docs/templates.rst b/docs/templates.rst index 0877684333..84227b0523 100644 --- a/docs/templates.rst +++ b/docs/templates.rst @@ -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: @@ -283,7 +282,6 @@ For example, with the following snippet from the time-log example Blueprint: ... restore: - type: Deployment inputArtifactNames: - exampleArtifact ... diff --git a/docs/tutorial.rst b/docs/tutorial.rst index 1c79a6cb1f..0e4314b628 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -94,7 +94,6 @@ First Blueprint namespace: kanister actions: backup: - type: Deployment phases: - func: KubeExec name: backupToS3 @@ -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: @@ -330,7 +328,6 @@ For more on this templating, see :ref:`templates` namespace: kanister actions: backup: - type: Deployment configMapNames: - location secretNames: @@ -413,7 +410,6 @@ ConfigMap. namespace: kanister actions: backup: - type: Deployment configMapNames: - location secretNames: @@ -494,7 +490,6 @@ ConfigMap because the ``inputArtifact`` contains the fully specified path. namespace: kanister actions: backup: - type: Deployment configMapNames: - location secretNames: @@ -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: