mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 13:09:53 +00:00
postgres todos
This commit is contained in:
35
todo/backend/helmrelease-postgresql.yaml
Normal file
35
todo/backend/helmrelease-postgresql.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: todo-postgresql
|
||||
namespace: todo
|
||||
spec:
|
||||
chart:
|
||||
spec:
|
||||
chart: postgresql
|
||||
version: 15.x
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: bitnami
|
||||
namespace: flux-system
|
||||
interval: 15m
|
||||
timeout: 5m
|
||||
releaseName: postgresql
|
||||
values:
|
||||
global:
|
||||
storageClass: "longhorn"
|
||||
postgresql:
|
||||
auth:
|
||||
username: "todo"
|
||||
database: "todos"
|
||||
existingSecret: "database-secrets"
|
||||
secretKeys:
|
||||
adminPasswordKey: "ADMIN_PASSWORD"
|
||||
userPasswordKey: "USER_PASSWORD"
|
||||
replicationPasswordKey: "REPLICATION_PASSWORD"
|
||||
primary:
|
||||
persistence:
|
||||
size: 1Gi
|
||||
readReplicas:
|
||||
persistence:
|
||||
size: 1Gi
|
||||
Reference in New Issue
Block a user