Skip to content
Snippets Groups Projects
Commit 91305360 authored by Frederic Branczyk's avatar Frederic Branczyk
Browse files

*: Add kube-prometheus generate make target to generate stage

parent a9fedc63
No related branches found
No related tags found
No related merge requests found
FROM python:3.6-slim
RUN apt-get update -y && apt-get install -y git
RUN pip3 install virtualenv
ENTRYPOINT ["/bin/bash"]
\ No newline at end of file
.PHONY: image .PHONY: image
IMAGE := coreos/generate-prometheus-operator-manifests
image: Dockerfile image:
docker build -t $(IMAGE) . docker build -f ../../scripts/jsonnet/Dockerfile -t po-jsonnet ../../
BUILDER := docker run --rm -it --workdir /data -v ${PWD}:/data $(IMAGE) ./hack/scripts/generate-manifests.sh
generate: image generate: image
@echo ">> Compiling assets and generating Kubernetes manifests" @echo ">> Compiling assets and generating Kubernetes manifests"
$(BUILDER) docker run --rm -v `pwd`:/go/src/github.com/coreos/prometheus-operator/contrib/kube-prometheus --workdir /go/src/github.com/coreos/prometheus-operator/contrib/kube-prometheus po-jsonnet make generate-raw
generate-raw:
./hack/scripts/generate-manifests.sh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment