Skip to content

Commit 2edee0c

Browse files
authored
cleanup: remove unused ports from frontier chart (#138)
* cleanup: remove unused ports * docs: sync frontier chart README with values
1 parent aeb8a79 commit 2edee0c

3 files changed

Lines changed: 86 additions & 66 deletions

File tree

stable/frontier/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.2.0
18+
version: 0.3.0
1919

2020
dependencies:
2121
- name: app

stable/frontier/README.MD

Lines changed: 79 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -15,61 +15,95 @@ A Helm chart for Kubernetes
1515

1616
| Key | Type | Default | Description |
1717
| ------------------------------------------------------------------ | ------ | ------------------------------- | ----------- |
18-
| frontier-app.config.SHIELD_SPICEDB_HOST | string | `"spicedb.namespace.svc.local"` | |
19-
| frontier-app.config.SHIELD_SPICEDB_PORT | int | `50051` | |
20-
| frontier-app.container.args[0] | string | `"serve"` | |
21-
| frontier-app.container.livenessProbe.httpGet.path | string | `"/ping"` | |
22-
| frontier-app.container.livenessProbe.httpGet.port | int | `5556` | |
23-
| frontier-app.container.ports[0].containerPort | int | `8080` | |
24-
| frontier-app.container.ports[0].name | string | `"tcp"` | |
18+
| frontier-app.config.FRONTIER_APP_BILLING_REFRESH_INTERVAL_CHECKOUT | int | `0` | |
19+
| frontier-app.config.FRONTIER_APP_BILLING_REFRESH_INTERVAL_CUSTOMER | int | `0` | |
20+
| frontier-app.config.FRONTIER_APP_BILLING_REFRESH_INTERVAL_INVOICE | int | `0` | |
21+
| frontier-app.config.FRONTIER_APP_BILLING_REFRESH_INTERVAL_SUBSCRIPTION | int | `0` | |
22+
| frontier-app.config.FRONTIER_APP_CONNECT_PORT | int | `8082` | |
23+
| frontier-app.config.FRONTIER_DB_DRIVER | string | `"postgres"` | |
24+
| frontier-app.config.FRONTIER_LOG_LEVEL | string | `"info"` | |
25+
| frontier-app.config.FRONTIER_SPICEDB_HOST | string | `"spicedb.namespace.svc.local"` | |
26+
| frontier-app.config.FRONTIER_SPICEDB_PORT | int | `50051` | |
27+
| frontier-app.container.command[0] | string | `"frontier"` | |
28+
| frontier-app.container.command[1] | string | `"server"` | |
29+
| frontier-app.container.command[2] | string | `"start"` | |
30+
| frontier-app.container.livenessProbe.grpc.port | int | `8082` | |
31+
| frontier-app.container.ports[0].containerPort | int | `3000` | |
32+
| frontier-app.container.ports[0].name | string | `"admin-ui"` | |
2533
| frontier-app.container.ports[0].protocol | string | `"TCP"` | |
26-
| frontier-app.container.ports[1].containerPort | int | `5556` | |
27-
| frontier-app.container.ports[1].name | string | `"proxy"` | |
34+
| frontier-app.container.ports[1].containerPort | int | `8082` | |
35+
| frontier-app.container.ports[1].name | string | `"connectrpc"` | |
2836
| frontier-app.container.ports[1].protocol | string | `"TCP"` | |
29-
| frontier-app.container.readinessProbe.httpGet.path | string | `"/ping"` | |
30-
| frontier-app.container.readinessProbe.httpGet.port | int | `5556` | |
37+
| frontier-app.container.readinessProbe.grpc.port | int | `8082` | |
3138
| frontier-app.enabled | bool | `true` | |
3239
| frontier-app.image.pullPolicy | string | `"IfNotPresent"` | |
3340
| frontier-app.image.repository | string | `"raystack/frontier"` | |
34-
| frontier-app.image.tag | string | `"0.2.0-rc"` | |
35-
| frontier-app.ingress.annotations."kubernetes.io/ingress.class" | string | `"contour"` | |
36-
| frontier-app.ingress.enabled | bool | `true` | |
41+
| frontier-app.image.tag | string | `"v0.90.0"` | |
42+
| frontier-app.ingress.annotations | object | `{}` | |
43+
| frontier-app.ingress.enabled | bool | `false` | |
3744
| frontier-app.ingress.hosts[0].host | string | `"frontier.example.com"` | |
38-
| frontier-app.ingress.hosts[0].paths[0].backend.service.port.number | int | `8080` | |
39-
| frontier-app.ingress.hosts[0].paths[0].path | string | `"/admin"` | |
45+
| frontier-app.ingress.hosts[0].paths[0].backend.service.port.number | int | `8082` | |
46+
| frontier-app.ingress.hosts[0].paths[0].path | string | `"/"` | |
4047
| frontier-app.ingress.hosts[0].paths[0].pathType | string | `"Prefix"` | |
41-
| frontier-app.ingress.hosts[0].paths[1].backend.service.port.number | int | `5556` | |
42-
| frontier-app.ingress.hosts[0].paths[1].path | string | `"/"` | |
43-
| frontier-app.ingress.hosts[0].paths[1].pathType | string | `"ImplementationSpecific"` | |
44-
| frontier-app.secretConfig.SHIELD_DB_URL | string | `nil` | |
45-
| frontier-app.secretConfig.SHIELD_SPICEDB_PRE_SHARED_KEY | string | `nil` | |
48+
| frontier-app.secretConfig.FRONTIER_DB_URL | string | `nil` | |
49+
| frontier-app.secretConfig.FRONTIER_SPICEDB_PRE_SHARED_KEY | string | `nil` | |
4650
| frontier-app.service.annotations | object | `{}` | |
47-
| frontier-app.service.ports[0].name | string | `"tcp"` | |
48-
| frontier-app.service.ports[0].port | int | `8080` | |
51+
| frontier-app.service.ports[0].name | string | `"admin-ui"` | |
52+
| frontier-app.service.ports[0].port | int | `3000` | |
4953
| frontier-app.service.ports[0].protocol | string | `"TCP"` | |
50-
| frontier-app.service.ports[0].targetPort | string | `"tcp"` | |
51-
| frontier-app.service.ports[1].name | string | `"proxy"` | |
52-
| frontier-app.service.ports[1].port | int | `5556` | |
54+
| frontier-app.service.ports[0].targetPort | string | `"admin-ui"` | |
55+
| frontier-app.service.ports[1].name | string | `"connectrpc"` | |
56+
| frontier-app.service.ports[1].port | int | `8082` | |
5357
| frontier-app.service.ports[1].protocol | string | `"TCP"` | |
54-
| frontier-app.service.ports[1].targetPort | string | `"proxy"` | |
58+
| frontier-app.service.ports[1].targetPort | string | `"connectrpc"` | |
5559
| frontier-app.service.type | string | `"ClusterIP"` | |
60+
| frontier-worker.config.FRONTIER_APP_CONNECT_PORT | int | `8082` | |
61+
| frontier-worker.config.FRONTIER_DB_DRIVER | string | `"postgres"` | |
62+
| frontier-worker.config.FRONTIER_LOG_LEVEL | string | `"info"` | |
63+
| frontier-worker.config.FRONTIER_SPICEDB_HOST | string | `"spicedb.namespace.svc.local"` | |
64+
| frontier-worker.config.FRONTIER_SPICEDB_PORT | int | `50051` | |
65+
| frontier-worker.container.command[0] | string | `"frontier"` | |
66+
| frontier-worker.container.command[1] | string | `"server"` | |
67+
| frontier-worker.container.command[2] | string | `"start"` | |
68+
| frontier-worker.container.livenessProbe.grpc.port | int | `8082` | |
69+
| frontier-worker.container.ports[0].containerPort | int | `3000` | |
70+
| frontier-worker.container.ports[0].name | string | `"admin-ui"` | |
71+
| frontier-worker.container.ports[0].protocol | string | `"TCP"` | |
72+
| frontier-worker.container.ports[1].containerPort | int | `8082` | |
73+
| frontier-worker.container.ports[1].name | string | `"connectrpc"` | |
74+
| frontier-worker.container.ports[1].protocol | string | `"TCP"` | |
75+
| frontier-worker.container.readinessProbe.grpc.port | int | `8082` | |
76+
| frontier-worker.enabled | bool | `true` | |
77+
| frontier-worker.image.pullPolicy | string | `"IfNotPresent"` | |
78+
| frontier-worker.image.repository | string | `"raystack/frontier"` | |
79+
| frontier-worker.image.tag | string | `"v0.65.0"` | |
80+
| frontier-worker.ingress.enabled | bool | `false` | |
81+
| frontier-worker.replicaCount | int | `1` | |
82+
| frontier-worker.secretConfig.FRONTIER_DB_URL | string | `nil` | |
83+
| frontier-worker.secretConfig.FRONTIER_SPICEDB_PRE_SHARED_KEY | string | `nil` | |
84+
| frontier-worker.service.enabled | bool | `false` | |
5685
| spicedb.config.SPICEDB_DATASTORE_ENGINE | string | `nil` | |
86+
| spicedb.config.SPICEDB_GRPC_ENABLED | string | `"true"` | |
5787
| spicedb.config.SPICEDB_GRPC_SHUTDOWN_GRACE_PERIOD | string | `"5s"` | |
88+
| spicedb.config.SPICEDB_HTTP_ENABLED | string | `"true"` | |
5889
| spicedb.config.SPICEDB_LOG_LEVEL | string | `"info"` | |
5990
| spicedb.container.command[0] | string | `"spicedb"` | |
6091
| spicedb.container.command[1] | string | `"serve"` | |
61-
| spicedb.container.livenessProbe.httpGet.path | string | `"/"` | |
62-
| spicedb.container.livenessProbe.httpGet.port | int | `8080` | |
92+
| spicedb.container.livenessProbe.exec.command[0] | string | `"grpc_health_probe"` | |
93+
| spicedb.container.livenessProbe.exec.command[1] | string | `"-v"` | |
94+
| spicedb.container.livenessProbe.exec.command[2] | string | `"-addr=localhost:50051"` | |
6395
| spicedb.container.ports[0].containerPort | int | `50051` | |
64-
| spicedb.container.ports[0].name | string | `"tcp"` | |
6596
| spicedb.container.ports[0].protocol | string | `"TCP"` | |
66-
| spicedb.container.readinessProbe.httpGet.path | string | `"/"` | |
67-
| spicedb.container.readinessProbe.httpGet.port | int | `8080` | |
97+
| spicedb.container.ports[1].containerPort | int | `8443` | |
98+
| spicedb.container.ports[1].protocol | string | `"TCP"` | |
99+
| spicedb.container.readinessProbe.exec.command[0] | string | `"grpc_health_probe"` | |
100+
| spicedb.container.readinessProbe.exec.command[1] | string | `"-v"` | |
101+
| spicedb.container.readinessProbe.exec.command[2] | string | `"-addr=localhost:50051"` | |
68102
| spicedb.enabled | bool | `true` | |
69103
| spicedb.image.repository | string | `"quay.io/authzed/spicedb"` | |
70-
| spicedb.image.tag | string | `"v1.2.0"` | |
71-
| spicedb.ingress.annotations."kubernetes.io/ingress.class" | string | `"contour"` | |
72-
| spicedb.ingress.enabled | bool | `true` | |
104+
| spicedb.image.tag | string | `"v1.30.1"` | |
105+
| spicedb.ingress.annotations | object | `{}` | |
106+
| spicedb.ingress.enabled | bool | `false` | |
73107
| spicedb.ingress.hosts[0].host | string | `"spicedb.example.com"` | |
74108
| spicedb.ingress.hosts[0].paths[0].backend.service.port.number | int | `80` | |
75109
| spicedb.ingress.hosts[0].paths[0].path | string | `"/"` | |
@@ -78,6 +112,16 @@ A Helm chart for Kubernetes
78112
| spicedb.replicaCount | int | `2` | |
79113
| spicedb.secretConfig.SPICEDB_DATASTORE_CONN_URI | string | `nil` | |
80114
| spicedb.secretConfig.SPICEDB_GRPC_PRESHARED_KEY | string | `nil` | |
115+
| spicedb.service.annotations | object | `{}` | |
116+
| spicedb.service.ports[0].name | string | `"rest"` | |
117+
| spicedb.service.ports[0].port | int | `80` | |
118+
| spicedb.service.ports[0].protocol | string | `"TCP"` | |
119+
| spicedb.service.ports[0].targetPort | int | `8443` | |
120+
| spicedb.service.ports[1].name | string | `"grpc"` | |
121+
| spicedb.service.ports[1].port | int | `50051` | |
122+
| spicedb.service.ports[1].protocol | string | `"TCP"` | |
123+
| spicedb.service.ports[1].targetPort | int | `50051` | |
124+
| spicedb.service.type | string | `"ClusterIP"` | |
81125

82126
---
83127

0 commit comments

Comments
 (0)