Skip to content

Commit 2c19f75

Browse files
committed
comment the schema for extraContainers
1 parent 84a3296 commit 2c19f75

File tree

2 files changed

+12
-22
lines changed

2 files changed

+12
-22
lines changed

Charts/fastcs/values.schema.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@
4646
"type": "boolean"
4747
},
4848
"extraContainers": {
49-
"type": "array"
49+
"type": "array",
50+
"items": {
51+
"type": "object"
52+
}
5053
},
5154
"global": {
5255
"description": "shared values for all services",

Charts/fastcs/values.yaml

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -85,27 +85,14 @@ service:
8585
ca_port: 5064
8686
pva_port: 5075
8787

88-
# @schema
89-
# TODO: how do we represent this using
90-
# https://github.com/losisin/helm-values-schema-json.git
91-
# description: adds addtional containers specified by image and command
92-
# type: array
93-
# items:
94-
# type: object
95-
# properties:
96-
# name:
97-
# type: string
98-
# description: A name for the additional container
99-
# image:
100-
# type: string
101-
# format: image
102-
# description: Container image URI
103-
# command:
104-
# type: array
105-
# description: Command to run in the container (as array of arguments)
106-
# required: [name, image, command]
107-
# additionalProperties: false
108-
# @schema
88+
89+
# Add addtional containers specified by image and command
90+
#
91+
# should be of the form:
92+
# name: # A name for the additional container
93+
# image: # Container image URI
94+
# command: # Command to run in the container (as array of arguments)
95+
# @schema item: object
10996
extraContainers: []
11097

11198
# @schema description: Add annotations to the pod

0 commit comments

Comments
 (0)