WIP: PVC management API
From source:
PVC_NAMESPACE=volm-test PVC_SELECTOR=pvci.txn2.com/service=pvci go run ./cmd/volm.go
Get list of PVCs:
curl --location --request GET 'http://localhost:8070/vol/' | jq
Get a PVC:
curl --location --request GET 'http://localhost:8070/vol/volm-test-pvc-1' | jq
Delete a PVC:
curl --location --request DELETE 'http://localhost:8070/vol/volm-test-pvc-1' | jq
Create test environment with manifests from ./k8s/
.
goreleaser --skip-publish --rm-dist --skip-validate
GITHUB_TOKEN=$GITHUB_TOKEN goreleaser --rm-dist