Skip to content

Commit

Permalink
add websocket ingress for l2-rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
sbaizet-ledger committed Sep 10, 2024
1 parent c9b0ea3 commit 0fc597c
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/l2-rpc/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v2
description: l2-rpc helm chart
name: l2-rpc
version: 0.0.9
version: 0.0.10
appVersion: v0.1.0
kubeVersion: ">=1.22.0-0"
maintainers:
Expand Down
8 changes: 7 additions & 1 deletion charts/l2-rpc/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# l2-rpc

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

l2-rpc helm chart

Expand Down Expand Up @@ -69,6 +69,12 @@ Kubernetes: `>=1.22.0-0`
| ingress.main.ingressClassName | string | `"nginx"` | |
| ingress.main.labels | object | `{}` | |
| ingress.main.primary | bool | `true` | |
| ingress.websocket.enabled | bool | `true` | |
| ingress.websocket.hosts[0].host | string | `"l2-rpc-ws.scrollsdk"` | |
| ingress.websocket.hosts[0].paths[0].path | string | `"/"` | |
| ingress.websocket.hosts[0].paths[0].pathType | string | `"Prefix"` | |
| ingress.websocket.hosts[0].paths[0].service.port | int | `8546` | |
| ingress.websocket.ingressClassName | string | `"nginx"` | |
| initContainers.1-wait-for-l1.command[0] | string | `"/bin/sh"` | |
| initContainers.1-wait-for-l1.command[1] | string | `"-c"` | |
| initContainers.1-wait-for-l1.command[2] | string | `"/wait-for-l1.sh $L2GETH_L1_ENDPOINT"` | |
Expand Down
10 changes: 10 additions & 0 deletions charts/l2-rpc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,16 @@ ingress:
paths:
- path: /
pathType: Prefix
websocket: # dedicated websocket ingress
enabled: true
ingressClassName: "nginx"
hosts:
- host: l2-rpc-ws.scrollsdk
paths:
- path: /
pathType: Prefix
service:
port: 8546

serviceMonitor:
main:
Expand Down
9 changes: 9 additions & 0 deletions charts/l2-rpc/values/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,12 @@ ingress:
paths:
- path: /
pathType: Prefix
websocket:
ingressClassName: "nginx"
hosts:
- host: ""
paths:
- path: /
pathType: Prefix
service:
port: 8546
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.29
version: 0.0.30
appVersion: v0.1.0
kubeVersion: ">=1.22.0-0"
maintainers:
Expand Down Expand Up @@ -70,7 +70,7 @@ dependencies:
repository: "oci://ghcr.io/scroll-tech/scroll-sdk/helm"
condition: l2-bootnode.enabled
- name: l2-rpc
version: 0.0.9
version: 0.0.10
repository: "oci://ghcr.io/scroll-tech/scroll-sdk/helm"
condition: l2-rpc.enabled
- name: grafana
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.29](https://img.shields.io/badge/Version-0.0.29-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
![Version: 0.0.30](https://img.shields.io/badge/Version-0.0.30-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 @@ -35,7 +35,7 @@ Kubernetes: `>=1.22.0-0`
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | l1-devnet | 0.0.3 |
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | l1-explorer | 0.0.2 |
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | l2-bootnode | 0.0.8 |
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | l2-rpc | 0.0.9 |
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | l2-rpc | 0.0.10 |
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | l2-sequencer | 0.0.9 |
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | rollup-explorer-backend | 0.0.3 |
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | rollup-node | 0.0.8 |
Expand Down

0 comments on commit 0fc597c

Please sign in to comment.