Skip to content

Commit

Permalink
feat(cloudnative-pg): preparing it without enabling for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
nrdufour committed Sep 3, 2023
1 parent 09def0c commit 8f8ebcb
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
32 changes: 32 additions & 0 deletions kubernetes/main/apps/database/cloudnative-pg/app/helm-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: cloudnative-pg
namespace: database
spec:
interval: 30m
chart:
spec:
chart: cloudnative-pg
version: 0.18.2
sourceRef:
kind: HelmRepository
name: cloudnative-pg
namespace: flux-system
maxHistory: 2
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
dependsOn:
- name: local-path-provisioner
namespace: kube-system
values:
crds:
create: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helm-release.yaml
16 changes: 16 additions & 0 deletions kubernetes/main/apps/database/cloudnative-pg/ks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cluster-apps-database-cloudnative-pg
namespace: flux-system
spec:
path: ./kubernetes/main/apps/database/cloudnative-pg/app
prune: true
sourceRef:
kind: GitRepository
name: home-ops-kubernetes
wait: true
interval: 30m
retryInterval: 1m
timeout: 5m

0 comments on commit 8f8ebcb

Please sign in to comment.