diff --git a/cluster/apps/tools/kustomization.yaml b/cluster/apps/tools/kustomization.yaml index 218a175..d2233c5 100644 --- a/cluster/apps/tools/kustomization.yaml +++ b/cluster/apps/tools/kustomization.yaml @@ -3,4 +3,5 @@ kind: Kustomization resources: - ./namespace.yaml - ./network_policy.yaml -- ./transfersh \ No newline at end of file +- ./transfersh +- ./vaultwarden \ No newline at end of file diff --git a/cluster/apps/tools/vaultwarden/helm-release.yaml b/cluster/apps/tools/vaultwarden/helm-release.yaml new file mode 100644 index 0000000..36456bb --- /dev/null +++ b/cluster/apps/tools/vaultwarden/helm-release.yaml @@ -0,0 +1,57 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: vaultwarden + namespace: tools +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: latest + + 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: "bitwarden.${SECRET_NEW_DOMAIN}" + paths: + - path: / + pathType: Prefix + + persistence: + data: + enabled: true + type: hostPath + hostPath: /mnt/MainPool/Kubernetes/vaultwarden + mountPath: /data + + resources: + requests: + cpu: 1m + memory: 50Mi + + limits: + memory: 200Mi \ No newline at end of file diff --git a/cluster/apps/tools/vaultwarden/kustomization.yaml b/cluster/apps/tools/vaultwarden/kustomization.yaml new file mode 100644 index 0000000..ea3145d --- /dev/null +++ b/cluster/apps/tools/vaultwarden/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- ./helm-release.yaml \ No newline at end of file diff --git a/docs/todo.md b/docs/todo.md index 65413df..b3770a0 100644 --- a/docs/todo.md +++ b/docs/todo.md @@ -2,7 +2,7 @@ TODO: - [ ] [jellyplex-watched](https://github.com/luigi311/JellyPlex-Watched) - [ ] Tools: - - [ ] transfersh + - [x] transfersh - [ ] portainer - [ ] vaultwarden - [ ] hastebin