Skip to content

Commit

Permalink
fix: coordinator api env
Browse files Browse the repository at this point in the history
  • Loading branch information
yiweichi committed Sep 20, 2024
1 parent cb7fb1f commit ed29eb8
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/coordinator-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v2
description: coordinator-api helm charts
name: coordinator-api
version: 0.0.7
version: 0.0.8
appVersion: v0.1.0
kubeVersion: ">=1.22.0-0"
maintainers:
Expand Down
3 changes: 2 additions & 1 deletion charts/coordinator-api/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coordinator-api

![Version: 0.0.7](https://img.shields.io/badge/Version-0.0.7-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
![Version: 0.0.8](https://img.shields.io/badge/Version-0.0.8-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)

coordinator-api helm charts

Expand Down Expand Up @@ -35,6 +35,7 @@ Kubernetes: `>=1.22.0-0`
| defaultProbes.enabled | bool | `false` | |
| defaultProbes.spec.httpGet.path | string | `"/"` | |
| defaultProbes.spec.httpGet.port | int | `8090` | |
| envFrom[0].configMapRef.name | string | `"coordinator-api-env"` | |
| env[0].name | string | `"HTTP_PORT"` | |
| env[0].value | int | `8080` | |
| env[1].name | string | `"METRICS_PORT"` | |
Expand Down
4 changes: 4 additions & 0 deletions charts/coordinator-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ env:
- name: SCROLL_PROVER_ASSETS_DIR
value: "/data/assets/"

envFrom:
- configMapRef:
name: coordinator-api-env

command: [
"/bin/sh",
"-c",
Expand Down
4 changes: 2 additions & 2 deletions charts/scroll-sdk/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v2
description: scroll helm charts to deploy scroll sdk
name: scroll-sdk
version: 0.0.35
version: 0.0.36
appVersion: v0.1.0
kubeVersion: ">=1.22.0-0"
maintainers:
Expand Down Expand Up @@ -46,7 +46,7 @@ dependencies:
repository: "oci://ghcr.io/scroll-tech/scroll-sdk/helm"
condition: contracts.enabled
- name: coordinator-api
version: 0.0.7
version: 0.0.8
repository: "oci://ghcr.io/scroll-tech/scroll-sdk/helm"
condition: coordinator-api.enabled
- name: coordinator-cron
Expand Down
4 changes: 2 additions & 2 deletions charts/scroll-sdk/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# scroll-sdk

![Version: 0.0.35](https://img.shields.io/badge/Version-0.0.35-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
![Version: 0.0.36](https://img.shields.io/badge/Version-0.0.36-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)

scroll helm charts to deploy scroll sdk

Expand Down Expand Up @@ -31,7 +31,7 @@ Kubernetes: `>=1.22.0-0`
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | bridge-history-fetcher | 0.0.8 |
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | chain-monitor | 0.0.7 |
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | contracts | 0.0.7 |
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | coordinator-api | 0.0.7 |
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | coordinator-api | 0.0.8 |
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | coordinator-cron | 0.0.6 |
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | frontends | 0.0.7 |
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | gas-oracle | 0.0.7 |
Expand Down
2 changes: 1 addition & 1 deletion charts/scroll-sdk/templates/config-file-for-services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ kind: ConfigMap
metadata:
labels:
{{- include "scroll-sdk.labels" $ | nindent 4 }}
name: coordinator-env
name: coordinator-api-env
data:
{{ .Files.Get "configs/coordinator.env" | indent 2 }}
---
Expand Down

0 comments on commit ed29eb8

Please sign in to comment.