Skip to content

Commit

Permalink
feat: Deprecates kc in favour of new kubectl plugin cs
Browse files Browse the repository at this point in the history
  • Loading branch information
dploeger committed Oct 10, 2024
1 parent 30348e9 commit d085a7b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
18 changes: 18 additions & 0 deletions feature/kc/feature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,21 @@ icon: "⌨️"
title: "kc Quick Kubernetes Context switch"
description: |
Installs [kc](https://github.com/dodevops/cloudcontrol/blob/master/feature/kc/kc.sh), a quick context switcher for kubernetes.
deprecation: |
The `kc` feature will be deprecated in one of the next major CloudControl versions. As an alternative, configure
the `krew` feature and use the cs plugin:
```
- USE_krew=yes
- KREW_VERSION=<current version of krew>
- KREW_PLUGINS=cs
```
To make the transition as easy as possible, you can also configure the `run` feature and set an alias to
`kubectl cs`:
```
- USE_run=yes
- RUN_COMMANDS="alias kc='kubectl cs'"
```
See [https://github.com/dodevops/kc](the kc website) for details.
4 changes: 4 additions & 0 deletions feature/kc/goss/goss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ file:
exists: true
contains:
- KC Quick kubernetes context switch
/home/cloudcontrol/.deprecation:
exists: true
contains:
- The `kc` feature will be deprecated in one of the next major CloudControl versions.

0 comments on commit d085a7b

Please sign in to comment.