Skip to content

Commit

Permalink
Merge pull request #14 from ahmetb/update-readme
Browse files Browse the repository at this point in the history
Update installation instructions with krew
  • Loading branch information
stefanprodan authored Dec 28, 2018
2 parents 24ee34e + 4989829 commit e3c0a43
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ For the admission controller see [kubesec-webhook](https://github.com/stefanprod

### Install

Download and extract the scan plugin to `~/.kube/plugins/scan`:

```bash
mkdir -p ~/.kube/plugins/scan && \
curl -sL https://github.com/stefanprodan/kubectl-kubesec/releases/download/0.2.0/kubectl-kubesec_0.2.0_`uname -s`_amd64.tar.gz | tar xzvf - -C ~/.kube/plugins/scan
```
1. [Install krew](https://github.com/GoogleContainerTools/krew) plugin manager
for kubectl.
2. Run `kubectl krew install kubesec-scan`.
3. Start using by running `kubectl kubesec-scan`.

### Usage

Expand Down

0 comments on commit e3c0a43

Please sign in to comment.