Skip to content

Commit

Permalink
Add documentation for KubeOps operation "delete" (#1371)
Browse files Browse the repository at this point in the history
* Add documentation for KubeOps operation "delete"

* Add newline

Co-authored-by: Pavan Navarathna <pavan@kasten.io>

Co-authored-by: Pavan Navarathna <pavan@kasten.io>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
3 people committed May 3, 2022
1 parent d2712e2 commit a838c42
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1224,6 +1224,16 @@ Example:
- containerPort: 80
name: http
protocol: TCP
- func: KubeOps
name: deleteDeploy
args:
operation: delete
objectReference:
apiVersion: "{{ .Phases.createDeploy.Output.apiVersion }}"
group: "{{ .Phases.createDeploy.Output.group }}"
resource: "{{ .Phases.createDeploy.Output.resource }}"
name: "{{ .Phases.createDeploy.Output.name }}"
namespace: "{{ .Phases.createDeploy.Output.namespace }}"
Wait
Expand Down

0 comments on commit a838c42

Please sign in to comment.