Vaultwarden
This commit is contained in:
parent
a7edc0e71c
commit
2418bd1979
4 changed files with 69 additions and 28 deletions
|
|
@ -1,13 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
io.kompose.service: foundry-vtt-claim0
|
|
||||||
name: foundry-vtt-claim0
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
storageClassName: nfs
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 2G
|
|
||||||
49
services/vaultwarden/vaultwarden-deployment.yaml
Normal file
49
services/vaultwarden/vaultwarden-deployment.yaml
Normal file
|
|
@ -0,0 +1,49 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: kompose convert -f compose.yaml
|
||||||
|
kompose.version: 1.38.0 (HEAD)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: vaultwarden
|
||||||
|
name: vaultwarden
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: vaultwarden
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: kompose convert -f compose.yaml
|
||||||
|
kompose.version: 1.38.0 (HEAD)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: vaultwarden
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- env:
|
||||||
|
- name: SIGNUPS_ALLOWED
|
||||||
|
value: "false"
|
||||||
|
- name: WEBSOCKET_ENABLED
|
||||||
|
value: "true"
|
||||||
|
image: vaultwarden/server:latest
|
||||||
|
name: vaultwarden
|
||||||
|
ports:
|
||||||
|
- containerPort: 3012
|
||||||
|
protocol: TCP
|
||||||
|
- containerPort: 80
|
||||||
|
protocol: TCP
|
||||||
|
securityContext:
|
||||||
|
runAsGroup: 1000
|
||||||
|
runAsUser: 1000
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /data
|
||||||
|
name: vaultwarden-volume
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- name: vaultwarden-volume
|
||||||
|
nfs:
|
||||||
|
server: birdfeeder2.home.nest
|
||||||
|
path: /k3s/vaultwarden
|
||||||
20
services/vaultwarden/vaultwarden-service.yaml
Normal file
20
services/vaultwarden/vaultwarden-service.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: kompose convert -f compose.yaml
|
||||||
|
kompose.version: 1.38.0 (HEAD)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: vaultwarden
|
||||||
|
name: vaultwarden
|
||||||
|
spec:
|
||||||
|
type: NodePort
|
||||||
|
ports:
|
||||||
|
- port: 3012
|
||||||
|
targetPort: 3012
|
||||||
|
NodePort: 3012
|
||||||
|
- port: 8081
|
||||||
|
targetPort: 80
|
||||||
|
NodePort: 8081
|
||||||
|
selector:
|
||||||
|
io.kompose.service: vaultwarden
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
apiVersion: helm.cattle.io/v1
|
|
||||||
kind: HelmChart
|
|
||||||
metadata:
|
|
||||||
name: nfs
|
|
||||||
namespace: default
|
|
||||||
spec:
|
|
||||||
chart: nfs-subdir-external-provisioner
|
|
||||||
repo: https://kubernetes-sigs.github.io/nfs-subdir-external-provisioner
|
|
||||||
targetNamespace: default
|
|
||||||
set:
|
|
||||||
nfs.server: birdfeeder2.home.nest
|
|
||||||
nfs.path: /k3s
|
|
||||||
reclaimPolicy: Retain
|
|
||||||
accessModes: ReadWriteOnce
|
|
||||||
storageClass.name: nfs
|
|
||||||
Loading…
Add table
Reference in a new issue