Fleet Management

  • Fixed

    • Change module name to github.com/giantswarm/kubectl-gs/v2.

    Changed

    • Upgraded dependencies
  • Changed

    • Use the cluster-values configmap when templating the default-apps-aws app.

    Fixed

    • Fixed a bug in modifying existing entries in self-contained config files where new data for the existing entries failed to be written to the file.
  • Fixed

    • Fixed a bug in login command where the issuer URL was used instead of the server address in login retry attempt.

    Added

    • Add flags --gcp-machine-deployment-sa-email and --gcp-machine-deployment-sa-scopes to template cluster that specify a Google Cloud Platform service account and its scope to a cluster’s machine deployments
    • Added read header timeout to http server

    Changed

    • Adjusted kubectl gs login command to ensure that it writes to the main kubeconfig file only in case there are actual changes in the content of the file.
  • Fixed

    • Fix login command failing because opening the browser blocks and callback webserver does not start on some operating systems
  • 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 ...
  • Changed

    • Bump apiextensions-application to v0.6.0

    Removed

    • Removed etcdbackup CRD (moved to etcd-backup-operator’s helm chart).
  • 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