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:
2
Makefile
2
Makefile
@@ -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
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user