2023-06-15 04:21:17 +00:00
|
|
|
---
|
2024-01-23 01:17:29 +00:00
|
|
|
apiVersion: source.toolkit.fluxcd.io/v1
|
2023-06-15 04:21:17 +00:00
|
|
|
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
|