Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
chore: configure velero plugins
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Cox <markcox20@hotmail.com>
  • Loading branch information
macox authored and jenkins-x-bot committed Jan 21, 2020
1 parent 9dcd566 commit 675e872
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions systems/velero/values.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 675e872

Please sign in to comment.