feat(charts): split platform release charts
This commit is contained in:
1 parent
aeb34d1e5b
commit
08ed1422fe
29 files changed
+1314
-15
No files matched your search
@@ -23,9 +23,10 @@ spec:
|
||||
nodeSelector:
|
||||
{{ toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- $proto := index .Values.images.protocol .Values.type }}
|
||||
containers:
|
||||
- name: protocol-server
|
||||
image: {{ .Values.registry }}/{{ .Values.image }}:{{ .Values.tag }}
|
||||
image: {{ .Values.registry }}/{{ $proto.repository | default .Values.image }}:{{ $proto.tag | default .Values.tag | default "latest" }}
|
||||
imagePullPolicy: {{ .Values.imagePullPolicy }}
|
||||
args:
|
||||
- "--port"
|
||||
|
||||
@@ -2,10 +2,21 @@ registry: 192.168.1.105:8888/mixingx
|
||||
tag: latest
|
||||
timezone: Asia/Shanghai
|
||||
|
||||
# Legacy image override (kept for backward compatibility).
|
||||
type: opcua
|
||||
image: opcua
|
||||
imagePullPolicy: IfNotPresent
|
||||
|
||||
# New structured image lookup per protocol type. Empty tag falls back to
|
||||
# top-level .Values.tag then "latest".
|
||||
images:
|
||||
protocol:
|
||||
opcua: { repository: opcua, tag: "" }
|
||||
modbus: { repository: modbus, tag: "" }
|
||||
ads: { repository: ads, tag: "" }
|
||||
s7: { repository: s7, tag: "" }
|
||||
s7-diecast: { repository: s7-diecast, tag: "" }
|
||||
|
||||
port: 4840
|
||||
scene: /scenes/opcua/all-types-write.json
|
||||
args: []
|
||||
|
||||
Reference in new issue
Block a user