[agent-deploy] - update mongo nodeport

This commit is contained in:
zeaslity
2024-07-15 16:27:15 +08:00
parent fac45b21a4
commit 37d96c029d
4 changed files with 8 additions and 2 deletions

View File

@@ -116,7 +116,7 @@ spec:
{{- if .HarborPort }}
image: {{ .HarborIPOrCustomImagePrefix }}:{{ .HarborPort }}/cmii/emqx:4.4.9
{{- else }}
image: {{ .HarborIPOrCustomImagePrefix }}emqx:5.5.1
image: {{ .HarborIPOrCustomImagePrefix }}emqx:4.4.9
{{- end }}
imagePullPolicy: Always
ports:

View File

@@ -13,7 +13,7 @@ metadata:
app.kubernetes.io/managed-by: octopus-control
app.kubernetes.io/version: {{ .TagVersion }}
spec:
type: ClusterIP
type: NodePort
selector:
cmii.app: helm-mongo
cmii.type: middleware
@@ -21,6 +21,7 @@ spec:
- port: 27017
name: server-27017
targetPort: 27017
nodePort: {{ .MongoNodePort }}
---
apiVersion: apps/v1
kind: StatefulSet

View File

@@ -65,6 +65,7 @@ type NacosConfig struct {
type MongoConfig struct {
z_dep.CommonEnvironmentConfig
MongoPassword string
MongoNodePort string
}
type EmqxConfig struct {