@cloudgraph/cg-provider-kubernetes
v0.0.1
Published
Kubernetes provider for the CloudGraph CLI
Downloads
3
Readme
CloudGraph Kubernetes Provider
Scan cloud infrastructure via the K8s SDK
Docs
💻 Full CloudGraph Documentation Including k8s Examples
Install
Install the k8s provider in CloudGraph
cg init k8s
Authentication
Authenticate the CloudGraph k8s Provider any of the following ways:
- Set the
KUBECONFIG
env variable pointing to your Kubernetes config file (or use the default location for your OS)
Supported Services
| Service | Relations | | ---------------------------- | ------------------ | | cronJob | namespace | | deployment | namespace | | ingress | namespace | | job | namespace | | namespace | ALL SERVICES | | node | namespace | | persistentVolume | namespace | | persistentVolumeClaim | namespace | | pod | namespace | | role | namespace | | secret | namespace | | service | namespace | | serviceAccount | namespace | | storageClass | namespace |
Development
Please see the CONTRIBUTING.md file in CloudGraph CLI for details.
Install all the dependencies:
yarn
Generate types and compile:
yarn build