2024-07-15 18:15:48 +00:00
|
|
|
---
|
|
|
|
workload:
|
|
|
|
kind: Deployment
|
|
|
|
strategy:
|
|
|
|
type: RollingUpdate
|
|
|
|
containers:
|
2024-07-15 18:20:25 +00:00
|
|
|
vaultwarden:
|
2024-07-15 18:15:48 +00:00
|
|
|
image:
|
|
|
|
registry: registry.hub.docker.com
|
|
|
|
repository: vaultwarden/server
|
|
|
|
tag:
|
|
|
|
pullPolicy: Always
|
|
|
|
ports:
|
|
|
|
- vaultwarden
|
|
|
|
mounts:
|
|
|
|
storage:
|
|
|
|
data:
|
|
|
|
path: /app/data/
|
|
|
|
# logs:
|
|
|
|
# path: /app/logs
|
|
|
|
envFrom:
|
|
|
|
- environment
|
|
|
|
- secrets
|
|
|
|
livenessProbe:
|
|
|
|
exec:
|
|
|
|
command:
|
|
|
|
- sh
|
|
|
|
- /healthcheck.sh
|
|
|
|
readinessProbe:
|
|
|
|
exec:
|
|
|
|
command:
|
|
|
|
- sh
|
|
|
|
- /healthcheck.sh
|
|
|
|
initialDelaySeconds: 10
|
|
|
|
periodSeconds: 10
|
2024-07-13 20:24:41 +00:00
|
|
|
|
2024-07-15 18:15:48 +00:00
|
|
|
ingress:
|
|
|
|
main:
|
|
|
|
class: traefik
|
|
|
|
annotations:
|
|
|
|
annotation: test
|
|
|
|
rules:
|
|
|
|
- hosts: vaultwarden.softplayer.net
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- backend:
|
|
|
|
service:
|
|
|
|
name: '{{ include "chart.fullname" $ }}'
|
|
|
|
port: 8080
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- vaultwarden.softplayer.net
|
|
|
|
secretName: vaultwarden.softplayer.net
|
2024-07-13 20:24:41 +00:00
|
|
|
|
|
|
|
service:
|
|
|
|
type: ClusterIP
|
2024-07-15 18:15:48 +00:00
|
|
|
ports:
|
|
|
|
vaultwarden:
|
2024-07-15 18:23:07 +00:00
|
|
|
port: 8080
|
|
|
|
targetPort: 8080
|
2024-07-15 18:15:48 +00:00
|
|
|
protocol: TCP
|
|
|
|
|
|
|
|
storage:
|
|
|
|
data:
|
|
|
|
storageClassName: default
|
|
|
|
size: 1G
|
|
|
|
accessModes:
|
|
|
|
- ReadWriteOnce
|
|
|
|
# logs:
|
|
|
|
# storageClassName: default
|
|
|
|
# size: 1G
|
|
|
|
# accessModes:
|
|
|
|
# - ReadWriteOnce
|
|
|
|
|
|
|
|
# -- Please have a look here: https://github.com/dani-garcia/vaultwarden/blob/main/.env.template
|
|
|
|
env:
|
|
|
|
environment:
|
|
|
|
enabled: true
|
|
|
|
sensitive: false
|
|
|
|
data:
|
|
|
|
DOMAIN: vaultwarden.softplayer.net
|
|
|
|
SMTP_HOST: ~
|
|
|
|
SMTP_SECURITY: startls
|
|
|
|
SMTP_PORT: 587
|
|
|
|
SMTP_AUTH_MECHANISM: Plain
|
|
|
|
SMTP_FROM: vaultwarden@softplayer.net
|
|
|
|
SMTP_FROM_NAME: Soft Player
|
|
|
|
SMTP_DEBUG: false
|
|
|
|
SMTP_ACCEPT_INVALID_HOSTNAMES: false
|
|
|
|
SMTP_ACCEPT_INVALID_CERTS: false
|
|
|
|
SMTP_USERNAME: ~
|
|
|
|
DATA_FOLDER: /app/data/
|
|
|
|
ROCKET_PORT: 8080
|
|
|
|
SHOW_PASSWORD_HINT: true
|
|
|
|
SIGNUPS_ALLOWED: false
|
|
|
|
INVITATIONS_ALLOWED: true
|
|
|
|
SIGNUPS_DOMAINS_WHITELIST: "*"
|
|
|
|
SIGNUPS_VERIFY: true
|
|
|
|
WEB_VAULT_ENABLED: true
|
|
|
|
LOG_FILE: /app/logs
|
|
|
|
LOG_LEVEL: info
|
|
|
|
DB_CONNECTION_RETRIES: 10
|
|
|
|
DATABASE_MAX_CONNS: 10
|
|
|
|
ORG_GROUPS_ENABLED: true
|
|
|
|
ORG_EVENTS_ENABLED: true
|
|
|
|
ORG_CREATION_USERS: ""
|
2024-07-13 20:24:41 +00:00
|
|
|
|
2024-07-15 18:15:48 +00:00
|
|
|
secrets:
|
2024-07-13 20:24:41 +00:00
|
|
|
enabled: true
|
2024-07-15 18:15:48 +00:00
|
|
|
sensitive: true
|
|
|
|
data:
|
|
|
|
ADMIN_TOKEN: "R@ndomToken$tring"
|
|
|
|
DATABASE_URL: ~
|
|
|
|
SMTP_PASSWORD: ~
|