1
0
mirror of https://github.com/coreos/prometheus-operator.git synced 2026-02-05 06:45:27 +01:00

jsonnet: add ScrapeConfig CRD to prometheus-operator.libsonnet (#5574)

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
Simon Pasquier
2023-05-12 12:15:24 +02:00
committed by GitHub
parent b34591b695
commit e8841ea954
2 changed files with 3 additions and 0 deletions

View File

@@ -26,6 +26,8 @@ TYPES_V1_TARGET += pkg/apis/monitoring/v1/servicemonitor_types.go
TYPES_V1_TARGET += pkg/apis/monitoring/v1/thanos_types.go
TYPES_V1ALPHA1_TARGET := pkg/apis/monitoring/v1alpha1/alertmanager_config_types.go
TYPES_V1ALPHA1_TARGET += pkg/apis/monitoring/v1alpha1/prometheusagent_types.go
TYPES_V1ALPHA1_TARGET += pkg/apis/monitoring/v1alpha1/scrapeconfig_types.go
TYPES_V1BETA1_TARGET := pkg/apis/monitoring/v1beta1/alertmanager_config_types.go
TOOLS_BIN_DIR ?= $(shell pwd)/tmp/bin

View File

@@ -40,6 +40,7 @@ function(params) {
'0probeCustomResourceDefinition': import 'probes-crd.json',
'0prometheusruleCustomResourceDefinition': import 'prometheusrules-crd.json',
'0thanosrulerCustomResourceDefinition': import 'thanosrulers-crd.json',
'0scrapeconfigCustomResourceDefinition': import 'scrapeconfigs-crd.json',
clusterRoleBinding: {
apiVersion: 'rbac.authorization.k8s.io/v1',