60 行
1.6 KiB
YAML
60 行
1.6 KiB
YAML
apiVersion: helm.cattle.io/v1
|
|
kind: HelmChart
|
|
metadata:
|
|
name: velero
|
|
namespace: infra-devops
|
|
spec:
|
|
repo: https://vmware-tanzu.github.io/helm-charts
|
|
chart: velero
|
|
targetNamespace: infra-devops
|
|
version: 8.0.0
|
|
valuesContent: |-
|
|
affinity:
|
|
nodeAffinity:
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
nodeSelectorTerms:
|
|
- matchExpressions:
|
|
- key: topology.kubernetes.io/region
|
|
operator: In
|
|
values:
|
|
- "cn-sh"
|
|
tolerations:
|
|
- key: "node-role.kubernetes.io/master"
|
|
operator: "Exists"
|
|
effect: "NoSchedule"
|
|
deployNodeAgent: true
|
|
snapshotsEnabled: false
|
|
configuration:
|
|
backupSyncPeriod: 1h0m0s
|
|
defaultRepoMaintainFrequency: 3h0m0s
|
|
repositoryMaintenanceJob:
|
|
latestJobsCount: 1
|
|
backupStorageLocation:
|
|
- name: devcm-hw
|
|
default: true
|
|
provider: aws
|
|
bucket: devcm
|
|
prefix: velero
|
|
config:
|
|
region: cn-east-3
|
|
s3ForcePathStyle: true
|
|
s3Url: https://obs.cn-east-3.myhuaweicloud.com
|
|
checksumAlgorithm: ""
|
|
credentials:
|
|
useSecret: true
|
|
secretContents:
|
|
cloud: |
|
|
[default]
|
|
aws_access_key_id = A9RI5BC15F3L9EI8T51T
|
|
aws_secret_access_key = ky1n3OlNNu7wjgctVjCqb03HWxjZucRGhvcEBp51
|
|
initContainers:
|
|
- name: velero-plugin-for-aws
|
|
image: velero/velero-plugin-for-aws:v1.11.0
|
|
volumeMounts:
|
|
- mountPath: /target
|
|
name: plugins
|
|
nodeAgent:
|
|
nodeSelector:
|
|
backup.velero.io/enable: "true"
|
|
|