Add postgres
This commit is contained in:
parent
fee24bc228
commit
887424946f
@ -6,3 +6,4 @@ resources:
|
||||
- cert-manager
|
||||
- sealed-secrets
|
||||
- reflector
|
||||
- postgres
|
||||
|
6
infrastructure/postgres/kustomization.yaml
Normal file
6
infrastructure/postgres/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: postgres
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- release.yaml
|
4
infrastructure/postgres/namespace.yaml
Normal file
4
infrastructure/postgres/namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: postgres
|
21
infrastructure/postgres/release.yaml
Normal file
21
infrastructure/postgres/release.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user