Skip to content

Commit 7e48373

Browse files
authored
Merge pull request #149 from Leaseweb/148-syncer-job-tolerations
Fix Syncer job tolerations + Adding Chart Lint - PR 148
2 parents 3ba6b04 + 68124f2 commit 7e48373

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.github/workflows/chart-lints.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,7 @@ jobs:
3232
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
3333
if [[ -n "$changed" ]]; then
3434
echo "changed=true" >> "$GITHUB_OUTPUT"
35-
fi
35+
fi
36+
- name: Run chart-testing (lint)
37+
if: steps.list-changed.outputs.changed == 'true'
38+
run: ct lint --chart-dirs=charts --target-branch ${{ github.event.repository.default_branch }}

charts/cloudstack-csi/Chart.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@ apiVersion: v2
22
name: cloudstack-csi
33
description: A Helm chart for CloudStack CSI driver
44
type: application
5-
version: 2.0.1
5+
version: 2.0.2
66
appVersion: 0.6.1
77
sources:
88
- https://github.com/Leaseweb/cloudstack-csi-driver
99
keywords:
1010
- csi
1111
- cloudStack
12+
maintainers:
13+
- name: hrak
14+
- name: FarnazBGH
15+
- name: lanord

charts/cloudstack-csi/templates/syncer-job.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
securityContext: {{- toYaml .Values.syncer.podSecurityContext | nindent 8 }}
2020
serviceAccountName: {{ .Values.syncer.serviceAccount.name }}
2121
tolerations:
22-
{{- with .Values.node.tolerations }}
22+
{{- with .Values.syncer.tolerations }}
2323
{{- toYaml . | nindent 8 }}
2424
{{- end }}
2525
{{- with .Values.syncer.affinity }}

0 commit comments

Comments
 (0)