k3s-cluster/kubernetes/main/apps/tools/vaultwarden/app/helm-release.yaml

117 lines
2.5 KiB
YAML
Raw Normal View History

2024-11-02 00:37:09 +00:00
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: vaultwarden
spec:
interval: 5m
chart:
spec:
chart: app-template
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjws-charts
namespace: flux-system
values:
controllers:
main:
containers:
main:
image:
repository: vaultwarden/server
tag: 1.32.3
service:
app:
controller: main
ports:
http:
port: 80
ingress:
main:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure
hosts:
- host: "bitwarden.${SECRET_NEW_DOMAIN}"
paths:
- path: /
service:
identifier: app
port: http
persistence:
data:
existingClaim: vaultwarden
# hostPath: /mnt/MainPool/Kubernetes/vaultwarden
globalMounts:
- path: /data
#apiVersion: helm.toolkit.fluxcd.io/v2
#kind: HelmRelease
#metadata:
# name: vaultwarden
#spec:
# interval: 5m
# chart:
# spec:
# chart: app-template
# version: 1.3.x
# sourceRef:
# kind: HelmRepository
# name: bjws-charts
# namespace: flux-system
#
# values:
# image:
# repository: vaultwarden/server
# tag: 1.32.3
#
# service:
# main:
# ports:
# http:
# port: 80
#
# probes:
# liveness:
# enabled: false
#
# ingress:
# main:
# enabled: true
# annotations:
# cert-manager.io/cluster-issuer: letsencrypt-production
# traefik.ingress.kubernetes.io/router.entrypoints: websecure
# hosts:
# - host: &host "bitwarden.${SECRET_NEW_DOMAIN}"
# paths:
# - path: /
# pathType: Prefix
# tls:
# - hosts:
# - *host
#
# persistence:
# data:
# existingClaim: vaultwarden
# globalMounts:
# - path: /data
# # data:
# # enabled: true
# # type: hostPath
# # hostPath: /mnt/MainPool/Kubernetes/vaultwarden
# # mountPath: /data
#
# resources:
# requests:
# cpu: 1m
# memory: 50Mi
#
# limits:
# memory: 200Mi