Velero issue fixed 89/3989/1
authorarvind.patel@huawei.com <arvind.patel@huawei.com>
Sat, 12 Dec 2020 07:40:11 +0000 (13:10 +0530)
committerarvind.patel@huawei.com <arvind.patel@huawei.com>
Sat, 12 Dec 2020 07:40:11 +0000 (13:10 +0530)
Signed-off-by: arvind.patel@huawei.com <arvind.patel@huawei.com>
Change-Id: I7f2543eeab7eb3238e9513a79024453a138f95e8

ocd/infra/playbooks/roles/velero/tasks/install.yml

index d449958..c931bf4 100644 (file)
@@ -47,7 +47,6 @@
 
 - name: Install velero
   # yamllint disable rule:line-length
-  command: helm install vmware-tanzu/velero --namespace velero --set-file credentials.secretContents.cloud=./credentials-velero --set configuration.provider=aws --set configuration.backupStorageLocation.name= default --set configuration.backupStorageLocation.bucket=newbucket --set configuration.backupStorageLocation.config.region=minio --set configuration.volumeSnapshotLocation.name=default --set configuration.volumeSnapshotLocation.config.region=minio --set image.repository=velero/velero --set image.tag=v1.5.1 --set image.pullPolicy=IfNotPresent --set initContainers[0].name=velero-plugin-for-aws --set initContainers[0].image=velero/velero-plugin-for-aws:v1.1.0 --set initContainers[0].volumeMounts[0].mountPath=/target --set initContainers[0].volumeMounts[0].name=plugins --generate-name =velero
-  ignore_errors: yes
-  no_log: True
+  shell:
+    cmd: helm install vmware-tanzu/velero --namespace velero --set-file credentials.secretContents.cloud=./credentials-velero --set configuration.provider=aws --set configuration.backupStorageLocation.name= default --set configuration.backupStorageLocation.bucket=newbucket > --set configuration.backupStorageLocation.config.region=minio > --set configuration.volumeSnapshotLocation.name=default > --set configuration.volumeSnapshotLocation.config.region=minio > --set image.repository=velero/velero > --set image.tag=v1.5.1 > --set image.pullPolicy=IfNotPresent> --set initContainers[0].name=velero-plugin-for-aws > --set initContainers[0].image=velero/velero-plugin-for-aws:v1.1.0 > --set initContainers[0].volumeMounts[0].mountPath=/target > --set initContainers[0].volumeMounts[0].name=plugins --generate-name =velero
   when: result.stdout == ""