Move vaultwardentest to the etersoft cluster

This commit is contained in:
Nikolai Rodionov 2024-10-31 10:43:29 +01:00
parent ef44fa6fab
commit 51a314bb4f
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
7 changed files with 30 additions and 13 deletions

View File

@ -1,5 +1,5 @@
creation_rules: creation_rules:
- path_regex: values/.*/secrets.server-xray-public.yaml* - path_regex: values/.*/secrets.server-xray-public./*
key_groups: key_groups:
- age: - age:
- age1vzkv97n2p7gfkw8dyx8ctz2kumattz89th2jq47zyjyrarmnssysdkw9v8 - age1vzkv97n2p7gfkw8dyx8ctz2kumattz89th2jq47zyjyrarmnssysdkw9v8

View File

@ -1 +1,9 @@
<<<<<<< Updated upstream
k8s-deployemnt k8s-deployemnt
=======
# Helmfile deployments for Bad Houseplants
## Project structure
>>>>>>> Stashed changes

View File

@ -75,13 +75,6 @@ releases:
- template: default-env-values - template: default-env-values
- template: default-env-secrets - template: default-env-secrets
- template: ext-tcp-routes - template: ext-tcp-routes
#- name: vaultwardentest
# chart: allangers-charts/vaultwarden
# version: 2.1.0
# namespace: applications
# inherit:
# - template: default-env-values
# - template: default-env-secrets
- name: navidrome - name: navidrome
chart: allangers-charts/navidrome chart: allangers-charts/navidrome
namespace: applications namespace: applications

View File

@ -24,3 +24,10 @@ releases:
- template: default-env-values - template: default-env-values
- template: ext-secret - template: ext-secret
- template: ext-traefik-middleware - template: ext-traefik-middleware
- name: vaultwardentest
chart: allangers-charts/vaultwarden
version: 2.2.0
namespace: applications
inherit:
- template: default-env-values
- template: default-env-secrets

View File

@ -0,0 +1,6 @@
bases:
- ../../common/environments.yaml
- ../../common/templates.yaml
helmfiles:
- ./helmfile-{{ `{{ .Environment.Name }}` }}.yaml

View File

@ -1,4 +1,3 @@
---
workload: workload:
kind: Deployment kind: Deployment
strategy: strategy:
@ -31,8 +30,8 @@ ingress:
paths: paths:
- backend: - backend:
service: service:
name: '{{ include "chart.fullname" $ }}' name: '{{ include "chart.fullname" $ }}-main'
port: port:
number: 8080 number: 8080
path: / path: /
pathType: Prefix pathType: Prefix
@ -41,11 +40,15 @@ ingress:
- vaulttest.badhouseplants.net - vaulttest.badhouseplants.net
secretName: vaulttest.badhouseplants.net secretName: vaulttest.badhouseplants.net
extraVolumes: extraVolumes:
# -- Because by default the fs is read-only, we need to add an emtpy dir volume
logs: logs:
emptyDir: {} emptyDir: {}
storage: {} storage:
data:
annotations:
volume.kubernetes.io/selected-node: yekaterinburg
accessModes:
- ReadWriteOnce
env: env:
environment: environment:
enabled: true enabled: true