diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index e96cc5f4..c3652d99 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -35,7 +35,7 @@ jobs: check-latest: true - name: Set up chart-testing - uses: helm/chart-testing-action@v2.4.0 + uses: helm/chart-testing-action@v2.6.0 - name: Run chart-testing (list-changed) id: list-changed diff --git a/charts/velero/Chart.yaml b/charts/velero/Chart.yaml index 0c102e45..1a6dbea2 100644 --- a/charts/velero/Chart.yaml +++ b/charts/velero/Chart.yaml @@ -3,7 +3,7 @@ appVersion: 1.12.1 kubeVersion: ">=1.16.0-0" description: A Helm chart for velero name: velero -version: 5.1.2 +version: 5.1.3 home: https://github.com/vmware-tanzu/velero icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png sources: diff --git a/charts/velero/templates/upgrade-crds/upgrade-crds.yaml b/charts/velero/templates/upgrade-crds/upgrade-crds.yaml index d077e253..44dd2c44 100644 --- a/charts/velero/templates/upgrade-crds/upgrade-crds.yaml +++ b/charts/velero/templates/upgrade-crds/upgrade-crds.yaml @@ -75,7 +75,7 @@ spec: args: - -c - /velero install --crds-only --dry-run -o yaml | /tmp/kubectl apply -f - - {{- with .Values.resources }} + {{- with .Values.upgradeJobResources }} resources: {{- toYaml . | nindent 12 }} {{- end }} diff --git a/charts/velero/values.yaml b/charts/velero/values.yaml index 550f0274..1b54db2c 100644 --- a/charts/velero/values.yaml +++ b/charts/velero/values.yaml @@ -81,6 +81,15 @@ resources: cpu: 1000m memory: 512Mi +# Resource requests/limits to specify for the upgradeCRDs job pod. +upgradeJobResources: + requests: + cpu: 50m + memory: 64Mi + limits: + cpu: 100m + memory: 128Mi + # Configure the dnsPolicy of the Velero deployment # See: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy dnsPolicy: ClusterFirst