From 7a467ab8e24cefe1500d3e83e9fb83ec8bfb9e99 Mon Sep 17 00:00:00 2001 From: Yaacov Zamir Date: Mon, 30 Oct 2023 14:26:04 +0200 Subject: [PATCH] Merge from localfile Signed-off-by: Yaacov Zamir --- ci/README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/ci/README.md b/ci/README.md index 894f525..acc33dd 100644 --- a/ci/README.md +++ b/ci/README.md @@ -9,11 +9,19 @@ Deploy the getpublickey server pod and its associated service using `openshift-m kubectl apply -f https://raw.githubusercontent.com/kubev2v/getpublickey/main/ci/deployment.ocp.yaml # optional - patch console plugin proxy -kubectl patch consoleplugin forklift-console-plugin \ - --patch-file https://raw.githubusercontent.com/kubev2v/getpublickey/main/ci/consoleplugin.patch.yaml \ - --type=merge +curl https://raw.githubusercontent.com/kubev2v/getpublickey/main/ci/consoleplugin.patch.yaml \ + -o /tmp/consoleplugin.patch.yaml &&\ + kubectl patch consoleplugin forklift-console-plugin \ + --type=merge --patch-file /tmp/consoleplugin.patch.yaml ``` +> [!NOTE] +> For testing the console plugin patch and deployment: +> browse to `https://[openshift console url]/api/proxy/plugin/forklift-console-plugin/getpublickey/?url=[service url]` +> +> For example on Openshift CRC it may be somethong like: +> https://console-openshift-console.apps-crc.testing/api/proxy/plugin/forklift-console-plugin/getpublickey/?url=google.com + ## Deploying the Server on Vanilla Kubernetes: Deploy `getpublickey` service on a Kubernetes cluster within the `konveyor-forklift` namespace: