Skip to content

Commit

Permalink
Fix env ports
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinguidee committed Jan 9, 2024
1 parent be879da commit fc08ae7
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions vertex-admin/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{{- include "common.configmap" (list . "vertex-admin.configmap") -}}
{{- define "vertex-admin.configmap" -}}
data:
VERTEX_AUTH_ADDR: http://vertex-auth-vertex-auth-service:8080/api
VERTEX_LOGS_ADDR: http://vertex-logs-vertex-logs-service:8080/api
VERTEX_AUTH_ADDR: http://vertex-auth-vertex-auth-service:7002/api
VERTEX_LOGS_ADDR: http://vertex-logs-vertex-logs-service:7016/api
VERTEX_DB_HOST: {{ .Release.Name }}-{{ .Chart.Name }}-postgresql
VERTEX_DB_PORT: {{ .Values.postgresql.port | quote }}
{{- end -}}
2 changes: 1 addition & 1 deletion vertex-auth/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- include "common.configmap" (list . "vertex-auth.configmap") -}}
{{- define "vertex-auth.configmap" -}}
data:
VERTEX_LOGS_ADDR: http://vertex-logs-vertex-logs-service:8080/api
VERTEX_LOGS_ADDR: http://vertex-logs-vertex-logs-service:7016/api
VERTEX_DB_HOST: {{ .Release.Name }}-{{ .Chart.Name }}-postgresql
VERTEX_DB_PORT: {{ .Values.postgresql.port | quote }}
{{- end -}}
16 changes: 8 additions & 8 deletions vertex-client/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{{- include "common.configmap" (list . "vertex-client.configmap") -}}
{{- define "vertex-client.configmap" -}}
data:
VERTEX_ADMIN_ADDR: http://vertex-admin-vertex-admin-service:8080/api
VERTEX_AUTH_ADDR: http://vertex-auth-vertex-auth-service:8080/api
VERTEX_CONTAINERS_ADDR: http://vertex-containers-vertex-containers-service:8080/api
VERTEX_LOGS_ADDR: http://vertex-logs-vertex-logs-service:8080/api
VERTEX_MONITORING_ADDR: http://vertex-monitoring-vertex-monitoring-service:8080/api
VERTEX_REVERSE_PROXY_ADDR: http://vertex-reverseproxy-vertex-reverseproxy-service:8080/api
VERTEX_ADMIN_ADDR: http://vertex-admin-vertex-admin-service:7000/api
VERTEX_AUTH_ADDR: http://vertex-auth-vertex-auth-service:7002/api
VERTEX_CONTAINERS_ADDR: http://vertex-containers-vertex-containers-service:7004/api
VERTEX_LOGS_ADDR: http://vertex-logs-vertex-logs-service:7016/api
VERTEX_MONITORING_ADDR: http://vertex-monitoring-vertex-monitoring-service:7006/api
VERTEX_REVERSE_PROXY_ADDR: http://vertex-reverseproxy-vertex-reverseproxy-service:7008/api
VERTEX_SERVICE_EDITOR_ADDR: http://vertex-serviceeditor-vertex-serviceeditor-service:8080/api
VERTEX_SQL_ADDR: http://vertex-sql-vertex-sql-service:8080/api
VERTEX_TUNNELS_ADDR: http://vertex-tunnels-vertex-tunnels-service:8080/api
VERTEX_SQL_ADDR: http://vertex-sql-vertex-sql-service:7012/api
VERTEX_TUNNELS_ADDR: http://vertex-tunnels-vertex-tunnels-service:7014/api
{{- end -}}
6 changes: 3 additions & 3 deletions vertex-containers/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{{- include "common.configmap" (list . "vertex-containers.configmap") -}}
{{- define "vertex-containers.configmap" -}}
data:
VERTEX_LOGS_ADDR: http://vertex-logs-vertex-logs-service:8080/api
VERTEX_AUTH_ADDR: http://vertex-auth-vertex-auth-service:8080/api
VERTEX_CONTAINERS_KERNEL_ADDR: http://vertex-containers-vertex-containers-kernel-service:8080/api
VERTEX_LOGS_ADDR: http://vertex-logs-vertex-logs-service:7016/api
VERTEX_AUTH_ADDR: http://vertex-auth-vertex-auth-service:7002/api
VERTEX_CONTAINERS_KERNEL_ADDR: http://vertex-containers-vertex-containers-kernel-service:7005/api
VERTEX_DB_HOST: {{ .Release.Name }}-{{ .Chart.Name }}-postgresql
VERTEX_DB_PORT: {{ .Values.postgresql.port | quote }}
{{- end -}}
2 changes: 1 addition & 1 deletion vertex-logs/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- include "common.configmap" (list . "vertex-logs.configmap") -}}
{{- define "vertex-logs.configmap" -}}
data:
VERTEX_AUTH_ADDR: http://vertex-auth-vertex-auth-service:8080/api
VERTEX_AUTH_ADDR: http://vertex-auth-vertex-auth-service:7002/api
{{- end -}}
6 changes: 3 additions & 3 deletions vertex-monitoring/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- include "common.configmap" (list . "vertex-monitoring.configmap") -}}
{{- define "vertex-monitoring.configmap" -}}
data:
VERTEX_AUTH_ADDR: http://vertex-auth-vertex-auth-service:8080/api
VERTEX_LOGS_ADDR: http://vertex-logs-vertex-logs-service:8080/api
VERTEX_CONTAINERS_ADDR: http://vertex-containers-vertex-containers-service:8080/api
VERTEX_AUTH_ADDR: http://vertex-auth-vertex-auth-service:7002/api
VERTEX_LOGS_ADDR: http://vertex-logs-vertex-logs-service:7016/api
VERTEX_CONTAINERS_ADDR: http://vertex-containers-vertex-containers-service:7004/api
{{- end -}}
4 changes: 2 additions & 2 deletions vertex-reverseproxy/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- include "common.configmap" (list . "vertex-reverseproxy.configmap") -}}
{{- define "vertex-reverseproxy.configmap" -}}
data:
VERTEX_AUTH_ADDR: http://vertex-auth-vertex-auth-service:8080/api
VERTEX_LOGS_ADDR: http://vertex-logs-vertex-logs-service:8080/api
VERTEX_AUTH_ADDR: http://vertex-auth-vertex-auth-service:7002/api
VERTEX_LOGS_ADDR: http://vertex-logs-vertex-logs-service:7016/api
{{- end -}}
6 changes: 3 additions & 3 deletions vertex-sql/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- include "common.configmap" (list . "vertex-sql.configmap") -}}
{{- define "vertex-sql.configmap" -}}
data:
VERTEX_AUTH_ADDR: http://vertex-auth-vertex-auth-service:8080/api
VERTEX_LOGS_ADDR: http://vertex-logs-vertex-logs-service:8080/api
VERTEX_CONTAINERS_ADDR: http://vertex-containers-vertex-containers-service:8080/api
VERTEX_AUTH_ADDR: http://vertex-auth-vertex-auth-service:7002/api
VERTEX_LOGS_ADDR: http://vertex-logs-vertex-logs-service:7016/api
VERTEX_CONTAINERS_ADDR: http://vertex-containers-vertex-containers-service:7004/api
{{- end -}}
6 changes: 3 additions & 3 deletions vertex-tunnels/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- include "common.configmap" (list . "vertex-tunnels.configmap") -}}
{{- define "vertex-tunnels.configmap" -}}
data:
VERTEX_AUTH_ADDR: http://vertex-auth-vertex-auth-service:8080/api
VERTEX_LOGS_ADDR: http://vertex-logs-vertex-logs-service:8080/api
VERTEX_CONTAINERS_ADDR: http://vertex-containers-vertex-containers-service:8080/api
VERTEX_AUTH_ADDR: http://vertex-auth-vertex-auth-service:7002/api
VERTEX_LOGS_ADDR: http://vertex-logs-vertex-logs-service:7016/api
VERTEX_CONTAINERS_ADDR: http://vertex-containers-vertex-containers-service:7004/api
{{- end -}}

0 comments on commit fc08ae7

Please sign in to comment.