k3s-cluster/cluster/crds/kube-prometheus-stack/crds.yaml

31 lines
679 B
YAML

---
apiVersion: source.toolkit.fluxcd.io/v1
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/v1
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