diff --git a/systems/velero/values.tmpl.yaml b/systems/velero/values.tmpl.yaml index 8b29be6e..ee581a54 100644 --- a/systems/velero/values.tmpl.yaml +++ b/systems/velero/values.tmpl.yaml @@ -14,12 +14,26 @@ velero: useSecret: true existingSecret: velero-secret {{- if eq .Requirements.cluster.provider "gke" }} + initContainers: + - name: velero-plugin-for-gcp + image: velero/velero-plugin-for-gcp:v1.0.0 + imagePullPolicy: IfNotPresent + volumeMounts: + - mountPath: /target + name: plugins configuration: provider: gcp backupStorageLocation: name: gcp bucket: {{ .Requirements.storage.backup.url | removeScheme | quote }} {{- else if or (eq .Requirements.cluster.provider "aws") (eq .Requirements.cluster.provider "eks") }} + iinitContainers: + - name: velero-plugin-for-aws + image: velero/velero-plugin-for-aws:v1.0.0 + imagePullPolicy: IfNotPresent + volumeMounts: + - mountPath: /target + name: plugins configuration: provider: aws backupStorageLocation: @@ -28,6 +42,13 @@ velero: config: region: {{ .Requirements.cluster.region | quote }} {{- else if eq .Requirements.cluster.provider "azure" }} + initContainers: + - name: velero-plugin-for-azure + image: velero/velero-plugin-for-microsoft-azure:v1.0.0 + imagePullPolicy: IfNotPresent + volumeMounts: + - mountPath: /target + name: plugins configuration: provider: azure backupStorageLocation: @@ -36,6 +57,13 @@ velero: config: storageAccount: {{ .Requirements.velero.serviceAccount | quote }} {{- else if eq .Requirements.cluster.provider "iks" }} + initContainers: + - name: velero-plugin-for-aws + image: velero/velero-plugin-for-aws:v1.0.0 + imagePullPolicy: IfNotPresent + volumeMounts: + - mountPath: /target + name: plugins snapshotsEnabled: false configuration: provider: aws