support volumes/volumeMounts in loadtester chart

Signed-off-by: Wylie Hobbs <wylie@wyliehobbs.com>
This commit is contained in:
Wylie Hobbs
2021-08-12 10:44:12 -06:00
parent a6fae0195f
commit cdc05ba506
3 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -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
@@ -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 }}
+3
View File
@@ -29,6 +29,9 @@ resources:
cpu: 10m
memory: 64Mi
volumes: []
volumeMounts: []
nodeSelector: {}
tolerations: []