feat(statehub): deploy empty railiance state hub

This commit is contained in:
2026-06-25 15:39:53 +02:00
parent ec991f4ccd
commit 8a9bfcc9bd
6 changed files with 39 additions and 15 deletions

View File

@@ -69,9 +69,11 @@ App promotion into `railiance-apps`:
- copy `apps/charts/state-hub/` to `charts/state-hub/`;
- copy `apps/helm/state-hub-values.yaml` to `helm/state-hub-values.yaml`;
- apply or GitOps-manage `apps/manifests/state-hub-namespace.yaml`;
- create `state-hub-env` in the `state-hub` namespace from the approved
secret-delivery path;
- deploy with Helm only after `state-hub-db` is healthy.
- deploy with Helm using the production values file, which sets
`namespace.create=false`, only after `state-hub-db` is healthy.
## Runtime Secret Contract

View File

@@ -1,8 +1,11 @@
# Production values for the State Hub Railiance chart handoff.
# Non-secret values only. DATABASE_URL comes from the Secret `state-hub-env`.
namespace:
create: false
image:
tag: "b536741"
ingress:
enabled: false
enabled: false

View File

@@ -0,0 +1,8 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: state-hub
labels:
railiance.io/layer: s5-app
railiance.io/postgres-client: state-hub-db

View File

@@ -17,9 +17,9 @@ spec:
policyTypes:
- Egress
egress:
- to:
- namespaceSelector: {}
ports:
- ports:
- protocol: TCP
port: 443
- protocol: TCP
port: 6443
---