use bitnami postgresql
ci / build (push) Failing after 2m8s
Details
ci / build (push) Failing after 2m8s
Details
This commit is contained in:
parent
b20d933356
commit
02c8f89ace
|
@ -60,7 +60,7 @@ spec:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 500m
|
cpu: 500m
|
||||||
memory: 1Gi
|
memory: 1Gi
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: postgres
|
- name: postgres
|
||||||
mountPath: /data/postgres
|
mountPath: /data/postgres
|
|
@ -0,0 +1,6 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: futureporn
|
||||||
|
resources:
|
||||||
|
- release.yaml
|
||||||
|
- repository.yaml
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue