-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (21 loc) · 815 Bytes
/
Makefile
File metadata and controls
27 lines (21 loc) · 815 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
IMAGE ?= ghcr.io/mchenetz/entity:latest
.PHONY: build test docker-build deploy e2e-kind
build:
go build ./...
test:
go test ./...
docker-build:
docker build -t $(IMAGE) .
deploy:
kubectl apply -f config/crd/bases/entity.io_objectservices.yaml
kubectl apply -f deploy/objectstorage.k8s.io_bucketclaims.yaml
kubectl apply -f deploy/objectstorage.k8s.io_buckets.yaml
kubectl apply -f deploy/objectstorage.k8s.io_bucketclasses.yaml
kubectl apply -f deploy/objectstorage.k8s.io_bucketaccesses.yaml
kubectl apply -f deploy/objectstorage.k8s.io_bucketaccessclasses.yaml
kubectl apply -f config/rbac/operator-rbac.yaml
kubectl apply -f deploy/operator.yaml
kubectl apply -f config/samples/entity_v1alpha1_objectservice.yaml
kubectl apply -f config/samples/cosi-classes.yaml
e2e-kind:
./hack/e2e-kind.sh