mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-09-27 19:21:53 +02:00
feat: helm chart!
Former-commit-id: 27a7d19a73f4360424d2654a078b6cc26c53d231
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
shadowbroker:
|
||||
controllers:
|
||||
|
||||
backend:
|
||||
type: deployment
|
||||
strategy: RollingUpdate
|
||||
rollingUpdate:
|
||||
unavailable: 1
|
||||
containers:
|
||||
main:
|
||||
securityContext:
|
||||
runAsUser: 1001
|
||||
runAsGroup: 1001
|
||||
image:
|
||||
pullPolicy: Always
|
||||
repository: ghcr.io/shadowbroker/backend
|
||||
tag: latest
|
||||
env:
|
||||
AIS_API_KEY:
|
||||
secretKeyRef:
|
||||
name: shadowbroker-env
|
||||
key: AIS_API_KEY
|
||||
OPENSKY_CLIENT_ID:
|
||||
secretKeyRef:
|
||||
name: shadowbroker-env
|
||||
key: OPENSKY_CLIENT_ID
|
||||
OPENSKY_CLIENT_SECRET:
|
||||
secretKeyRef:
|
||||
name: shadowbroker-env
|
||||
key: OPENSKY_CLIENT_SECRET
|
||||
|
||||
frontend:
|
||||
type: deployment
|
||||
strategy: RollingUpdate
|
||||
rollingUpdate:
|
||||
unavailable: 1
|
||||
containers:
|
||||
main:
|
||||
securityContext:
|
||||
runAsUser: 1001
|
||||
runAsGroup: 1001
|
||||
image:
|
||||
pullPolicy: Always
|
||||
repository: ghcr.io/shadowbroker/frontend
|
||||
tag: latest
|
||||
|
||||
env:
|
||||
BACKEND_URL: 'http://shadowbroker-backend.shadowbroker.svc.cluster.local:8000'
|
||||
|
||||
service:
|
||||
backend:
|
||||
controller: backend
|
||||
type: ClusterIP
|
||||
ports:
|
||||
http:
|
||||
port: 8000
|
||||
frontend:
|
||||
controller: frontend
|
||||
type: ClusterIP
|
||||
ports:
|
||||
http:
|
||||
port: 3000
|
||||
Reference in New Issue
Block a user