Skip to content

Commit

Permalink
Fix Helm charts
Browse files Browse the repository at this point in the history
  • Loading branch information
akoptelov committed Nov 1, 2023
1 parent d115e45 commit 95ee9a9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions helm/generator/server-generator.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
server:
enabled: true
cycleTransactions: true

generator:
enabled: true
Expand Down
5 changes: 2 additions & 3 deletions helm/generator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "load-generator.labels" . | nindent 8 }}
{{- include "load-generator.serverLabels" . | nindent 8 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
Expand All @@ -45,13 +45,12 @@ spec:
- name: config
mountPath: /config
args: [
{{ with .Values }}
"server",
"--host", "0.0.0.0",
"--port", "80",
"--nodes-file", "/config/nodes.json",
"--accounts-file", "/config/accounts.json",
{{ end }}
{{- if .Values.server.cycleTransactions }}"--cycle-transactions"{{ end -}}
]
ports:
- name: http
Expand Down
1 change: 1 addition & 0 deletions helm/generator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ generator:
args: []

send:
enabled: false


replicaCount: 1
Expand Down

0 comments on commit 95ee9a9

Please sign in to comment.