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