kubectl gs

  • Added

    • Added --cn-prefix flag to login command which allows setting a specific CN prefix for workload cluster client certificates.
  • Changed

    • Renamed local flags, whose names conflicted with global flags and deprecated local flags with the old names
      • --namespace in kubectl gs gitops add app has been deprecated and replaced with --target-namespace
      • --namespace in kubectl gs template app has been deprecated and replaced with --target-namespace
      • --cluster in kubectl gs template app has been deprecated and replaced with --cluster-name
      • --namespace in kubectl gs template catalog has been deprecated and replaced with --target-namespace

    Added

    • Added a test to detect local flags with names conflicting with global flag names
  • Changed

    • Switched from exp to non-exp apiVersion for MachinePools and AzureMachinePools CR on Azure in get nodepool command.
  • Fixed

    • Set domain name for the Kubernetes APIs server address when logging in to CAPI provider workload clusters.
  • Fixed

    • Fixed common name in certificates generated for workload clusters by stripping https:// prefix from cluster base path
  • Fixed

    • Fix nil pointer panic in template nodepool command.

    [2.19.0] - 2022-08-12

    Changed

    • Make all kubectl config flags (e.g --context and --kubeconfig global and unify kubeconfig management throughout commands.
    • Remove CAPA templating from aws provider.
    • Add new provider capa for templating a cluster.
    • Remove fetching ssh sso ca pub key for capa from management cluster.
    • Add test for CAPA provider cluster templating.
  • Changed

    • Make all kubectl config flags (e.g --context and --kubeconfig global and unify kubeconfig management throughout commands.
    • Remove CAPA templating from aws provider.
    • Add new provider capa for templating a cluster.
    • Remove fetching ssh sso ca pub key for capa from management cluster.
    • Add test for CAPA provider cluster templating.
  • Added

    • In the login command, allow concatenation of contexts in destination file when creating WC client certificates with --self-contained flag.
  • Added

    • Allow calling login command with a second argument to select WC contexts.
    • Add -clientcert suffix to WC client certificate contexts created by the login command. Fall back to -clientcert context selection if no other context exists for a cluster.
    • Use CertificateAuthorityData to store CA data and ensure that CertificateAuthority is not set when manipulating the kubeconfig in the login command.