Skip to content

v4.6.0: Kubernetes context and namespace, message warn missing requirement, pull request template

Compare
Choose a tag to compare
@edouard-lopez edouard-lopez released this 16 Aug 12:23
· 122 commits to master since this release

What's Changed

☸️ Kubernetes Context and Namespace

Configuration

Option Default Description
pure_symbol_k8s_prefix Prefix when being connected to Kubernetes/K8s
pure_enable_k8s false true: shows kubernetes context and namespace.

Default Behaviour: false

set --universal pure_enable_k8s false
~/projects/contributions/pure master ≡

Feature Enable: true

set --universal pure_enable_k8s true
~/projects/contributions/pure master ≡ ☸ int-infra-eks-cluster-eu-west-3/qraft

💡 Warning Message When Command Required by Feature is Missing

For now, this mechanism is only on the k8s feature, but that's something I would like to add to other features.

pure-k8s-feature.webm

The detection behaviour is implemented in _pure_check_availability function & tests and it's used like:

_pure_check_availability <feature_name> <cmd>

Where feature_name is the feature that requires the command/function cmd

Pull request template

Link to resources and how-tos to give contributors autonomy. See .github/pull_request_template.md for full content.

Preview

pure-pull-request-template

⬇️ Installation

fisher install pure-fish/pure

👏 Thanks

  • @dwt for initiating the conversation #291