parent
b20d933356
commit
02c8f89ace
charts/fp/templates-staging
flux/apps/base/postgresql
scripts
6
flux/apps/base/postgresql/kustomization.yaml
Normal file
6
flux/apps/base/postgresql/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: futureporn
|
||||||
|
resources:
|
||||||
|
- release.yaml
|
||||||
|
- repository.yaml
|
36
flux/apps/base/postgresql/release.yaml
Normal file
36
flux/apps/base/postgresql/release.yaml
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
namespace: futureporn
|
||||||
|
name: postgresql
|
||||||
|
spec:
|
||||||
|
releaseName: postgresql
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
version: "15.5.17"
|
||||||
|
chart: postgresql
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: bitnami
|
||||||
|
interval: 5m
|
||||||
|
install:
|
||||||
|
remediation:
|
||||||
|
retries: -1
|
||||||
|
# Default values
|
||||||
|
# https://artifacthub.io/packages/helm/bitnami/postgresql?modal=values
|
||||||
|
values:
|
||||||
|
auth:
|
||||||
|
enablePostgresUser: true
|
||||||
|
existingSecret: postgres
|
||||||
|
architecture: replication
|
||||||
|
readReplicas:
|
||||||
|
replicaCount: 3
|
||||||
|
persistence:
|
||||||
|
size: 40Gi ## Vultr HDD minimum size
|
||||||
|
replication:
|
||||||
|
syncronousCommit: "on"
|
||||||
|
numSyncronousReplicas: 3
|
||||||
|
applicationName: futureporn
|
||||||
|
primary:
|
||||||
|
persistence:
|
||||||
|
size: 40Gi ## Vultr HDD minimum size
|
8
flux/apps/base/postgresql/repository.yaml
Normal file
8
flux/apps/base/postgresql/repository.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: bitnami
|
||||||
|
namespace: futureporn
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
url: hhttps://charts.bitnami.com/bitnami
|
0
scripts/temporal-namespaces.sh
Normal file → Executable file
0
scripts/temporal-namespaces.sh
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user