Make KUBEPS1 warning optional by joshbranham · Pull Request #692 · openshift/backplane-cli
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.
openshift-ci
bot
added
the
approved
label
May 27, 2025
joshbranham
deleted the
feature/optional-kube-ps1-warning
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters