98 lines
2.5 KiB
YAML
98 lines
2.5 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: notifications
|
|
name: notifications
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
io.kompose.service: notifications
|
|
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.network/docker-public: "true"
|
|
io.kompose.service: notifications
|
|
spec:
|
|
containers:
|
|
- name: bitwarden-notifications
|
|
#image: bitwarden/notifications:2023.1.0
|
|
image: bitwarden/notifications:2024.5.0
|
|
envFrom:
|
|
- configMapRef:
|
|
name: global.env
|
|
- configMapRef:
|
|
name: uid.env
|
|
- configMapRef:
|
|
name: global.override.env
|
|
ports:
|
|
- containerPort: 5000
|
|
name: port5000
|
|
resources: {}
|
|
volumeMounts:
|
|
|
|
- name: bitwarden-ca-certificates
|
|
mountPath: /etc/bitwarden/ca-certificates
|
|
- name: bitwarden-logs
|
|
mountPath: /etc/bitwarden/logs
|
|
subPath: notifications
|
|
|
|
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: notifications
|
|
namespace: bitwarden
|
|
spec:
|
|
ports:
|
|
- port: 5000
|
|
targetPort: port5000
|
|
protocol: TCP
|
|
selector:
|
|
io.kompose.service: notifications
|