Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Commit

Permalink
feat: add prometheus-operator CRDs
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrherms committed Feb 13, 2023
1 parent 9d9206a commit a1ffc48
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions cluster/crds/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- prometheus-operator
- cert-manager
- traefik
- metallb
29 changes: 29 additions & 0 deletions cluster/crds/prometheus-operator/crds.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: GitRepository
metadata:
name: prometheus-operator-crd-source
namespace: flux-system
spec:
interval: 12h
url: https://github.com/prometheus-community/helm-charts.git
ref:
# renovate: registryUrl=https://prometheus-community.github.io/helm-charts chart=kube-prometheus-stack
tag: kube-prometheus-stack-45.0.0
ignore: |
# exclude all
/*
# path to crds
!/charts/kube-prometheus-stack/crds
---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
name: prometheus-operator-crds
namespace: flux-system
spec:
interval: 30m
prune: false
sourceRef:
kind: GitRepository
name: prometheus-operator-crd-source
4 changes: 4 additions & 0 deletions cluster/crds/prometheus-operator/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- crds.yaml

0 comments on commit a1ffc48

Please sign in to comment.