Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge from localfile #9

Merged
merged 1 commit into from
Oct 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions ci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading