-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (31 loc) · 1000 Bytes
/
Copy pathMakefile
File metadata and controls
41 lines (31 loc) · 1000 Bytes
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
29
30
31
32
33
34
35
36
37
38
39
40
41
build:
go build -o cmd/monero-operator/monero-operator -v ./cmd/monero-operator
run: build
./cmd/monero-operator/monero-operator metrics --monerod-address=http://localhost:18081
deploy:
kapp deploy -a monero -f ./config/release.yaml
delete:
kapp delete -a monero --yes
debug:
cd ./cmd/monero-operator && dlv debug -- metrics --monerod-address=http://localhost:18081
.PHONY: images
images:
kbld --images-annotation=false -f ./images/images.yaml > ./images/resolved.yaml
install-crds:
kapp deploy -a monero -f ./config/bases/crds.yaml --yes
uninstall-crds:
kapp delete -a monero --yes
release:
KO_DOCKER_REPO=utxobr ko resolve -f ./config/bases > ./config/release.yaml
generate:
controller-gen \
crd \
paths=./pkg/apis/utxo.com.br/v1alpha1 \
output:stdout > ./config/bases/crds.yaml
controller-gen \
rbac:roleName=monero-controller \
paths=./pkg/reconciler \
output:stdout > ./config/bases/role.yaml
controller-gen \
object \
paths=./pkg/apis/utxo.com.br/v1alpha1