@@ -46,6 +46,81 @@ Note: this requires Docker and Docker Compose to be installed.
4646bbctl server start
4747```
4848
49+ ## Deploy with Helm (Kubernetes)
50+
51+ BBOT Server can be deployed to Kubernetes using its official Helm chart. The chart deploys the API server, watchdog, MongoDB, and Redis.
52+
53+ ### Quick Start
54+
55+ ``` bash
56+ # Add the Helm repo
57+ helm repo add blacklanternsecurity https://blacklanternsecurity.github.io/bbot-server
58+
59+ # Install
60+ helm install bbot blacklanternsecurity/bbot-server
61+ ```
62+
63+ Or install directly from the OCI registry:
64+
65+ ``` bash
66+ helm install bbot oci://registry-1.docker.io/blacklanternsecurity/bbot-server
67+ ```
68+
69+ ### Configuration
70+
71+ Key values can be overridden with ` --set ` or a custom values file:
72+
73+ ``` bash
74+ helm install bbot blacklanternsecurity/bbot-server \
75+ --set ingress.enabled=true \
76+ --set ingress.hosts[0].host=bbot.example.com \
77+ --set ingress.hosts[0].paths[0].path=/ \
78+ --set ingress.hosts[0].paths[0].pathType=Prefix
79+ ```
80+
81+ Or with a values file:
82+
83+ ``` yaml
84+ # custom-values.yaml
85+ ingress :
86+ enabled : true
87+ className : nginx
88+ annotations :
89+ cert-manager.io/cluster-issuer : letsencrypt
90+ hosts :
91+ - host : bbot.example.com
92+ paths :
93+ - path : /
94+ pathType : Prefix
95+ tls :
96+ - secretName : bbot-tls
97+ hosts :
98+ - bbot.example.com
99+
100+ secrets :
101+ # provide your own API key, or leave empty to auto-generate
102+ apiKey : " "
103+ ` ` `
104+
105+ ` ` ` bash
106+ helm install bbot blacklanternsecurity/bbot-server -f custom-values.yaml
107+ ```
108+
109+ ### Retrieving the API Key
110+
111+ If you didn't provide an API key, one is auto-generated. Retrieve it with:
112+
113+ ``` bash
114+ kubectl get secret bbot-api-key -o jsonpath=' {.data.api-key}' | base64 -d
115+ ```
116+
117+ ### Upgrading
118+
119+ ``` bash
120+ helm repo update
121+ helm upgrade bbot blacklanternsecurity/bbot-server
122+ ```
123+
49124## Interacting with BBOT Server Remotely (Multiplayer)
50125
51126By default, BBOT Server listens on localhost. Use ` --listen ` to expose it to the network:
0 commit comments