mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-03 11:45:20 +00:00
41 lines
987 B
YAML
41 lines
987 B
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: velero
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
deploy: velero
|
|
template:
|
|
metadata:
|
|
labels:
|
|
component: velero
|
|
deploy: velero
|
|
spec:
|
|
containers:
|
|
- args:
|
|
- server
|
|
name: velero
|
|
env:
|
|
- name: AZURE_SHARED_CREDENTIALS_FILE
|
|
value: /credentials/cloud
|
|
volumeMounts:
|
|
- mountPath: /plugins
|
|
name: plugins
|
|
- mountPath: /credentials
|
|
name: cloud-credential-azure
|
|
initContainers:
|
|
- image: velero/velero-plugin-for-microsoft-azure:v1.0.1
|
|
imagePullPolicy: Always
|
|
name: velero-plugin-for-microsoft-azure
|
|
volumeMounts:
|
|
- mountPath: /target
|
|
name: plugins
|
|
volumes:
|
|
- emptyDir: {}
|
|
name: plugins
|
|
- name: cloud-credential-azure
|
|
secret:
|
|
secretName: cloud-credential-azure
|