44# With annotations for building the schema using:
55# https://github.com/losisin/helm-values-schema-json.git
66
7- # container image URI
7+ # @schema description: container image URI
88image :
99 repository : " "
1010 pullPolicy : IfNotPresent
1111 tag : " "
1212
13- # command to run for the production container
13+ # @schema description: command to run for the production container
1414command : []
1515
16- # command args to pass to the production container
16+ # @schema description: command args to pass to the production container
1717args : []
1818
19- # command to run for the debugging (non- autostart) container
19+ # @schema description: command to run for the debugging (non- autostart) container
2020debugCommand :
2121 - /bin/bash
2222 - -c
2323 - " sleep infinity"
2424
25- # command to run in the init container for editable mode
25+ # @schema description: command to run in the init container for editable mode
2626initCommand :
2727 - /bin/bash
2828 - -c
@@ -40,37 +40,38 @@ initCommand:
4040 fi
4141 echo "Init container completed successfully"
4242
43- # enable host networking for the pod
43+ # @schema description: enable host networking for the pod
4444hostNetwork : true
4545
46- # editable and autostart are used for debugging and development in-cluster.
47- # editable:
48- # creates a PVC with /venv and /workspaces mounted into the container
49- # runs an init container with entrypoint initCommand above
46+ # @schema description: editable and autostart are used for debugging and development in-cluster
47+ # editable:
48+ # creates a PVC with /venv and /workspaces mounted into the container
49+ # runs an init container with entrypoint initCommand above
50+ editable : false
51+ # @schema description: editable and autostart are used for debugging and development in-cluster
5052# autostart:
5153# false: entrypoint is debugCommand above
5254# true: entrypoint is command above
53- editable : false
5455autostart : true
5556
56- # path to the location of config folder (defaults to be the same as C++ IOCs)
57+ # @schema description: path to the location of config folder (defaults to be the same as C++ IOCs)
5758iocConfig : /epics/ioc/config
5859
59- # service port for Channel Access
60+ # @schema description: service port for Channel Access
6061ca_server_port : 5064
61- # service port for PV Access
62+ # @schema description: service port for PV Access
6263pva_server_port : 5075
6364
64- # CIDR for services addresses.
65+ # @schema description: CIDR for services addresses.
6566# Used by allocateIpFromName to allocate a fixed cluster IP for the service.
6667# The default is the same for all DLS clusters.
6768baseIp : 10.96.0.0/12 # @schema pattern:^(\d{1,3}\.){3}\d{1,3}\/\d{1,2}$
6869
69- # Override for the cluster IP - only needed if allocateIpFromName clashes
70+ # @schema description: Override for the cluster IP - only needed if allocateIpFromName clashes
7071clusterIP : # @schema pattern:^(\d{1,3}\.){3}\d{1,3}$
7172
72- # The service will be configured for Channel Access and PVA. Here you can override
73- # the ports and also make this a LoadBalancer service if required.
73+ # @schema description: The service will be configured for Channel Access and PVA.
74+ # Here you can override the ports or make this a LoadBalancer service if required.
7475service :
7576 type : ClusterIP
7677 ca_port : 5064
@@ -99,28 +100,40 @@ service:
99100# @schema
100101extraContainers : []
101102
103+ # @schema description: Add annotations to the pod
102104podAnnotations : {}
103105
106+ # @schema description: Add labels to the pod
104107podLabels : {}
105108
106- podSecurityContext : {} # @schema $ref: https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.SecurityContext
109+ # @schema $ref: https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.SecurityContext
110+ podSecurityContext : {}
107111
108- securityContext : {} # @schema $ref: https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.SecurityContext
112+ # @schema $ref: https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.SecurityContext
113+ securityContext : {}
109114
110- resources : {} # @schema $ref: https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.ResourceRequirements
115+ # @schema $ref: https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.ResourceRequirements
116+ resources : {}
111117
112- livenessProbe : {} # @schema $ref: https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.Probe
118+ # @schema $ref: https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.Probe
119+ livenessProbe : {}
113120
114- readinessProbe : {} # @schema $ref: https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.Probe
121+ # @schema $ref: https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.Probe
122+ readinessProbe : {}
115123
116- volumes : [] # @schema $ref: https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.Volume
124+ # @schema $ref: https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.Volume
125+ volumes : []
117126
118- volumeMount : [] # @schema $ref: https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.VolumeMount
127+ # @schema $ref: https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.VolumeMount
128+ volumeMounts : []
119129
120- # TODO I cant find a way to allow null for nodeSelector but also pass
130+ # TODO I cant find a way to allow null for nodeSelector but also pass the ref for the object
121131# $ref: https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.NodeSelector
122- nodeSelector : {} # @schema type:[object, null]
132+ # @schema type:[object, null]
133+ nodeSelector : {}
123134
124- tolerations : [] # @schema $ref: https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.Toleration
135+ # @schema $ref: https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.Toleration
136+ tolerations : []
125137
126- affinity : {} # @schema $ref: https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.Affinity
138+ # @schema $ref: https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.Affinity
139+ affinity : {}
0 commit comments