Skip to content

Commit

Permalink
Merge pull request #269 from MinaFoundation/PM-1981-openmina-dashboar…
Browse files Browse the repository at this point in the history
…d-enable-custom-args

PM-1981 - Openmina Dashboard - Enable custom args
  • Loading branch information
kaozenn authored Sep 13, 2024
2 parents fe0b6c6 + 61ac5e6 commit d815af7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions openmina-block-producer-dashboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ helmfile status
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | The affinity |
| args | list | `[]` | The arguments to pass at runtime |
| autoscaling.enabled | bool | `false` | Enable autoscaling for the deployment |
| autoscaling.maxReplicas | int | `100` | The maximum number of pods |
| autoscaling.minReplicas | int | `1` | The minimum number of pods |
Expand Down
4 changes: 4 additions & 0 deletions openmina-block-producer-dashboard/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ spec:
- name: http
containerPort: {{ .Values.service.port }}
protocol: TCP
{{- if .Values.args }}
args:
{{- toYaml .Values.args | nindent 12 }}
{{- end }}
env:
{{- if .Values.envVars }}
{{- toYaml .Values.envVars | nindent 12 }}
Expand Down
3 changes: 3 additions & 0 deletions openmina-block-producer-dashboard/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ node:
# -- The wallet public key
publicKey: ""

# -- The arguments to pass at runtime
args: []

## - Environment variables
envVars: {}
# - name: FOO
Expand Down

0 comments on commit d815af7

Please sign in to comment.