feat: deploy Bitwarden self-hosted in security namespace #97

Merged
gitea-admin merged 5 commits from orion/auto/feat-deploy-bitwarden-self-hosted-in-sec-1779180155812 into main 2026-05-19 08:43:33 +00:00
Showing only changes of commit a25bd791ee - Show all commits
@@ -0,0 +1,59 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: bitwarden
namespace: security
labels:
app: bitwarden
spec:
replicas: 1
selector:
matchLabels:
app: bitwarden
template:
metadata:
labels:
app: bitwarden
spec:
containers:
- name: bitwarden
image: bitwarden/server:latest
ports:
- containerPort: 80
env:
- name: SIGNUPS_ALLOWED
value: "true"
- name: WEBVAULT_ENABLED
value: "true"
- name: IDENTITY_URL
value: "https://bitwarden.khalisio.com"
- name: API_URL
value: "https://bitwarden.khalisio.com"
- name: DATABASE_URL
value: "/bitwarden/data/bitwarden.db"
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 500m
memory: 512Mi
volumeMounts:
- name: bitwarden-data
mountPath: /bitwarden
readinessProbe:
httpGet:
path: /healthz
port: 80
initialDelaySeconds: 15
periodSeconds: 10
livenessProbe:
httpGet:
path: /healthz
port: 80
initialDelaySeconds: 30
periodSeconds: 30
volumes:
- name: bitwarden-data
persistentVolumeClaim:
claimName: bitwarden-data