Skip to content

Commit

Permalink
support volumes/volumeMounts in loadtester chart
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbsh committed Aug 12, 2021
1 parent a6fae01 commit ed33c3a
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 ed33c3a

Please sign in to comment.