From c36229be7126be8e7c7952a1e0e790b4f0cd6826 Mon Sep 17 00:00:00 2001 From: Oleksii-Klimov <133792808+Oleksii-Klimov@users.noreply.github.com> Date: Thu, 5 Dec 2024 12:34:05 +0000 Subject: [PATCH] feat: mount kubeconfig in example (#6) --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c40fe28..499424d 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ AI-Dial App Controller is a Java-based web service application that orchestrates docker run -p 8080:8080 \ -e APP_DOCKER_REGISTRY=your-docker-registry \ -e APP_DIAL_BASE_URL=https://your-dial-base-url \ + -v ~/.kube/config:/home/appuser/.kube/config \ ai-dial-app-controller ``` @@ -87,7 +88,7 @@ Builds a Docker image from the specified source code. ```bash curl -N -X POST http://localhost:8080/v1/image/my-python-app \ -H "Content-Type: application/json" \ - -H "Authorization: Bearer DIAL_JWT_TOKEN" \ + -H "Authorization: Bearer JWT_TOKEN" \ -d '{ "sources": "files/dial bucket/sources folder", "runtime": "python3.11"