use bitnami postgresql
ci / build (push) Failing after 2m8s Details

This commit is contained in:
CJ_Clippy 2024-07-16 10:33:37 -08:00
parent b20d933356
commit 02c8f89ace
5 changed files with 51 additions and 1 deletions

View File

@ -60,7 +60,7 @@ spec:
resources:
limits:
cpu: 500m
memory: 1Gi
memory: 1Gi
volumeMounts:
- name: postgres
mountPath: /data/postgres

View File

@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: futureporn
resources:
- release.yaml
- repository.yaml

View 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

View 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
View File