Kubectl Gs

  • Changed

    • Add giantswarm.io/cluster label to the ‘default-apps’ bundle so that it’s deleted when a Cluster is deleted.
    • Deprecated --enable-long-names flag and added support for generating and validating long resource names (up to 10 characters) by default.
    • Add option to reference the cluster-values configmap in the App CR created for CAPI clusters.
  • Added

    • Add timeouts support to App CR.
    • Added support for deriving internal API hostname from workload cluster main API URLs
  • Fixed

    • kubectl gs template app help text: Replace deprecated --cluster flag by new --cluster-name.
    • Fixed generating common names for workload cluster certificates from internal management cluster API URLs in kubectl gs login --workload-cluster --internal-api ...
  • 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.

This part of our documentation refers to our vintage product. The content may be not valid anymore for our current product. Please check our new documentation hub for the latest state of our docs.