Skip to content

Commit ff00751

Browse files
committed
add command to schema and values defaults
1 parent 2df7d68 commit ff00751

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Charts/dev-c7/templates/statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ spec:
5151
- name: {{ .Chart.Name }}
5252
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
5353
command:
54-
{{ .Values.command | toYaml | indent 12 }}
54+
{{- .Values.command | toYaml | nindent 12 }}
5555
stdin: true
5656
tty: true
5757
{{- $domain := (.Values.ioc_domain | default $location) | upper }}

Charts/dev-c7/values.schema.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@
99
"type": "object"
1010
},
1111
"command": {
12+
"description": "container entry point command",
1213
"type": "array",
1314
"items": {
14-
"type": "null"
15+
"type": "string"
1516
}
1617
},
1718
"epics_version": {

Charts/dev-c7/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ image:
3232
# Overrides the image tag whose default is the chart appVersion.
3333
tag: ""
3434

35-
# @shema description: container entry point command
35+
# @schema description: container entry point command
3636
command:
3737
- bash
3838
- -c
39-
-
39+
- ./bin/linux-x86_64/st*.sh
4040

4141
# @schema description: enable host networking for the pod
4242
hostNetwork: false

0 commit comments

Comments
 (0)