74 lines
1.5 KiB
YAML
74 lines
1.5 KiB
YAML
---
|
|
apiVersion: source.toolkit.fluxcd.io/v1
|
|
kind: HelmRepository
|
|
metadata:
|
|
name: bjw-s-charts
|
|
namespace: {{ .Release.Namespace }}
|
|
spec:
|
|
url: https://bjw-s.github.io/helm-charts/
|
|
interval: 1h
|
|
---
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: vaultwarden
|
|
namespace: {{ .Release.Namespace }}
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 2.4.0
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: bjw-s-charts
|
|
namespace: {{ .Release.Namespace }}
|
|
install:
|
|
createNamespace: true
|
|
values:
|
|
# Basic container config
|
|
image:
|
|
repository: vaultwarden/server
|
|
tag: 1.30.5
|
|
pullPolicy: IfNotPresent
|
|
|
|
env:
|
|
WEBSOCKET_ENABLED: "true"
|
|
SIGNUPS_ALLOWED: "false"
|
|
DOMAIN: "https://vw.hxme.net"
|
|
ADMIN_TOKEN: "CHANGEME_SUPER_SECRET"
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
http:
|
|
port: 80
|
|
|
|
ingress:
|
|
main:
|
|
enabled: true
|
|
annotations:
|
|
kubernetes.io/ingress.class: "traefik" # Or nginx or your ingress class
|
|
hosts:
|
|
- host: vw.hxme.net
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- vw.hxme.net
|
|
secretName: bitwarden-tls
|
|
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
existingClaim: bitwarden-data # You must create a PVC or a StorageClass dynamic claim
|
|
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: 250m
|
|
memory: 512Mi
|
|
|