We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67f247c commit 5431be3Copy full SHA for 5431be3
Charts/odin-xspress/templates/xspress-control.yaml
@@ -43,6 +43,9 @@ spec:
43
- /odin/deployment/xspress-control.sh
44
ports:
45
- containerPort: 12000
46
+{{- range $i, $e := until (int .Values.odinDataCount) }}
47
+ {{ printf "- containerPort: %d" (add 15150 $i) }}
48
+{{- end }}
49
volumeMounts:
50
- name: {{ .Values.detectorName }}-odin-config-volume
51
mountPath: /odin/deployment
@@ -69,3 +72,8 @@ spec:
69
72
- name: {{ .Values.detectorName }}-xspress-control-ctrl
70
73
protocol: TCP
71
74
port: 12000
75
76
+ - name: {{ $.Values.detectorName }}-data-{{ $i }}
77
+ protocol: TCP
78
+ {{ printf "port: %d" (add 15150 $i) }}
79
0 commit comments