Skip to content

Commit

Permalink
feat: allow for conditional rendering of test resources
Browse files Browse the repository at this point in the history
  • Loading branch information
logan-bobo committed May 13, 2024
1 parent 3add6fc commit 85975a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/aws-ebs-csi-driver/templates/tests/helm-tester.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.helmTester.enabled -}}
---
apiVersion: v1
kind: ServiceAccount
Expand Down Expand Up @@ -220,3 +221,4 @@ spec:
configMap:
name: ebs-csi-driver-test
restartPolicy: Never
{{- end }}
3 changes: 3 additions & 0 deletions charts/aws-ebs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -449,3 +449,6 @@ volumeSnapshotClasses: []
# Intended for use with older clusters that cannot easily replace the CSIDriver object
# This parameter should always be false for new installations
useOldCSIDriver: false

helmTester:
enabled: true

0 comments on commit 85975a2

Please sign in to comment.