Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
node-red-contrib-kubernetes-client-ubos
Advanced tools
A node-red node that supports interacting with kubernetes clusters (watches, http API)
A Node-RED
node that supports interacting with Kubernetes API via watches
and HTTP
requests.
npm install --save node-red-contrib-kubernetes-client-ubos
The nodes are properly documented in Node-RED
itself. In short there are 2 nodes:
kubernetes-client-watch
- produces messages for configured watch
endpoints.kubernetes-client-http
- allows complete interaction with Kubernetes API via ALL HTTP endpoints
and verbs
etc.Watches
ouput a msg.payload
with the following structure (as a json
object in Node-RED
but shared here as yaml
for readability):
# example event
---
type: ADDED || MODIFIED || DELETED || ERROR
object:
kind: ...
apiVersion: ...
metadata:
...
...
# example error
---
type: ERROR
object:
kind: Status
apiVersion: v1
metadata: {}
status: Failure
message: 'too old resource version: 1 (78390381)'
reason: Gone
code: 410
msg.payload.object
contains the full resource from Kubernetes.
Some helpful command variants for testing/developing:
# show event output structure
kubectl -v6 get nodes --watch --output-watch-events -o yaml
# manually specify URL
kubectl -v6 get --raw '/api/v1/nodes?resourceVersion=1&watch=true'
# watch response error structure
---
type: ERROR
object:
kind: Status
apiVersion: v1
metadata: {}
status: Failure
message: 'too old resource version: 1 (78383979)'
reason: Gone
code: 410
FAQs
A node-red node that supports interacting with kubernetes clusters (watches, http API)
The npm package node-red-contrib-kubernetes-client-ubos receives a total of 3 weekly downloads. As such, node-red-contrib-kubernetes-client-ubos popularity was classified as not popular.
We found that node-red-contrib-kubernetes-client-ubos 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.