From 60139fc41157831f2633a5ce7e02c8fe6ef3cc95 Mon Sep 17 00:00:00 2001 From: Farnaz Babaeian Date: Wed, 24 Jul 2024 14:19:50 +0200 Subject: [PATCH 1/3] Fix Syncer Tolerations --- charts/cloudstack-csi/Chart.yaml | 2 +- charts/cloudstack-csi/templates/syncer-job.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/cloudstack-csi/Chart.yaml b/charts/cloudstack-csi/Chart.yaml index aec9c00..d5d1429 100644 --- a/charts/cloudstack-csi/Chart.yaml +++ b/charts/cloudstack-csi/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: cloudstack-csi description: A Helm chart for CloudStack CSI driver type: application -version: 2.0.1 +version: 2.0.2 appVersion: 0.6.1 sources: - https://github.com/Leaseweb/cloudstack-csi-driver diff --git a/charts/cloudstack-csi/templates/syncer-job.yaml b/charts/cloudstack-csi/templates/syncer-job.yaml index d226a25..4c26ec8 100644 --- a/charts/cloudstack-csi/templates/syncer-job.yaml +++ b/charts/cloudstack-csi/templates/syncer-job.yaml @@ -19,7 +19,7 @@ spec: securityContext: {{- toYaml .Values.syncer.podSecurityContext | nindent 8 }} serviceAccountName: {{ .Values.syncer.serviceAccount.name }} tolerations: - {{- with .Values.node.tolerations }} + {{- with .Values.syncer.tolerations }} {{- toYaml . | nindent 8 }} {{- end }} {{- with .Values.syncer.affinity }} From 18a963d82c49c6d1ce2f55c4cc77bc263f1a914a Mon Sep 17 00:00:00 2001 From: Farnaz Babaeian Date: Wed, 24 Jul 2024 14:20:13 +0200 Subject: [PATCH 2/3] Add chart lint to the workflows --- .github/workflows/chart-lints.yaml | 5 ++++- charts/cloudstack-csi/Chart.yaml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/chart-lints.yaml b/.github/workflows/chart-lints.yaml index d559428..68066a9 100644 --- a/.github/workflows/chart-lints.yaml +++ b/.github/workflows/chart-lints.yaml @@ -32,4 +32,7 @@ jobs: changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) if [[ -n "$changed" ]]; then echo "changed=true" >> "$GITHUB_OUTPUT" - fi \ No newline at end of file + fi + - name: Run chart-testing (lint) + if: steps.list-changed.outputs.changed == 'true' + run: ct lint --chart-dirs=charts --target-branch ${{ github.event.repository.default_branch }} \ No newline at end of file diff --git a/charts/cloudstack-csi/Chart.yaml b/charts/cloudstack-csi/Chart.yaml index d5d1429..5857077 100644 --- a/charts/cloudstack-csi/Chart.yaml +++ b/charts/cloudstack-csi/Chart.yaml @@ -3,9 +3,12 @@ name: cloudstack-csi description: A Helm chart for CloudStack CSI driver type: application version: 2.0.2 -appVersion: 0.6.1 sources: - https://github.com/Leaseweb/cloudstack-csi-driver keywords: - csi - cloudStack +maintainers: + - name: hrak + - name: FarnazBGH + - name: lanord From 68124f20c995461fba6e9511587c91e01612346c Mon Sep 17 00:00:00 2001 From: Farnaz Babaeian Date: Wed, 24 Jul 2024 15:06:45 +0200 Subject: [PATCH 3/3] Add appVersion --- charts/cloudstack-csi/Chart.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/cloudstack-csi/Chart.yaml b/charts/cloudstack-csi/Chart.yaml index 5857077..c763fec 100644 --- a/charts/cloudstack-csi/Chart.yaml +++ b/charts/cloudstack-csi/Chart.yaml @@ -3,6 +3,7 @@ name: cloudstack-csi description: A Helm chart for CloudStack CSI driver type: application version: 2.0.2 +appVersion: 0.6.1 sources: - https://github.com/Leaseweb/cloudstack-csi-driver keywords: