mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
60 lines
1.7 KiB
YAML
60 lines
1.7 KiB
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: velero-helm
|
|
namespace: argocd
|
|
spec:
|
|
project: default
|
|
source:
|
|
chart: velero
|
|
repoURL: https://vmware-tanzu.github.io/helm-charts
|
|
targetRevision: 8.4.0
|
|
helm:
|
|
values: |
|
|
initContainers:
|
|
- name: velero-plugin-for-aws
|
|
image: velero/velero-plugin-for-aws:v1.11.1
|
|
volumeMounts:
|
|
- mountPath: /target
|
|
name: plugins
|
|
configuration:
|
|
backupStorageLocation:
|
|
- name: default
|
|
bucket: velero-backups
|
|
provider: aws
|
|
config:
|
|
region: minio
|
|
s3ForcePathStyle: true
|
|
s3Url: http://192.168.1.99:9000
|
|
insecureSkipTLSVerify: "true"
|
|
volumeSnapshotLocation:
|
|
- name: default
|
|
provider: aws
|
|
config:
|
|
region: minio
|
|
credentials:
|
|
# Use existing secret created by External Secrets Operator
|
|
# existingSecret: velero-minio-credentials
|
|
# extraEnvVars:
|
|
# AWS_SHARED_CREDENTIALS_FILE: /credentials/cloud
|
|
existingSecret: cloud-credentials
|
|
deployNodeAgent: true
|
|
nodeAgent:
|
|
containerSecurityContext:
|
|
privileged: true
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
features: EnableCSI
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: velero
|
|
syncPolicy:
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
automated:
|
|
selfHeal: true |