diff --git a/feature/kc/feature.yaml b/feature/kc/feature.yaml index 04e7d39..676a04b 100644 --- a/feature/kc/feature.yaml +++ b/feature/kc/feature.yaml @@ -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= + - 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. \ No newline at end of file diff --git a/feature/kc/goss/goss.yaml b/feature/kc/goss/goss.yaml index 59709f2..ed928d2 100644 --- a/feature/kc/goss/goss.yaml +++ b/feature/kc/goss/goss.yaml @@ -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.