Add postgres

This commit is contained in:
Kasper Juul Hermansen 2022-06-04 16:08:41 +02:00
parent fee24bc228
commit 887424946f
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23
4 changed files with 32 additions and 0 deletions

View File

@ -6,3 +6,4 @@ resources:
- cert-manager
- sealed-secrets
- reflector
- postgres

View File

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

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: postgres

View File

@ -0,0 +1,21 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: postgres
spec:
releaseName: postgres
chart:
spec:
chart: postgresql
sourceRef:
kind: HelmRepository
name: bitnami
namespace: flux-system
version: "11.6.3"
interval: 1h0m0s
install:
remediation:
retries: 3
values:
global:
storageClass: hcloud-volumes