Test persistence

This commit is contained in:
Amarpreet Minhas 2023-07-16 17:43:53 +00:00
parent 2d5e39b655
commit a46aeb20fb
2 changed files with 28 additions and 2 deletions

View file

@ -11,6 +11,15 @@ istio:
externalSecrets:
secretStoreName: lemmy
vaultRole: lemmy
secretPaths:
- name: lemmy
secrets:
- secretKey: admin-password
key: lemmy
property: admin-password
- secretKey: postgresql-password
key: lemmy
property: postgresql-password
backend:
image:
@ -31,13 +40,15 @@ smtp:
admin:
username: admin
email: admin@devvul.com
password: password
existingSecret: lemmy
existingSecretKey: admin-pw
config:
siteName: Devvul Lemmy
tls: true
serviceAccount:
create: true
name: "lemmy"
pictrs:
@ -63,7 +74,10 @@ postgresql:
auth:
username: lemmy
database: lemmy
password: lemmy
existingSecret: lemmy
persistence:
enabled: true
existingClaim: "lemmy"
ingress:
enabled: false

12
manifests/lemmy-pvc.yaml Normal file
View file

@ -0,0 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: lemmy
namespace: lemmy
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn-retain
resources:
requests:
storage: 20Gi