--node-link-url-template and --pod-link-url-template for external links

This commit is contained in:
Henning Jacobs
2019-08-09 22:37:45 +02:00
parent 4dc7d48e43
commit 07d5e6e2bc
8 changed files with 36 additions and 8 deletions

View File

@@ -27,4 +27,6 @@ push: docker
docker push "$(IMAGE):$(TAG)"
mock:
docker run $(TTYFLAGS) -p 8080:8080 "$(IMAGE):$(TAG)" --mock
docker run $(TTYFLAGS) -p 8080:8080 "$(IMAGE):$(TAG)" --mock \
--node-link-url-template "https://kube-web-view.example.org/clusters/{cluster}/nodes/{name}" \
--pod-link-url-template "https://kube-web-view.example.org/clusters/{cluster}/namespaces/{namespace}/pods/{name}"