Skip to content

Commit

Permalink
Merge pull request #149 from Leaseweb/148-syncer-job-tolerations
Browse files Browse the repository at this point in the history
Fix Syncer job tolerations + Adding Chart Lint - PR 148
  • Loading branch information
FarnazBGH authored Jul 24, 2024
2 parents 3ba6b04 + 68124f2 commit 7e48373
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/chart-lints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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 }}
6 changes: 5 additions & 1 deletion charts/cloudstack-csi/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@ 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
keywords:
- csi
- cloudStack
maintainers:
- name: hrak
- name: FarnazBGH
- name: lanord
2 changes: 1 addition & 1 deletion charts/cloudstack-csi/templates/syncer-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 7e48373

Please sign in to comment.