This PR contains the following updates: | Package | Update | Change | |---|---|---| | [vaultwarden/server](https://github.com/dani-garcia/vaultwarden) | patch | `1.37.2` → `1.37.3` | --- ### Release Notes <details> <summary>dani-garcia/vaultwarden (vaultwarden/server)</summary> ### [`v1.37.3`](https://github.com/dani-garcia/vaultwarden/releases/tag/1.37.3) [Compare Source](https://github.com/dani-garcia/vaultwarden/compare/1.37.2...1.37.3) #### What's Changed - Fix password change with newer web-vault by [@​BlackDex](https://github.com/BlackDex) in [#​7634](https://github.com/dani-garcia/vaultwarden/pull/7634) - chore: remove duplicate "the" in ciphers.rs comment by [@​mvanhorn](https://github.com/mvanhorn) in [#​7254](https://github.com/dani-garcia/vaultwarden/pull/7254) - Ignore reset-password auto-enroll when mail is disabled by [@​xhon-pelushi](https://github.com/xhon-pelushi) in [#​7585](https://github.com/dani-garcia/vaultwarden/pull/7585) - Fix migration for MariaDB 12.2.2 by [@​Timshel](https://github.com/Timshel) in [#​7265](https://github.com/dani-garcia/vaultwarden/pull/7265) - Add SSO\_SIGNUPS\_ALLOWED by [@​Timshel](https://github.com/Timshel) in [#​7272](https://github.com/dani-garcia/vaultwarden/pull/7272) - log\_event take enum parameter not i32 by [@​Timshel](https://github.com/Timshel) in [#​7656](https://github.com/dani-garcia/vaultwarden/pull/7656) - Misc Updates by [@​BlackDex](https://github.com/BlackDex) in [#​7676](https://github.com/dani-garcia/vaultwarden/pull/7676) - Update rust docker version by [@​dani-garcia](https://github.com/dani-garcia) in [#​7689](https://github.com/dani-garcia/vaultwarden/pull/7689) - Fix organization import failing with missing field groups by [@​tom27052006](https://github.com/tom27052006) in [#​7699](https://github.com/dani-garcia/vaultwarden/pull/7699) - Add `pm-32413-multi-client-password-management` feature flag by [@​tom27052006](https://github.com/tom27052006) in [#​7677](https://github.com/dani-garcia/vaultwarden/pull/7677) - Log IP/username on two-factor email-login credential failures by [@​crahn](https://github.com/crahn) in [#​7654](https://github.com/dani-garcia/vaultwarden/pull/7654) - Support admin reset 2fa by [@​Timshel](https://github.com/Timshel) in [#​7435](https://github.com/dani-garcia/vaultwarden/pull/7435) - fix(security): revoke 2FA remember tokens when credentials or 2FA change by [@​BryanFRD](https://github.com/BryanFRD) in [#​7682](https://github.com/dani-garcia/vaultwarden/pull/7682) - fix(security): rate limit prelogin and auth request endpoints by [@​BryanFRD](https://github.com/BryanFRD) in [#​7681](https://github.com/dani-garcia/vaultwarden/pull/7681) - fix: Correct invalid comment syntax in .dockerignore by [@​niniconi](https://github.com/niniconi) in [#​7274](https://github.com/dani-garcia/vaultwarden/pull/7274) - Update Rust and adjust DockerSettings by [@​BlackDex](https://github.com/BlackDex) in [#​7690](https://github.com/dani-garcia/vaultwarden/pull/7690) - Route service clients through shared HTTP setup by [@​txase](https://github.com/txase) in [#​7639](https://github.com/dani-garcia/vaultwarden/pull/7639) - Fix iOS registration token response by [@​tom27052006](https://github.com/tom27052006) in [#​7714](https://github.com/dani-garcia/vaultwarden/pull/7714) - Use insert\_into when possible by [@​Timshel](https://github.com/Timshel) in [#​6437](https://github.com/dani-garcia/vaultwarden/pull/6437) - Fix archiveDate update by [@​BlackDex](https://github.com/BlackDex) in [#​7722](https://github.com/dani-garcia/vaultwarden/pull/7722) #### New Contributors - [@​mvanhorn](https://github.com/mvanhorn) made their first contribution in [#​7254](https://github.com/dani-garcia/vaultwarden/pull/7254) - [@​xhon-pelushi](https://github.com/xhon-pelushi) made their first contribution in [#​7585](https://github.com/dani-garcia/vaultwarden/pull/7585) - [@​crahn](https://github.com/crahn) made their first contribution in [#​7654](https://github.com/dani-garcia/vaultwarden/pull/7654) - [@​BryanFRD](https://github.com/BryanFRD) made their first contribution in [#​7682](https://github.com/dani-garcia/vaultwarden/pull/7682) - [@​niniconi](https://github.com/niniconi) made their first contribution in [#​7274](https://github.com/dani-garcia/vaultwarden/pull/7274) **Full Changelog**: <https://github.com/dani-garcia/vaultwarden/compare/1.37.2...1.37.3> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4zOS4zIiwidXBkYXRlZEluVmVyIjoiNDQuMzkuMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Reviewed-on: #10
144 lines
3.1 KiB
YAML
144 lines
3.1 KiB
YAML
---
|
|
# 1) Deployment
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: vaultwarden
|
|
namespace: default
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: vaultwarden
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: vaultwarden
|
|
spec:
|
|
containers:
|
|
- name: vaultwarden
|
|
image: vaultwarden/server:1.37.3
|
|
env:
|
|
- name: DOMAIN
|
|
value: "https://vault.haven"
|
|
- name: ADMIN_TOKEN
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: vaultwarden-admin-token
|
|
key: ADMIN_TOKEN
|
|
ports:
|
|
- containerPort: 80
|
|
name: vault-port
|
|
# /alive requires no authentication and verifies the Vaultwarden process
|
|
startupProbe:
|
|
httpGet:
|
|
path: /alive
|
|
port: vault-port
|
|
scheme: HTTP
|
|
periodSeconds: 5
|
|
timeoutSeconds: 3
|
|
failureThreshold: 30
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /alive
|
|
port: vault-port
|
|
scheme: HTTP
|
|
periodSeconds: 10
|
|
timeoutSeconds: 3
|
|
failureThreshold: 3
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /alive
|
|
port: vault-port
|
|
scheme: HTTP
|
|
periodSeconds: 15
|
|
timeoutSeconds: 3
|
|
failureThreshold: 6
|
|
volumeMounts:
|
|
- name: vaultwarden-data
|
|
mountPath: /data
|
|
resources:
|
|
requests:
|
|
cpu: 250m
|
|
memory: 64Mi
|
|
limits:
|
|
cpu: 250m
|
|
memory: 256Mi
|
|
volumes:
|
|
- name: vaultwarden-data
|
|
persistentVolumeClaim:
|
|
claimName: vaultwarden-data
|
|
---
|
|
# 2) Service
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: vaultwarden
|
|
namespace: default
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
app: vaultwarden
|
|
ports:
|
|
- port: 80
|
|
targetPort: vault-port
|
|
---
|
|
# 3) PersistentVolumeClaim (for /data)
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: vaultwarden-data
|
|
namespace: default
|
|
spec:
|
|
storageClassName: "nfs-client"
|
|
accessModes:
|
|
- ReadWriteMany
|
|
resources:
|
|
requests:
|
|
storage: 1Gi
|
|
---
|
|
# 4) Ingress
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: vaultwarden
|
|
namespace: default
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: internal-ca
|
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
|
spec:
|
|
tls:
|
|
- hosts:
|
|
- vault.haven
|
|
secretName: vaultwarden-tls
|
|
rules:
|
|
- host: vault.haven
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: vaultwarden
|
|
port:
|
|
number: 80
|
|
---
|
|
# 4) Ingress
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: vaultwarden-public
|
|
namespace: default
|
|
spec:
|
|
rules:
|
|
- host: vault.ivanch.me
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: vaultwarden
|
|
port:
|
|
number: 80
|