Test persistence
This commit is contained in:
parent
2d5e39b655
commit
a46aeb20fb
2 changed files with 28 additions and 2 deletions
|
@ -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
12
manifests/lemmy-pvc.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: lemmy
|
||||
namespace: lemmy
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: longhorn-retain
|
||||
resources:
|
||||
requests:
|
||||
storage: 20Gi
|
Loading…
Reference in a new issue