[Agent][Deploy] - update cmii deploy part
This commit is contained in:
@@ -105,9 +105,9 @@ spec:
|
||||
containers:
|
||||
- name: helm-emqxs
|
||||
{{- if .HarborPort }}
|
||||
image: {{ .HarborIP }}:{{ .HarborPort }}/cmii/emqx:5.5.1
|
||||
image: {{ .HarborIPOrCustomImagePrefix }}:{{ .HarborPort }}/cmii/emqx:5.5.1
|
||||
{{- else }}
|
||||
image: {{ .HarborIP }}emqx:5.5.1
|
||||
image: {{ .HarborIPOrCustomImagePrefix }}emqx:5.5.1
|
||||
{{- end }}
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
|
||||
@@ -57,9 +57,9 @@ spec:
|
||||
containers:
|
||||
- name: helm-mongo
|
||||
{{- if .HarborPort }}
|
||||
image: {{ .HarborIP }}:{{ .HarborPort }}/cmii/mongo:5.0
|
||||
image: {{ .HarborIPOrCustomImagePrefix }}:{{ .HarborPort }}/cmii/mongo:5.0
|
||||
{{- else }}
|
||||
image: {{ .HarborIP }}mongo:5.0
|
||||
image: {{ .HarborIPOrCustomImagePrefix }}mongo:5.0
|
||||
{{- end }}
|
||||
resources: {}
|
||||
ports:
|
||||
|
||||
@@ -311,9 +311,9 @@ spec:
|
||||
initContainers:
|
||||
- name: change-volume-permissions
|
||||
{{- if .HarborPort }}
|
||||
image: {{ .HarborIP }}:{{ .HarborPort }}/cmii/bitnami-shell:11-debian-11-r136
|
||||
image: {{ .HarborIPOrCustomImagePrefix }}:{{ .HarborPort }}/cmii/bitnami-shell:11-debian-11-r136
|
||||
{{- else }}
|
||||
image: {{ .HarborIP }}bitnami-shell:11-debian-11-r136
|
||||
image: {{ .HarborIPOrCustomImagePrefix }}bitnami-shell:11-debian-11-r136
|
||||
{{- end }}
|
||||
imagePullPolicy: "Always"
|
||||
command:
|
||||
@@ -329,9 +329,9 @@ spec:
|
||||
containers:
|
||||
- name: mysql
|
||||
{{- if .HarborPort }}
|
||||
image: {{ .HarborIP }}:{{ .HarborPort }}/cmii/mysql:8.1.0-debian-11-r42
|
||||
image: {{ .HarborIPOrCustomImagePrefix }}:{{ .HarborPort }}/cmii/mysql:8.1.0-debian-11-r42
|
||||
{{- else }}
|
||||
image: {{ .HarborIP }}mysql:8.1.0-debian-11-r42
|
||||
image: {{ .HarborIPOrCustomImagePrefix }}mysql:8.1.0-debian-11-r42
|
||||
{{- end }}
|
||||
imagePullPolicy: "IfNotPresent"
|
||||
securityContext:
|
||||
|
||||
@@ -82,9 +82,9 @@ spec:
|
||||
containers:
|
||||
- name: nacos-server
|
||||
{{- if .HarborPort }}
|
||||
image: {{ .HarborIP }}:{{ .HarborPort }}/cmii/nacos-server:v2.1.2
|
||||
image: {{ .HarborIPOrCustomImagePrefix }}:{{ .HarborPort }}/cmii/nacos-server:v2.1.2
|
||||
{{- else }}
|
||||
image: {{ .HarborIP }}nacos-server:v2.1.2
|
||||
image: {{ .HarborIPOrCustomImagePrefix }}nacos-server:v2.1.2
|
||||
{{- end }}
|
||||
ports:
|
||||
- containerPort: 8848
|
||||
|
||||
@@ -194,9 +194,9 @@ spec:
|
||||
initContainers:
|
||||
- name: volume-permissions
|
||||
{{- if .HarborPort }}
|
||||
image: {{ .HarborIP }}:{{ .HarborPort }}/cmii/bitnami-shell:11-debian-11-r136
|
||||
image: {{ .HarborIPOrCustomImagePrefix }}:{{ .HarborPort }}/cmii/bitnami-shell:11-debian-11-r136
|
||||
{{- else }}
|
||||
image: {{ .HarborIP }}bitnami-shell:11-debian-11-r136
|
||||
image: {{ .HarborIPOrCustomImagePrefix }}bitnami-shell:11-debian-11-r136
|
||||
{{- end }}
|
||||
imagePullPolicy: "Always"
|
||||
command:
|
||||
@@ -217,9 +217,9 @@ spec:
|
||||
containers:
|
||||
- name: rabbitmq
|
||||
{{- if .HarborPort }}
|
||||
image: {{ .HarborIP }}:{{ .HarborPort }}/cmii/rabbitmq:3.9.12-debian-10-r3
|
||||
image: {{ .HarborIPOrCustomImagePrefix }}:{{ .HarborPort }}/cmii/rabbitmq:3.9.12-debian-10-r3
|
||||
{{- else }}
|
||||
image: {{ .HarborIP }}rabbitmq:3.9.12-debian-10-r3
|
||||
image: {{ .HarborIPOrCustomImagePrefix }}rabbitmq:3.9.12-debian-10-r3
|
||||
{{- end }}
|
||||
imagePullPolicy: "Always"
|
||||
env:
|
||||
|
||||
@@ -355,9 +355,9 @@ spec:
|
||||
containers:
|
||||
- name: redis
|
||||
{{- if .HarborPort }}
|
||||
image: {{ .HarborIP }}:{{ .HarborPort }}/cmii/redis:6.2.6-debian-10-r0
|
||||
image: {{ .HarborIPOrCustomImagePrefix }}:{{ .HarborPort }}/cmii/redis:6.2.6-debian-10-r0
|
||||
{{- else }}
|
||||
image: {{ .HarborIP }}redis:6.2.6-debian-10-r0
|
||||
image: {{ .HarborIPOrCustomImagePrefix }}redis:6.2.6-debian-10-r0
|
||||
{{- end }}
|
||||
imagePullPolicy: "Always"
|
||||
securityContext:
|
||||
@@ -495,9 +495,9 @@ spec:
|
||||
containers:
|
||||
- name: redis
|
||||
{{- if .HarborPort }}
|
||||
image: {{ .HarborIP }}:{{ .HarborPort }}/cmii/redis:6.2.6-debian-10-r0
|
||||
image: {{ .HarborIPOrCustomImagePrefix }}:{{ .HarborPort }}/cmii/redis:6.2.6-debian-10-r0
|
||||
{{- else }}
|
||||
image: {{ .HarborIP }}redis:6.2.6-debian-10-r0
|
||||
image: {{ .HarborIPOrCustomImagePrefix }}redis:6.2.6-debian-10-r0
|
||||
{{- end }}
|
||||
imagePullPolicy: "Always"
|
||||
securityContext:
|
||||
|
||||
Reference in New Issue
Block a user