Skip to content

Commit

Permalink
chore(api-gateway): pass minio info in env (#1146)
Browse files Browse the repository at this point in the history
Because

api gateway need the minio info to use `blob` plugin

This commit

add minio info in env
  • Loading branch information
Yougigun authored Oct 31, 2024
1 parent 7ccf5ae commit 1604f23
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/core/templates/api-gateway/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ data:
REGISTRY_HOST={{ template "core.registry" . }}
REGISTRY_PORT={{ template "core.registry.port" . }}
# minio
MINIO_HOST={{ template "core.minio" . }}
MINIO_PORT={{ template "core.minio.port" . }}
# Additional Hosts
{{- range $host := .Values.apiGateway.additionalHosts }}
{{ $host.name }}_HOST={{ $host.host }}
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ services:
JAEGER_PORT: ${JAEGER_LISTEN_THRIFT_PORT}
REGISTRY_HOST: ${REGISTRY_HOST}
REGISTRY_PORT: ${REGISTRY_PORT}
MINIO_HOST: ${MINIO_HOST}
MINIO_PORT: ${MINIO_PORT}
ports:
- ${API_GATEWAY_PORT}:${API_GATEWAY_PORT}
- ${API_GATEWAY_STATS_PORT}:${API_GATEWAY_STATS_PORT}
Expand Down

0 comments on commit 1604f23

Please sign in to comment.