Skip to content

Commit

Permalink
Merge pull request #975 from hobbsh/support-volumes-loadtester
Browse files Browse the repository at this point in the history
support volumes/volumeMounts in loadtester chart
  • Loading branch information
stefanprodan authored Aug 23, 2021
2 parents d8f984d + cdc05ba commit 0dc8edb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/loadtester/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: loadtester
version: 0.19.0
version: 0.19.1
appVersion: 0.18.0
kubeVersion: ">=1.11.0-0"
engine: gotpl
Expand Down
9 changes: 9 additions & 0 deletions charts/loadtester/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,15 @@ spec:
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- end }}
{{ with .Values.volumes }}
volumes:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/loadtester/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ resources:
cpu: 10m
memory: 64Mi

volumes: []
volumeMounts: []

nodeSelector: {}

tolerations: []
Expand Down

0 comments on commit 0dc8edb

Please sign in to comment.