Add postgres
This commit is contained in:
parent
0d449eefb1
commit
d5019aafa2
3 changed files with 57 additions and 1 deletions
|
@ -4,4 +4,3 @@ resources:
|
||||||
- kusts/operators.yaml
|
- kusts/operators.yaml
|
||||||
- kusts/dns-ssl.yaml
|
- kusts/dns-ssl.yaml
|
||||||
- kusts/home-server.yaml
|
- kusts/home-server.yaml
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ kind: Kustomization
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- mariadb.yaml
|
- mariadb.yaml
|
||||||
|
- postgres.yaml
|
||||||
- replicator.yaml
|
- replicator.yaml
|
||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
- redis.yaml
|
- redis.yaml
|
||||||
|
|
56
deployments/operators/postgres.yaml
Normal file
56
deployments/operators/postgres.yaml
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: postgres-operator-system
|
||||||
|
---
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: crunchydata-postgres-operator
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
url: https://charts.crunchydata.com
|
||||||
|
interval: 1h
|
||||||
|
---
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: postgres-operator-crds
|
||||||
|
namespace: postgres-operator-system
|
||||||
|
spec:
|
||||||
|
interval: 30m
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: pgo-crds
|
||||||
|
version: 5.3.0 # or latest stable version
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: crunchydata-postgres-operator
|
||||||
|
namespace: flux-system
|
||||||
|
install:
|
||||||
|
createNamespace: true
|
||||||
|
upgrade:
|
||||||
|
disableWait: true
|
||||||
|
timeout: 5m
|
||||||
|
---
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: postgres-operator
|
||||||
|
namespace: postgres-operator-system
|
||||||
|
spec:
|
||||||
|
interval: 30m
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: postgres-operator
|
||||||
|
version: 5.3.0 # or latest stable version
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: crunchydata-postgres-operator
|
||||||
|
namespace: flux-system
|
||||||
|
install:
|
||||||
|
createNamespace: true
|
||||||
|
dependsOn:
|
||||||
|
- name: postgres-operator-crds
|
||||||
|
namespace: postgres-operator-system
|
Loading…
Add table
Add a link
Reference in a new issue