
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
forklift-console-plugin
Advanced tools
Forklift is a suite of migration tools that facilitate the migration of VM workloads to OpenShift Virtualization.
[ See the docs folder for more information ]
Start the forklift-operator inventory server on http://localhost:8080
withut authentication.
Using forklift-operator development code, login into the cluster and run the server without authentication:
oc login
(requires oc and an OpenShift cluster)AUTH_REQUIRED=false make run
Using forklift console plugin code.
In one terminal window, run:
yarn install
yarn start
In another terminal window, run:
oc login # if not loggedin
(requires oc and an OpenShift cluster)yarn run start:console
(requires docker or podman 3.2.0+)See below for how to run start:console
on Apple silicon ARM based machine.
This will run the OpenShift console in a container connected to the cluster you've logged into. The plugin HTTP server runs on port 9001 with CORS enabled.
After pushing an image with your changes to a registry, you can deploy the plugin to a cluster by using helm.
# Add the forklift helm repo
helm repo add forklift https://yaacov.github.io/forklift-console-plugin
# Install the forklift console plugin using current namespace
helm install forklift-console-plugin forklift/forklift-console-plugin
parameter | description | default value |
---|---|---|
plugin | name of "app" label used for objects | forklift-console-plugin |
name | the deployment name | forklift-console-plugin |
image | the plugin container image | quay.io/yaacov/forklift-console-plugin:latest |
forkliftNamespace | forklift-operator namespace | konveyor-forklift |
# for example, if forklift-operator is not installed in konveyor-forklift namespace,
# set "forkliftNamespace" value to the currect namespace:
helm install forklift-console-plugin \
forklift/forklift-console-plugin \
--set forkliftNamespace=openshift-mtv
Once deployed, patch the Console operator config to enable the plugin.
oc patch consoles.operator.openshift.io cluster \
--patch '{ "spec": { "plugins": ["forklift-console-plugin"] } }' --type=merge
Before you can deploy your plugin on a cluster, you must build an image and push it to an image registry.
podman build -t quay.io/yaacov/forklift-console-plugin:latest .
podman run -it --rm -p 9001:8080 quay.io/yaacov/forklift-console-plugin:latest
podman push quay.io/yaacov/forklift-console-plugin:latest
If you have a Mac with Apple silicon, you will need to add the flag
--platform=linux/amd64
when building the image to target the correct platform
to run in-cluster.
If you are using podman on a Mac with Apple silicon, yarn run start-console
might fail since it runs an amd64 image. You can workaround the problem with
qemu-user-static by running
these commands:
podman machine ssh
sudo -i
rpm-ostree install qemu-user-static
systemctl reboot
FAQs
Unknown package
The npm package forklift-console-plugin receives a total of 0 weekly downloads. As such, forklift-console-plugin popularity was classified as not popular.
We found that forklift-console-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.