AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(platform): Expose DB Manager Port (#8424)
Aarushi643c33456ead
diff --git a/autogpt_platform/infra/helm/autogpt-server/templates/deployment-executor.yaml b/autogpt_platform/infra/helm/autogpt-server/templates/deployment-executor.yamlindex ad9e1962f1..c71a1a13fb 100644--- a/autogpt_platform/infra/helm/autogpt-server/templates/deployment-executor.yaml+++ b/autogpt_platform/infra/helm/autogpt-server/templates/deployment-executor.yaml@@ -46,6 +46,9 @@ spec:- name: httpcontainerPort: {{ .Values.serviceExecutor.port }}protocol: TCP+ - name: db-http+ containerPort: {{ .Values.serviceDBManager.port }}+ protocol: TCPresources:{{- toYaml .Values.resources | nindent 12 }}{{- with .Values.volumeMounts }}diff --git a/autogpt_platform/infra/helm/autogpt-server/templates/service-executor.yaml b/autogpt_platform/infra/helm/autogpt-server/templates/service-executor.yamlindex 36ef560b22..6d8d13ec60 100644--- a/autogpt_platform/infra/helm/autogpt-server/templates/service-executor.yaml+++ b/autogpt_platform/infra/helm/autogpt-server/templates/service-executor.yaml@@ -15,5 +15,9 @@ spec:targetPort: httpprotocol: TCPname: http+ - port: {{ .Values.serviceDBManager.port }}+ targetPort: db-http+ protocol: TCP+ name: db-httpselector:- app.kubernetes.io/component: executor+ app.kubernetes.io/component: executor\ No newline at end of filediff --git a/autogpt_platform/infra/helm/autogpt-server/values.dev.yaml b/autogpt_platform/infra/helm/autogpt-server/values.dev.yamlindex 4d5b39d75b..9150de2dfe 100644--- a/autogpt_platform/infra/helm/autogpt-server/values.dev.yaml+++ b/autogpt_platform/infra/helm/autogpt-server/values.dev.yaml@@ -25,6 +25,13 @@ serviceExecutor:annotations:beta.cloud.google.com/backend-config: '{"default": "autogpt-server-backend-config"}'+serviceDBManager:+ type: ClusterIP+ port: 8005+ targetPort: 8005+ annotations:+ beta.cloud.google.com/backend-config: '{"default": "autogpt-server-backend-config"}'+ingress:enabled: trueclassName: "gce"diff --git a/autogpt_platform/infra/helm/autogpt-server/values.prod.yaml b/autogpt_platform/infra/helm/autogpt-server/values.prod.yamlindex 4564e9ac6f..c6e96862cc 100644--- a/autogpt_platform/infra/helm/autogpt-server/values.prod.yaml+++ b/autogpt_platform/infra/helm/autogpt-server/values.prod.yaml@@ -25,6 +25,13 @@ serviceExecutor:annotations:beta.cloud.google.com/backend-config: '{"default": "autogpt-server-backend-config"}'+serviceDBManager:+ type: ClusterIP+ port: 8005+ targetPort: 8005+ annotations:+ beta.cloud.google.com/backend-config: '{"default": "autogpt-server-backend-config"}'+ingress:enabled: trueclassName: "gce"