https://github.com/khulnasoft/tunnel-plugin-kubectl
https://github.com/khulnasoft/tunnel-plugin-kubectl
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/khulnasoft/tunnel-plugin-kubectl
- Owner: khulnasoft
- License: apache-2.0
- Created: 2023-11-22T12:32:21.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-04T09:28:38.000Z (10 months ago)
- Last Synced: 2025-02-01T02:15:48.941Z (8 months ago)
- Language: Shell
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tunnel-plugin-kubectl
A [Tunnel](https://github.com/khulnasoft/tunnel) plugin that scans the images of a kubernetes resource## Install
```
$ tunnel plugin install github.com/khulnasoft/tunnel-plugin-kubectl
$ tunnel kubectl -h
Usage: tunnel kubectl [-h,--help] TYPE NAME [TUNNEL OPTION]
A Tunnel plugin that scans the images of a kubernetes resource.Options:
-h, --help Show usage.Examples:
# Scan a Pod
tunnel kubectl pod mypod# Scan a Deployment
tunnel kubectl deployment mydeployment -n mynamespace# Scan a Job and filter by severity
tunnel kubectl job myjob -n mynamespace -- --severity CRITICAL
```## Usage
Tunnel's options need to be passed after `--`.```
# Scan a Pod
$ tunnel kubectl pod mypod# Scan a Deployment
$ tunnel kubectl deployment mydeployment -n mynamespace# Scan a Job and filter by severity
$ tunnel kubectl job myjob -n mynamespace -- --severity CRITICAL
```