v1.5.0
Tanzu CLI Installation Instructions
If you are installing Tanzu CLI using the artifacts published as part of this release, please follow these instructions.
📢 Important Update: APT/YUM Package Location and Signing Key Change
With the release of Tanzu CLI v1.5.0, we have introduced changes to the package location and signing key for APT (Debian/Ubuntu) and YUM/DNF (RHEL) packages.
Changes:
- Packages are now published to a new location: https://storage.googleapis.com/tanzu-cli-installer-packages
- Packages are signed with a new key and public key is available at location: https://storage.googleapis.com/tanzu-cli-installer-packages/keys/TANZU-PACKAGING-GPG-RSA-KEY.gpg
Action Required:
To ensure uninterrupted access to Tanzu CLI packages, please update your automation scripts or manual installation procedures to account for the the new package location and signing key. Updated installation instructions are as follows:
APT (Debian/Ubuntu)
sudo apt update
sudo apt install -y ca-certificates curl gpg
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://storage.googleapis.com/tanzu-cli-installer-packages/keys/TANZU-PACKAGING-GPG-RSA-KEY.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/tanzu-archive-keyring.gpg
echo "deb [signed-by=/etc/apt/keyrings/tanzu-archive-keyring.gpg] https://storage.googleapis.com/tanzu-cli-installer-packages/apt tanzu-cli-jessie main" | sudo tee /etc/apt/sources.list.d/tanzu.list
sudo apt update
sudo apt install -y tanzu-cli
YUM/DNF (RHEL)
cat << EOF | sudo tee /etc/yum.repos.d/tanzu-cli.repo
[tanzu-cli]
name=Tanzu CLI
baseurl=https://storage.googleapis.com/tanzu-cli-installer-packages/rpm/tanzu-cli
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://storage.googleapis.com/tanzu-cli-installer-packages/keys/TANZU-PACKAGING-GPG-RSA-KEY.gpg
EOF
sudo yum install -y tanzu-cli # dnf install can also be used
The installation procedures for Homebrew
, Chocolatey
and ASDF
package managers remain the same.
Changes by Kind
✨ Features
- Add support for using UAA as IDP
- Add support for using UAA as IDP. After this change, endpoint URIs provided when creating a 'tanzu' context not recognized as public Tanzu SaaS endpoint will default to use UAA as IDP. Use --force-csp boolean flag to override behavior for custom endpoints that still requires CSP. (#802, @vuil)
- Add support for custom CA cert or explicit skipping of cert validation for UAA-based tanzu platform. (#803, @vuil)
- Allow to specify a tanzu endpoint with no scheme (#811, @marckhouzam)
- Enable TANZU_CLI_SM_ORGANIZATION_NAME TANZU_CLI_SM_ORGANIZATION_ID to configure the Org name and id of a self-managed Tanzu Platform environment. (#804, @vuil)
- Fix incorrect context name being created when using new tanzu platform endpoints (#808, @anujc25)
- Fix missing org name in browser login (#812, @marckhouzam)
- Streamline UAA-based Tanzu Platform login to not require Org ID (#815, @vuil)
- Properly support the use of custom ca cert data for tanzu type CLI contexts. (#805, @vuil)
- Support for upcoming Tanzu Platform Endpoint Changes
📄 Documentation
- Document how to show the context in the user's prompt. (#806, @marckhouzam)
Dependencies
Added
- github.com/99designs/gqlgen: v0.17.44
- github.com/andreyvit/diff: c7f18ee
- github.com/arbovm/levenshtein: 48b4e1c
- github.com/bradleyjkemp/cupaloy/v2: v2.6.0
- github.com/dgryski/trifles: dd97f9a
- github.com/hashicorp/golang-lru/v2: v2.0.7
- github.com/pkg/diff: 20ebb0f
- github.com/sosodev/duration: v1.2.0
Changed
- github.com/chzyer/logex: v1.1.10 → v1.2.0
- github.com/chzyer/test: a1ea475 → 0614579
- github.com/vmware-tanzu/tanzu-plugin-runtime: v1.4.2 → v1.4.4
Removed
Nothing has changed.