Reorganized cnpg
This commit is contained in:
parent
0a0d7f7a65
commit
ae9bb78e2a
16
clusters/titan.lan.huizinga.dev/infra/cnpg.yaml
Normal file
16
clusters/titan.lan.huizinga.dev/infra/cnpg.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: cnpg
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 15m
|
||||||
|
path: ./infra/cnpg
|
||||||
|
dependsOn:
|
||||||
|
- name: topolvm
|
||||||
|
prune: true
|
||||||
|
timeout: 2m
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: flux-system
|
||||||
|
wait: true
|
|
@ -1,17 +1,3 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: cnpg-system
|
|
||||||
---
|
|
||||||
apiVersion: source.toolkit.fluxcd.io/v1
|
|
||||||
kind: HelmRepository
|
|
||||||
metadata:
|
|
||||||
name: cnpg
|
|
||||||
namespace: cnpg-system
|
|
||||||
spec:
|
|
||||||
interval: 1m0s
|
|
||||||
url: https://cloudnative-pg.github.io/charts
|
|
||||||
---
|
|
||||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
kind: HelmRelease
|
kind: HelmRelease
|
||||||
metadata:
|
metadata:
|
8
infra/cnpg/helm-repository.yaml
Normal file
8
infra/cnpg/helm-repository.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: cnpg
|
||||||
|
namespace: cnpg-system
|
||||||
|
spec:
|
||||||
|
interval: 1m0s
|
||||||
|
url: https://cloudnative-pg.github.io/charts
|
6
infra/cnpg/kustomization.yaml
Normal file
6
infra/cnpg/kustomization.yaml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ./namespace.yaml
|
||||||
|
- ./helm-repository.yaml
|
||||||
|
- ./helm-release.yaml
|
4
infra/cnpg/namespace.yaml
Normal file
4
infra/cnpg/namespace.yaml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: cnpg-system
|
|
@ -2,7 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- akri.yaml
|
- akri.yaml
|
||||||
- cloudnative-pg.yaml
|
|
||||||
- ./node-feature-discovery
|
- ./node-feature-discovery
|
||||||
- https://raw.githubusercontent.com/dragonflydb/dragonfly-operator/refs/tags/v1.1.8/manifests/dragonfly-operator.yaml
|
- https://raw.githubusercontent.com/dragonflydb/dragonfly-operator/refs/tags/v1.1.8/manifests/dragonfly-operator.yaml
|
||||||
- https://github.com/kubernetes-csi/external-snapshotter//client/config/crd?ref=v8.2.0
|
- https://github.com/kubernetes-csi/external-snapshotter//client/config/crd?ref=v8.2.0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user