Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
github.skymusic.top/baidu/cluster-api-provider-baiducloud
We can dockerize the binaries and use helm/charts to deploy these three controllers into the cluster later.
kubectl
sshpass
We just assume that you currently have a running Kubernetes cluster locally or in some public cloud, and you have your kubeconfig file under ~/.kube/config
~ glide install --strip-vendor
~ go build -o manager sigs.k8s.io/cluster-api-provider-baiducloud/cmd/manager
~ export SecretAccessKey=YOUR_ACCESS_KEY && export AccessKeyID=YOUR_KEY_ID
~ kubectl apply -f config/crds/cluster.yaml
~ kubectl apply -f config/crds/machine.yaml
~ kubectl apply -f config/crds/machineset.yaml
~ kubectl apply -f config/crds/machinedeployment.yaml
~ ./manager -kubeconfig ~/.kube/config -alsologtostderr -v 4
~ kubectl apply -f config/samples/cluster.yaml
~ kubectl apply -f config/samples/machinedeployments.yaml
apiVersion: "cluster.k8s.io/v1alpha1"
kind: Cluster
metadata:
name: cluster-sample
spec:
clusterNetwork:
services:
cidrBlocks: ["10.96.0.0/16"]
pods:
cidrBlocks: ["100.10.0.0/16"]
serviceDomain: "cluster.local"
providerSpec:
value:
apiVersion: "cceproviderconfig/v1alpha1"
kind: "CCEClusterProviderConfig"
clusterName: "cluster-test3"
clusterCIDR: "172.30.0.0/19"
apiVersion: "cluster.k8s.io/v1alpha1"
kind: MachineDeployment
metadata:
name: sample-master
spec:
replicas: 1
selector:
matchLabels:
foo: bar
template:
metadata:
labels:
foo: bar
spec:
providerSpec:
value:
apiVersion: "cceproviderconfig/v1alpha1"
kind: "CCEMachineProviderConfig"
clusterName: "cluster-test3"
role: "master"
adminPass: "testpw123!"
imageId: "m-8WV4kRlN" # ubuntu 16.04 lts amd64
cpuCount: 2
memoryCapacityInGB: 2
versions:
kubelet: 1.12.3
controlPlane: 1.12.3
strategy:
type: "RollingUpdate"
rollingUpdate:
maxUnavailable: "30%"
maxSurge: "30%"
minReadySeconds: 2
---
apiVersion: "cluster.k8s.io/v1alpha1"
kind: MachineDeployment
metadata:
name: sample-nodes
spec:
replicas: 3
selector:
matchLabels:
foo: bar
template:
metadata:
labels:
foo: bar
spec:
providerSpec:
value:
apiVersion: "cceproviderconfig/v1alpha1"
kind: "CCEMachineProviderConfig"
clusterName: "cluster-test3"
role: "node"
adminPass: "testpw123!"
imageId: "m-8WV4kRlN"
cpuCount: 2
memoryCapacityInGB: 2
versions:
kubelet: 1.12.3
strategy:
type: "RollingUpdate"
rollingUpdate:
maxUnavailable: "30%"
maxSurge: "30%"
minReadySeconds: 2
FAQs
Unknown package
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.
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.