diff --git a/stable/frontier/Chart.yaml b/stable/frontier/Chart.yaml index fedafe1c..7537ee4f 100644 --- a/stable/frontier/Chart.yaml +++ b/stable/frontier/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.0 +version: 0.3.0 dependencies: - name: app diff --git a/stable/frontier/README.MD b/stable/frontier/README.MD index 275a5ff1..b81bdf6d 100644 --- a/stable/frontier/README.MD +++ b/stable/frontier/README.MD @@ -15,61 +15,95 @@ A Helm chart for Kubernetes | Key | Type | Default | Description | | ------------------------------------------------------------------ | ------ | ------------------------------- | ----------- | -| frontier-app.config.SHIELD_SPICEDB_HOST | string | `"spicedb.namespace.svc.local"` | | -| frontier-app.config.SHIELD_SPICEDB_PORT | int | `50051` | | -| frontier-app.container.args[0] | string | `"serve"` | | -| frontier-app.container.livenessProbe.httpGet.path | string | `"/ping"` | | -| frontier-app.container.livenessProbe.httpGet.port | int | `5556` | | -| frontier-app.container.ports[0].containerPort | int | `8080` | | -| frontier-app.container.ports[0].name | string | `"tcp"` | | +| frontier-app.config.FRONTIER_APP_BILLING_REFRESH_INTERVAL_CHECKOUT | int | `0` | | +| frontier-app.config.FRONTIER_APP_BILLING_REFRESH_INTERVAL_CUSTOMER | int | `0` | | +| frontier-app.config.FRONTIER_APP_BILLING_REFRESH_INTERVAL_INVOICE | int | `0` | | +| frontier-app.config.FRONTIER_APP_BILLING_REFRESH_INTERVAL_SUBSCRIPTION | int | `0` | | +| frontier-app.config.FRONTIER_APP_CONNECT_PORT | int | `8082` | | +| frontier-app.config.FRONTIER_DB_DRIVER | string | `"postgres"` | | +| frontier-app.config.FRONTIER_LOG_LEVEL | string | `"info"` | | +| frontier-app.config.FRONTIER_SPICEDB_HOST | string | `"spicedb.namespace.svc.local"` | | +| frontier-app.config.FRONTIER_SPICEDB_PORT | int | `50051` | | +| frontier-app.container.command[0] | string | `"frontier"` | | +| frontier-app.container.command[1] | string | `"server"` | | +| frontier-app.container.command[2] | string | `"start"` | | +| frontier-app.container.livenessProbe.grpc.port | int | `8082` | | +| frontier-app.container.ports[0].containerPort | int | `3000` | | +| frontier-app.container.ports[0].name | string | `"admin-ui"` | | | frontier-app.container.ports[0].protocol | string | `"TCP"` | | -| frontier-app.container.ports[1].containerPort | int | `5556` | | -| frontier-app.container.ports[1].name | string | `"proxy"` | | +| frontier-app.container.ports[1].containerPort | int | `8082` | | +| frontier-app.container.ports[1].name | string | `"connectrpc"` | | | frontier-app.container.ports[1].protocol | string | `"TCP"` | | -| frontier-app.container.readinessProbe.httpGet.path | string | `"/ping"` | | -| frontier-app.container.readinessProbe.httpGet.port | int | `5556` | | +| frontier-app.container.readinessProbe.grpc.port | int | `8082` | | | frontier-app.enabled | bool | `true` | | | frontier-app.image.pullPolicy | string | `"IfNotPresent"` | | | frontier-app.image.repository | string | `"raystack/frontier"` | | -| frontier-app.image.tag | string | `"0.2.0-rc"` | | -| frontier-app.ingress.annotations."kubernetes.io/ingress.class" | string | `"contour"` | | -| frontier-app.ingress.enabled | bool | `true` | | +| frontier-app.image.tag | string | `"v0.90.0"` | | +| frontier-app.ingress.annotations | object | `{}` | | +| frontier-app.ingress.enabled | bool | `false` | | | frontier-app.ingress.hosts[0].host | string | `"frontier.example.com"` | | -| frontier-app.ingress.hosts[0].paths[0].backend.service.port.number | int | `8080` | | -| frontier-app.ingress.hosts[0].paths[0].path | string | `"/admin"` | | +| frontier-app.ingress.hosts[0].paths[0].backend.service.port.number | int | `8082` | | +| frontier-app.ingress.hosts[0].paths[0].path | string | `"/"` | | | frontier-app.ingress.hosts[0].paths[0].pathType | string | `"Prefix"` | | -| frontier-app.ingress.hosts[0].paths[1].backend.service.port.number | int | `5556` | | -| frontier-app.ingress.hosts[0].paths[1].path | string | `"/"` | | -| frontier-app.ingress.hosts[0].paths[1].pathType | string | `"ImplementationSpecific"` | | -| frontier-app.secretConfig.SHIELD_DB_URL | string | `nil` | | -| frontier-app.secretConfig.SHIELD_SPICEDB_PRE_SHARED_KEY | string | `nil` | | +| frontier-app.secretConfig.FRONTIER_DB_URL | string | `nil` | | +| frontier-app.secretConfig.FRONTIER_SPICEDB_PRE_SHARED_KEY | string | `nil` | | | frontier-app.service.annotations | object | `{}` | | -| frontier-app.service.ports[0].name | string | `"tcp"` | | -| frontier-app.service.ports[0].port | int | `8080` | | +| frontier-app.service.ports[0].name | string | `"admin-ui"` | | +| frontier-app.service.ports[0].port | int | `3000` | | | frontier-app.service.ports[0].protocol | string | `"TCP"` | | -| frontier-app.service.ports[0].targetPort | string | `"tcp"` | | -| frontier-app.service.ports[1].name | string | `"proxy"` | | -| frontier-app.service.ports[1].port | int | `5556` | | +| frontier-app.service.ports[0].targetPort | string | `"admin-ui"` | | +| frontier-app.service.ports[1].name | string | `"connectrpc"` | | +| frontier-app.service.ports[1].port | int | `8082` | | | frontier-app.service.ports[1].protocol | string | `"TCP"` | | -| frontier-app.service.ports[1].targetPort | string | `"proxy"` | | +| frontier-app.service.ports[1].targetPort | string | `"connectrpc"` | | | frontier-app.service.type | string | `"ClusterIP"` | | +| frontier-worker.config.FRONTIER_APP_CONNECT_PORT | int | `8082` | | +| frontier-worker.config.FRONTIER_DB_DRIVER | string | `"postgres"` | | +| frontier-worker.config.FRONTIER_LOG_LEVEL | string | `"info"` | | +| frontier-worker.config.FRONTIER_SPICEDB_HOST | string | `"spicedb.namespace.svc.local"` | | +| frontier-worker.config.FRONTIER_SPICEDB_PORT | int | `50051` | | +| frontier-worker.container.command[0] | string | `"frontier"` | | +| frontier-worker.container.command[1] | string | `"server"` | | +| frontier-worker.container.command[2] | string | `"start"` | | +| frontier-worker.container.livenessProbe.grpc.port | int | `8082` | | +| frontier-worker.container.ports[0].containerPort | int | `3000` | | +| frontier-worker.container.ports[0].name | string | `"admin-ui"` | | +| frontier-worker.container.ports[0].protocol | string | `"TCP"` | | +| frontier-worker.container.ports[1].containerPort | int | `8082` | | +| frontier-worker.container.ports[1].name | string | `"connectrpc"` | | +| frontier-worker.container.ports[1].protocol | string | `"TCP"` | | +| frontier-worker.container.readinessProbe.grpc.port | int | `8082` | | +| frontier-worker.enabled | bool | `true` | | +| frontier-worker.image.pullPolicy | string | `"IfNotPresent"` | | +| frontier-worker.image.repository | string | `"raystack/frontier"` | | +| frontier-worker.image.tag | string | `"v0.65.0"` | | +| frontier-worker.ingress.enabled | bool | `false` | | +| frontier-worker.replicaCount | int | `1` | | +| frontier-worker.secretConfig.FRONTIER_DB_URL | string | `nil` | | +| frontier-worker.secretConfig.FRONTIER_SPICEDB_PRE_SHARED_KEY | string | `nil` | | +| frontier-worker.service.enabled | bool | `false` | | | spicedb.config.SPICEDB_DATASTORE_ENGINE | string | `nil` | | +| spicedb.config.SPICEDB_GRPC_ENABLED | string | `"true"` | | | spicedb.config.SPICEDB_GRPC_SHUTDOWN_GRACE_PERIOD | string | `"5s"` | | +| spicedb.config.SPICEDB_HTTP_ENABLED | string | `"true"` | | | spicedb.config.SPICEDB_LOG_LEVEL | string | `"info"` | | | spicedb.container.command[0] | string | `"spicedb"` | | | spicedb.container.command[1] | string | `"serve"` | | -| spicedb.container.livenessProbe.httpGet.path | string | `"/"` | | -| spicedb.container.livenessProbe.httpGet.port | int | `8080` | | +| spicedb.container.livenessProbe.exec.command[0] | string | `"grpc_health_probe"` | | +| spicedb.container.livenessProbe.exec.command[1] | string | `"-v"` | | +| spicedb.container.livenessProbe.exec.command[2] | string | `"-addr=localhost:50051"` | | | spicedb.container.ports[0].containerPort | int | `50051` | | -| spicedb.container.ports[0].name | string | `"tcp"` | | | spicedb.container.ports[0].protocol | string | `"TCP"` | | -| spicedb.container.readinessProbe.httpGet.path | string | `"/"` | | -| spicedb.container.readinessProbe.httpGet.port | int | `8080` | | +| spicedb.container.ports[1].containerPort | int | `8443` | | +| spicedb.container.ports[1].protocol | string | `"TCP"` | | +| spicedb.container.readinessProbe.exec.command[0] | string | `"grpc_health_probe"` | | +| spicedb.container.readinessProbe.exec.command[1] | string | `"-v"` | | +| spicedb.container.readinessProbe.exec.command[2] | string | `"-addr=localhost:50051"` | | | spicedb.enabled | bool | `true` | | | spicedb.image.repository | string | `"quay.io/authzed/spicedb"` | | -| spicedb.image.tag | string | `"v1.2.0"` | | -| spicedb.ingress.annotations."kubernetes.io/ingress.class" | string | `"contour"` | | -| spicedb.ingress.enabled | bool | `true` | | +| spicedb.image.tag | string | `"v1.30.1"` | | +| spicedb.ingress.annotations | object | `{}` | | +| spicedb.ingress.enabled | bool | `false` | | | spicedb.ingress.hosts[0].host | string | `"spicedb.example.com"` | | | spicedb.ingress.hosts[0].paths[0].backend.service.port.number | int | `80` | | | spicedb.ingress.hosts[0].paths[0].path | string | `"/"` | | @@ -78,6 +112,16 @@ A Helm chart for Kubernetes | spicedb.replicaCount | int | `2` | | | spicedb.secretConfig.SPICEDB_DATASTORE_CONN_URI | string | `nil` | | | spicedb.secretConfig.SPICEDB_GRPC_PRESHARED_KEY | string | `nil` | | +| spicedb.service.annotations | object | `{}` | | +| spicedb.service.ports[0].name | string | `"rest"` | | +| spicedb.service.ports[0].port | int | `80` | | +| spicedb.service.ports[0].protocol | string | `"TCP"` | | +| spicedb.service.ports[0].targetPort | int | `8443` | | +| spicedb.service.ports[1].name | string | `"grpc"` | | +| spicedb.service.ports[1].port | int | `50051` | | +| spicedb.service.ports[1].protocol | string | `"TCP"` | | +| spicedb.service.ports[1].targetPort | int | `50051` | | +| spicedb.service.type | string | `"ClusterIP"` | | --- diff --git a/stable/frontier/values.yaml b/stable/frontier/values.yaml index 844fbfa7..1aec5ea1 100644 --- a/stable/frontier/values.yaml +++ b/stable/frontier/values.yaml @@ -3,22 +3,16 @@ frontier-app: image: repository: raystack/frontier pullPolicy: IfNotPresent - tag: v0.65.0 + tag: v0.90.0 container: command: ["frontier", "server", "start"] livenessProbe: grpc: - port: 8081 + port: 8082 readinessProbe: grpc: - port: 8081 + port: 8082 ports: - - name: rest - containerPort: 8080 - protocol: TCP - - name: grpc - containerPort: 8081 - protocol: TCP - name: admin-ui containerPort: 3000 protocol: TCP @@ -28,14 +22,6 @@ frontier-app: service: type: ClusterIP ports: - - port: 8080 - targetPort: rest - protocol: TCP - name: rest - - port: 8081 - targetPort: grpc - protocol: TCP - name: grpc - port: 3000 targetPort: admin-ui protocol: TCP @@ -56,12 +42,10 @@ frontier-app: backend: service: port: - number: 8080 + number: 8082 config: FRONTIER_SPICEDB_HOST: spicedb.namespace.svc.local FRONTIER_SPICEDB_PORT: 50051 - FRONTIER_APP_PORT: 8080 - FRONTIER_APP_GRPC_PORT: 8081 FRONTIER_APP_CONNECT_PORT: 8082 FRONTIER_LOG_LEVEL: info FRONTIER_DB_DRIVER: postgres @@ -84,17 +68,11 @@ frontier-worker: command: ["frontier", "server", "start"] livenessProbe: grpc: - port: 8081 + port: 8082 readinessProbe: grpc: - port: 8081 + port: 8082 ports: - - name: rest - containerPort: 8080 - protocol: TCP - - name: grpc - containerPort: 8081 - protocol: TCP - name: admin-ui containerPort: 3000 protocol: TCP @@ -108,8 +86,6 @@ frontier-worker: config: FRONTIER_SPICEDB_HOST: spicedb.namespace.svc.local FRONTIER_SPICEDB_PORT: 50051 - FRONTIER_APP_PORT: 8080 - FRONTIER_APP_GRPC_PORT: 8081 FRONTIER_APP_CONNECT_PORT: 8082 FRONTIER_LOG_LEVEL: info FRONTIER_DB_DRIVER: postgres