forked from kabanero-io/kabanero-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
28 lines (20 loc) · 592 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
IMAGE ?= kabanero/kabanero-operator:latest
.PHONY: build deploy
build:
go install ./cmd/manager
build-image: dependencies
operator-sdk build ${IMAGE}
generate:
operator-sdk generate k8s
install:
kubectl apply -f deploy/crds/kabanero_v1alpha1_kabanero_crd.yaml
deploy:
kubectl create namespace kabanero || true
kubectl -n kabanero apply -f deploy/
dependencies:
go get -u github.com/golang/dep/cmd/dep
dep ensure
# Requires https://github.com/pmezard/licenses
dependency-report: dependencies
go get -u github.com/pmezard/licenses
licenses ./pkg/... | cut -c49- > 3RD_PARTY