mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-21 11:48:53 +00:00
Add CRD examples generator rule
This commit is contained in:
parent
5d4241f2fe
commit
0e1184ec68
1 changed files with 6 additions and 1 deletions
7
Makefile
7
Makefile
|
@ -112,4 +112,9 @@ helm-sync-s3:
|
|||
helm/hack/helm-package.sh kube-prometheus
|
||||
helm/hack/sync-repo.sh
|
||||
|
||||
.PHONY: all build crossbuild test format check-license container e2e-test e2e-status e2e clean-e2e embedmd apidocgen docs
|
||||
generate-crd: openapi-gen po-crdgen
|
||||
po-crdgen prometheus > example/prometheus-operator-crd/prometheus.crd.yaml
|
||||
po-crdgen alertmanager > example/prometheus-operator-crd/alertmanager.crd.yaml
|
||||
po-crdgen servicemonitor > example/prometheus-operator-crd/servicemonitor.crd.yaml
|
||||
|
||||
.PHONY: all build crossbuild test format check-license container e2e-test e2e-status e2e clean-e2e embedmd apidocgen docs generate-crd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue