Files
Bitwarden_kube/bitwarden_kompose/web-deployment.yaml
T
2024-06-19 14:27:57 +01:00

91 lines
2.2 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -f docker-compose.yml
kompose.version: 1.31.2 (a92241f79)
creationTimestamp: null
labels:
io.kompose.service: web
name: web
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: web
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert -f docker-compose.yml
kompose.version: 1.31.2 (a92241f79)
creationTimestamp: null
labels:
io.kompose.network/docker-default: "true"
io.kompose.service: web
spec:
containers:
- name: bitwarden-web
#image: bitwarden/web:2023.1.0
image: bitwarden/web:2024.5.0
ports:
- containerPort: 5000
name: port5000
envFrom:
- configMapRef:
name: global.env
- configMapRef:
name: uid.env
resources: {}
volumeMounts:
- name: bitwarden-web
mountPath: /etc/bitwarden/web
restartPolicy: Always
volumes:
- name: bitwarden-ca-certificates
persistentVolumeClaim:
claimName: bitwarden-ca-certificates
- name: bitwarden-core
persistentVolumeClaim:
claimName: bitwarden-core
- name: bitwarden-identity
persistentVolumeClaim:
claimName: bitwarden-identity
- name: bitwarden-letsencrypt
persistentVolumeClaim:
claimName: bitwarden-letsencrypt
- name: bitwarden-logs
persistentVolumeClaim:
claimName: bitwarden-logs
- name: bitwarden-mssql
persistentVolumeClaim:
claimName: bitwarden-mssql
- name: bitwarden-nginx
persistentVolumeClaim:
claimName: bitwarden-nginx
- name: bitwarden-ssl
persistentVolumeClaim:
claimName: bitwarden-ssl
- name: bitwarden-web
persistentVolumeClaim:
claimName: bitwarden-web
---
apiVersion: v1
kind: Service
metadata:
name: web
namespace: bitwarden
spec:
ports:
- port: 5000
targetPort: port5000
protocol: TCP
selector:
io.kompose.service: web