53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: vaultwarden
|
||
|
namespace: vaultwarden
|
||
|
labels:
|
||
|
app: vaultwarden
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: vaultwarden
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: vaultwarden
|
||
|
spec:
|
||
|
serviceAccountName: vaultwarden
|
||
|
containers:
|
||
|
- name: vaultwarden
|
||
|
# image: bv11-cr01.bessems.eu/proxy/vaultwarden/server
|
||
|
image: vaultwarden/server
|
||
|
env:
|
||
|
- name: ENABLE_DB_WAL
|
||
|
value: "false"
|
||
|
- name: ROCKET_PORT
|
||
|
value: "8080"
|
||
|
- name: SIGNUPS_ALLOWED
|
||
|
value: "false"
|
||
|
- name: WEBSOCKET_ENABLED
|
||
|
value: "true"
|
||
|
- name: WEBSOCKET_PORT
|
||
|
value: "3012"
|
||
|
- name: LOG_LEVEL
|
||
|
value: "debug"
|
||
|
- name: EXTENDED_LOGGING
|
||
|
value: "true"
|
||
|
envFrom:
|
||
|
- secretRef:
|
||
|
name: vaultwarden
|
||
|
ports:
|
||
|
- name: ui
|
||
|
containerPort: 8080
|
||
|
- name: websocket
|
||
|
containerPort: 3012
|
||
|
volumeMounts:
|
||
|
- mountPath: /data
|
||
|
name: flexvolsmb-vaultwarden-data
|
||
|
volumes:
|
||
|
- name: flexvolsmb-vaultwarden-data
|
||
|
persistentVolumeClaim:
|
||
|
claimName: flexvolsmb-vaultwarden-data
|