31 lines
689 B
YAML
31 lines
689 B
YAML
|
---
|
||
|
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
|