diff --git a/Makefile b/Makefile index d372423a5..20d429e3e 100644 --- a/Makefile +++ b/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 diff --git a/jsonnet/prometheus-operator/prometheus-operator.libsonnet b/jsonnet/prometheus-operator/prometheus-operator.libsonnet index a6e77f09f..544e1d19a 100644 --- a/jsonnet/prometheus-operator/prometheus-operator.libsonnet +++ b/jsonnet/prometheus-operator/prometheus-operator.libsonnet @@ -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',