Skip to content

Commit c441ddf

Browse files
add websocket ingress for l2-rpc (#162)
1 parent c9b0ea3 commit c441ddf

File tree

6 files changed

+31
-6
lines changed

6 files changed

+31
-6
lines changed

charts/l2-rpc/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: v2
33
description: l2-rpc helm chart
44
name: l2-rpc
5-
version: 0.0.9
5+
version: 0.0.10
66
appVersion: v0.1.0
77
kubeVersion: ">=1.22.0-0"
88
maintainers:

charts/l2-rpc/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# l2-rpc
22

3-
![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)
3+
![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)
44

55
l2-rpc helm chart
66

@@ -69,6 +69,12 @@ Kubernetes: `>=1.22.0-0`
6969
| ingress.main.ingressClassName | string | `"nginx"` | |
7070
| ingress.main.labels | object | `{}` | |
7171
| ingress.main.primary | bool | `true` | |
72+
| ingress.websocket.enabled | bool | `true` | |
73+
| ingress.websocket.hosts[0].host | string | `"l2-rpc-ws.scrollsdk"` | |
74+
| ingress.websocket.hosts[0].paths[0].path | string | `"/"` | |
75+
| ingress.websocket.hosts[0].paths[0].pathType | string | `"Prefix"` | |
76+
| ingress.websocket.hosts[0].paths[0].service.port | int | `8546` | |
77+
| ingress.websocket.ingressClassName | string | `"nginx"` | |
7278
| initContainers.1-wait-for-l1.command[0] | string | `"/bin/sh"` | |
7379
| initContainers.1-wait-for-l1.command[1] | string | `"-c"` | |
7480
| initContainers.1-wait-for-l1.command[2] | string | `"/wait-for-l1.sh $L2GETH_L1_ENDPOINT"` | |

charts/l2-rpc/values.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,16 @@ ingress:
150150
paths:
151151
- path: /
152152
pathType: Prefix
153+
websocket: # dedicated websocket ingress
154+
enabled: true
155+
ingressClassName: "nginx"
156+
hosts:
157+
- host: l2-rpc-ws.scrollsdk
158+
paths:
159+
- path: /
160+
pathType: Prefix
161+
service:
162+
port: 8546
153163

154164
serviceMonitor:
155165
main:

charts/l2-rpc/values/production.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,12 @@ ingress:
4444
paths:
4545
- path: /
4646
pathType: Prefix
47+
websocket:
48+
ingressClassName: "nginx"
49+
hosts:
50+
- host: ""
51+
paths:
52+
- path: /
53+
pathType: Prefix
54+
service:
55+
port: 8546

charts/scroll-sdk/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: v2
33
description: scroll helm charts to deploy scroll sdk
44
name: scroll-sdk
5-
version: 0.0.29
5+
version: 0.0.30
66
appVersion: v0.1.0
77
kubeVersion: ">=1.22.0-0"
88
maintainers:
@@ -70,7 +70,7 @@ dependencies:
7070
repository: "oci://ghcr.io/scroll-tech/scroll-sdk/helm"
7171
condition: l2-bootnode.enabled
7272
- name: l2-rpc
73-
version: 0.0.9
73+
version: 0.0.10
7474
repository: "oci://ghcr.io/scroll-tech/scroll-sdk/helm"
7575
condition: l2-rpc.enabled
7676
- name: grafana

charts/scroll-sdk/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# scroll-sdk
22

3-
![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)
3+
![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)
44

55
scroll helm charts to deploy scroll sdk
66

@@ -35,7 +35,7 @@ Kubernetes: `>=1.22.0-0`
3535
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | l1-devnet | 0.0.3 |
3636
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | l1-explorer | 0.0.2 |
3737
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | l2-bootnode | 0.0.8 |
38-
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | l2-rpc | 0.0.9 |
38+
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | l2-rpc | 0.0.10 |
3939
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | l2-sequencer | 0.0.9 |
4040
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | rollup-explorer-backend | 0.0.3 |
4141
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | rollup-node | 0.0.8 |

0 commit comments

Comments
 (0)