Skip to content

Commit

Permalink
Add remove-check-snaphot step
Browse files Browse the repository at this point in the history
  • Loading branch information
Negashev committed Jan 3, 2024
1 parent e2854c2 commit c3726be
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions chart/templates/create-event-sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ spec:
parameters:
- name: snap-name
value: '{{`{{inputs.parameters.snap-name}}`}}'
- name: remove-check-snaphot
template: remove-check-snaphot
arguments:
parameters:
- name: pvc-name
value: '{{`{{steps.create-check-snaphot.outputs.parameters.pvc-name-from-snap}}`}}'
- name: load-backup
outputs:
parameters:
Expand Down Expand Up @@ -113,6 +119,19 @@ spec:
parameters:
- name: db-ip
value: '{{`{{steps.db-for-prepare-aldaas.ip}}`}}'
- name: remove-check-snaphot
inputs:
parameters:
- name: pvc-name
container:
image: rancher/kubectl:{{ .Values.kubectl }}
command:
- kubectl
args:
- -n
- {{ .Release.Namespace }}
- pvc
- '{{`{{inputs.parameters.pvc-name}}`}}'
- name: set-status-snapshot
inputs:
parameters:
Expand Down

0 comments on commit c3726be

Please sign in to comment.