-
Notifications
You must be signed in to change notification settings - Fork 0
Console tenant gauge issue
Allan Roger Reid edited this page May 17, 2024
·
1 revision
Modified Makefile for MacOS build
git clone https://github.com/minio/operator.git && cd operator
TAG=localhost/minio/operator:noop
GITHUB_WORKSPACE=operator
CI="true"
SCRIPT_DIR=testing
make binary
(cd "${SCRIPT_DIR}/.." && docker build -t $TAG .)
Modify Dockerfile
ENTRYPOINT ["/minio-operator/operator"]
Ensure kind cluster running in Podman desktop e.g. with name operator
kind load docker-image $TAG --name operator
kubectl apply -k "${SCRIPT_DIR}/../resources"
SA_TOKEN=$(kubectl -n minio-operator get secret console-sa-secret -o jsonpath="{.data.token}" | base64 --decode)
echo $SA_TOKEN
echo "Access the minio operator console from https://$(hostname):9000"
Setup port-forward
kubectl port-forward -n minio-operator svc/console 9090:9090 --address 0.0.0.0
kubectl port-forward -n tenant-lite svc/myminio-hl 9000:9000 --address 0.0.0.0
binary:
@CGO_ENABLED=0 GOOS=linux go build -trimpath -o minio-operator ./cmd/operator
docker: operator
@docker buildx build --no-cache --load --platform linux/arm64 -t localhost/minio/operator:noop .
Initial
Upload 50GiB data