Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Tanzu Framework v0.26.0

Compare
Choose a tag to compare
@github-actions github-actions released this 28 Sep 03:06
· 597 commits to main since this release
10210a0

Tanzu CLI Installation Instructions

If you are installing Tanzu CLI using the artifacts published as part of this release, please follow the instructions.

Changes by Kind

Refactor

  • Create separate directory cli/runtime for cli integration library and make it a go module. (#3201, @anujc25)
  • Create separate go modules for apis/cli and apis/config (#3141, @anujc25)

Enhancement

  • Adds support for "tanzu cluster get" command to show details (tree view) for TKGS (#3086, @prkalle)

Bug or Regression

  • A plugin error code is propagated to the core CLI.
    When a command fails the error messages are no longer duplicated. (#3103, @marckhouzam)
  • Acquire lock before reading tanzu config file to avoid races with config writes (#3177, @anujc25)
  • Any component using prompt.go will have the question mark color changed from green to cyan. (#3170, @mpanchajanya)
  • Fix incorrect log message when creating management-cluster (#3171, @anujc25)
  • Fixed "tanzu cluster get" command to return Classy cluster details on TKGS (#3050, @prkalle)
  • Fixed an issue with Cluster UpdatesAvailable condition calculation:
    when new TKRs (and their OSImages) are added to the system, they are not being considered
    for UpdatesAvailable calculation for already existing clusters, until the clusters are
    modified (e.g. updating an annotation) or the TKR Status Controller is restarted. (#3127, @imikushin)
  • Improved error messages when the user attempts to add a discovery source of an invalid type. (#3134, @marckhouzam)
  • Package-based-lcm: Fix the issue of tkg-clusterclass packageinstall reconcile failed after 15 minutes of management-cluster creation (#3026, @anujc25)
  • Remove spaces in TKG_NO_PROXY; '*' is not allowed in TKG_NO_PROXY; Remove wrong comma in the end of TKG_NO_PROXY in AWS cluster settings (#3044, @lubronzhan)
  • Use TKR v1alpha3 API commands based on feature-gate on the supervisor-cluster (#3041, @anujc25)
  • Validate cluster kubernetes version upgrade check as initial step (#3033, @prkalle)

Miscellaneous

  • Add Calico CNI E2E tests to AWS_CC suite (#3031, @codegold79)

  • Add TKGS E2E tests to verify the workload cluster is created successfully with Calico CNI (#2955, @HL-EverGreen)

  • Add automation tests for upgrade aws workload cluster (#3117, @maralavi)

  • Add automation tests for upgrade aws workload cluster with custom clusterbootstrap (#3178, @maralavi)

  • Add cc cluster E2E tests with custom clusterbootstrap on AWS (#3106, @ggpaue)

  • Add cc guest cluster upgrade E2E tests with CNI Calico on AWS (#3153, @HL-EverGreen)

  • Adds cluster upgrade integration test for tkgs (#3018, @adduarte)

  • Adds metadata versioning to the addons-manager package bundle (#3185, @adduarte)

  • Adds upgrade integration test for custom CB clusters (#3084, @adduarte)

  • Automate create/delete CC Guest cluster for a package with inline config on supervisor using Custom ClusterBootstrap and verify if the data value secret is created successfully on both supervisor and Guest cluster (#3146, @shivaani0505)

  • Automate create/delete CC Guest cluster on supervisor using Custom ClusterBootstrap and verify if all addons are successfully deployed (#3073, @shivaani0505)

  • Automate testing to check if addons are successfully deployed when guest cluster got created (#3036, @ggpaue)

  • Currently, the Tanzu CLI supports storing authentication information on a per server basis (management cluster). This information is created using the login plugin and can be managed using the config server command in the core CLI. As we add more server types like a workload cluster, Tanzu Mission Control endpoint, etc. we need a consistent mechanism to manage the configuration for every server or rather for every context.

    Also, we need to move away from the notion of server to contexts. To clarify, a server is just a remote endpoint that can be accessed via the Tanzu CLI (or its plugins). A context would include a server endpoint and any related client side configurations like default output format, feature flags enabled, etc. This can also be extended in future to support a local environment without any server if needed.

    Hence, added a context command as part of the core CLI like below to create and manage contexts in the CLI.

    Note: This is currently behind a feature flag. To enable the flag please run tanzu config set features.global.context-target true

    Migration notes:

    • CLI users should start using the context command instead of the login command.
    • Plugin developers should use the config.GetContext methods in the core CLI library instead of config.GetServer when looking for server information.

    ~ tanzu context -h
    Configure and manage contexts for the Tanzu CLI

    Usage:
    tanzu context [command]

    Aliases:
    context, ctx, contexts

    Available Commands:
    create Create a Tanzu CLI context
    delete Delete a context from the config
    get Display a context from the config
    list List contexts
    use Make a context as the current active context for its type

    Flags:
    -h, --help help for context

    Use "tanzu context [command] --help" for more information about a command. (#2202, @giri-varma)

  • Display correct error message when passing Cluster resource without ClusterClass as part of cluster create (#3053, @anujc25)

  • Explicitly set criSocket for KubeadmControlPlane and KubeadmConfigTemplate in AWS and Azure to avoid race conditions at the node level (#3120, @yastij)

  • Fix package plugin tests flakiness (#3096, @shyaamsn)

  • Fix vendir out of sync for antreaconfig crd (#3168, @maralavi)

  • Fixed osInfo annotation in Cluster CR is not correct after upgrade workload cluster with another os (#3091, @anujc25)

  • Implement logr wrapper as part of existing logger and use with clusterctl (#3101, @anujc25)

  • Package-based-lcm: Fix data race in cluster pause webhook (#3055, @vijaykatam)

  • Package-based-lcm: Fix data race in clusterbootstrap webhook that tries to concurrently access GVR (#3064, @vijaykatam)

  • Plumb legacy skipCNIBinaries config to CalicoConfig API (#2774, @12345lcr)

  • The issue has been fixed in core addon's packages monitoring logic in creating workload cluster flow when cluster bootstrap does not have the correct package name (#3113, @chandrareddyp)

  • Version annotation has been added in ClusterClass templates (#3063, @chandrareddyp)

  • tanzu cluster create classy-cluster.yaml does monitors addons core packages (kapp, cni, csi, cpi) installation after cluster creation (#3019, @chandrareddyp)

Dependencies

Added

Nothing has changed.

Changed

Removed

Nothing has changed.

New Contributors

Full Changelog: v0.25.0...v0.26.0