Make KUBEPS1 warning optional by joshbranham · Pull Request #692 · openshift/backplane-cli

@joshbranham

Adds an optional configuration option `disable-kube-ps1-warning` to be able to
conditionally display the warning about setting up the `kube-ps1` function in your terminal.

The motivation for this is I have a custom terminal prompt that includes `~/.kube/config` context
information, and desire for less warning output when I login to clusters.

I tested this behavior with default values (nil), and bool/string, which are handled by
`viper` for us natively.

@joshbranham self-assigned this

May 27, 2025

samanthajayasinghe

@joshbranham

@openshift-ci openshift-ci bot added the approved

Indicates a PR has been approved by an approver from all required OWNERS files.

label

May 27, 2025

@joshbranham joshbranham deleted the feature/optional-kube-ps1-warning branch

May 27, 2025 21:59