Skip to content

Commit

Permalink
Merge pull request #821 from Becram/main
Browse files Browse the repository at this point in the history
chart: add env option to loadtester
  • Loading branch information
stefanprodan authored Feb 26, 2021
2 parents e53723c + 06b8ab4 commit 138c42e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/loadtester/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ spec:
- --spider
- http://localhost:8080/healthz
timeoutSeconds: 5
{{- if .Values.env }}
env:
{{- toYaml .Values.env | nindent 12 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down
2 changes: 2 additions & 0 deletions charts/loadtester/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ cmd:
nameOverride: ""
fullnameOverride: ""

env: []

service:
type: ClusterIP
port: 80
Expand Down

0 comments on commit 138c42e

Please sign in to comment.