add kube-prometheus-stack crds
This commit is contained in:
parent
18c515ec32
commit
26f76bd036
|
@ -8,7 +8,7 @@ spec:
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: kube-prometheus-stack
|
chart: kube-prometheus-stack
|
||||||
version: 45.10.x
|
version: "46.8.0"
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: prometheus-community-charts
|
name: prometheus-community-charts
|
||||||
|
|
|
@ -0,0 +1,30 @@
|
||||||
|
---
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||||
|
kind: GitRepository
|
||||||
|
metadata:
|
||||||
|
name: kube-prometheus-stack-source
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 12h
|
||||||
|
url: https://github.com/prometheus-community/helm-charts.git
|
||||||
|
ref:
|
||||||
|
tag: kube-prometheus-stack-46.8.0
|
||||||
|
ignore: |
|
||||||
|
# exclude all
|
||||||
|
/*
|
||||||
|
# include crds directory
|
||||||
|
!/charts/kube-prometheus-stack/crds
|
||||||
|
---
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: crds-kube-prometheus-stack
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 30m
|
||||||
|
prune: false
|
||||||
|
wait: true
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: kube-prometheus-stack-source
|
||||||
|
path: ./charts/kube-prometheus-stack/crds
|
|
@ -0,0 +1,4 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- crds.yaml
|
|
@ -4,3 +4,4 @@ resources:
|
||||||
- cert-manager
|
- cert-manager
|
||||||
- traefik
|
- traefik
|
||||||
- metallb
|
- metallb
|
||||||
|
- kube-prometheus-stack
|
Loading…
Reference in New Issue