Sfoglia il codice sorgente

velero 11.4.0, enable vol snapshot location

Josh Bicking 4 giorni fa
parent
commit
0b9605c211
2 ha cambiato i file con 16 aggiunte e 31 eliminazioni
  1. 2 2
      argocd/applications.yaml
  2. 14 29
      argocd/infra/velero/values.yaml

+ 2 - 2
argocd/applications.yaml

@@ -575,7 +575,7 @@ spec:
   project: default
   sources:
   - repoURL: https://vmware-tanzu.github.io/helm-charts
-    targetRevision: '11.3.2'
+    targetRevision: '11.4.0'
     chart: velero
     helm:
       valueFiles:
@@ -587,7 +587,7 @@ spec:
     syncOptions:
       - CreateNamespace=true
     automated:
-      enabled: true
+      enabled: false
 ---
 apiVersion: argoproj.io/v1alpha1
 kind: Application

+ 14 - 29
argocd/infra/velero/values.yaml

@@ -1,8 +1,8 @@
-# https://github.com/vmware-tanzu/helm-charts/blob/velero-11.3.2/charts/velero/values.yaml
+# https://github.com/vmware-tanzu/helm-charts/blob/velero-11.4.0/charts/velero/values.yaml
 
-kubectl:
-  image:
-    repository: public.ecr.aws/bitnami/kubectl
+#kubectl:
+#  image:
+#    repository: public.ecr.aws/bitnami/kubectl
 
 deployNodeAgent: true
 
@@ -54,31 +54,16 @@ configuration:
 
   ## Parameters for the VolumeSnapshotLocation(s). Configure multiple by adding other element(s) to the volumeSnapshotLocation slice.
   ## See https://velero.io/docs/v1.6/api-types/volumesnapshotlocation/
-  volumeSnapshotLocation: []
-  #  # name is the name of the volume snapshot location where snapshots are being taken. If a name is not provided,
-  #  # a volume snapshot location will be created with the name "default". Optional.
-  #- name:
-  #  # provider is the name for the volume snapshot provider.
-  #  provider: ""
-  #  credential:
-  #    # name of the secret used by this volumeSnapshotLocation.
-  #    name:
-  #    # name of key that contains the secret data to be used.
-  #    key:
-  #  # Additional provider-specific configuration. See link above
-  #  # for details of required/optional fields for your provider.
-  #  config: {}
-  ##    region:
-  ##    apiTimeout:
-  ##    resourceGroup:
-  ##    The ID of the subscription where volume snapshots should be stored, if different from the cluster’s subscription. If specified, also requires `configuration.volumeSnapshotLocation.config.resourceGroup`to be set. (Azure only)
-  ##    subscriptionId:
-  ##    incremental:
-  ##    snapshotLocation:
-  ##    project:
-
-  #  # annotations allows adding arbitrary annotations to this VolumeSnapshotLocation resource. Optional.
-  #  annotations: {}
+  volumeSnapshotLocation:
+  - name: default
+    provider: "velero.io/aws"
+    credential:
+      name: velero-aws # TODO
+      key: credentials
+    config:
+      s3Url: https://s3.bnuuy.org:8443
+      region: default
+      s3ForcePathStyle: "true"
 
   defaultVolumesToFsBackup: false
   defaultItemOperationTimeout: 72h