Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Releases: gardener-attic/gardenctl

v0.24.3

02 Sep 07:24
Compare
Choose a tag to compare

[gardenctl]

🏃 Others

  • [OPERATOR] Now ssh to aliyun node will be success. (#519, @jia-jerry)
  • [OPERATOR] Fixed a bug that caused the shell command to fail if the username contained an uppercase letter. (#515, @stoyanr)
  • [OPERATOR] bugfix no log return when g logs --since=6h --loki machine-controller-manager (#513, @tedteng)
  • [OPERATOR] Targeting history feature eg gardenctl x (#512, @tedteng)
  • [OPERATOR] New format of the gardenctl logs --loki command (#509, @Kristian-ZH)
  • [OPERATOR] Update gardener cluster template (#504, @jguipi)
  • [OPERATOR] Add garden show infra cmd to display cloud resources associated to shoot (g show infra) (#495, @jfortin-sap)
  • [OPERATOR] Check whether ingress rule (from client ip with CIDR /32 and port 22) already exist in host security group before adding it (#494, @neo-liang-sap)
  • [OPERATOR] enhance help method for gardenctl (#481, @neo-liang-sap)
  • [OPERATOR] enable gardenctl logs for some components while targeting the control plane (#471, @neo-liang-sap)

📰 Noteworthy

  • [DEVELOPER] .gitignore now ignores all files by default. Go add a file to the git index, whitelist it in .gitignore. (#488, @mvladev)

v0.24.2

06 Apr 07:49
Compare
Choose a tag to compare

[gardenctl]

🏃 Others

📰 Noteworthy

  • [DEVELOPER] .gitignore now ignores all files by default. Go add a file to the git index, whitelist it in .gitignore. (#488, @mvladev)

v0.24.1

09 Dec 12:19
Compare
Choose a tag to compare

[gardenctl]

🏃 Others

📰 Noteworthy

  • [DEVELOPER] .gitignore now ignores all files by default. Go add a file to the git index, whitelist it in .gitignore. (#488, @mvladev)

v0.24.0

02 Dec 02:30
Compare
Choose a tag to compare

[gardenctl]

🏃 Others

  • [OPERATOR] Condense the command into a single verb gardenctl orphan (g orphan) with meaningful help message (#476, @jfortin-sap)
  • [OPERATOR] fix several gardenctl ssh aws issue: (#467, @neo-liang-sap)
    • if we get VPC from host, there might be several VPC but we didn't check it, hence changing to get vpc from subnet
    • there might be a list of images, use the first one
    • there's some issue in golang native check network function net.DialTimeout (at least in my testing), sometimes the timeout value passed doesn't take effect, the DialTimeout function will fail immediately , hence add time.Sleep to force wait 10s to retry
  • [OPERATOR] ssh to machine specifying machine provider id (g ssh --providerid) (#461, @jfortin-sap)
  • [OPERATOR] Make logsVpnSeed() use the latest GetFromTargetInfo() method (#456, @jguipi)
  • [OPERATOR] exit and print error message when seed.spec.SecretRef unavailable (#451, @neo-liang-sap)
  • [OPERATOR] fix aws ssh issue (#446, @neo-liang-sap)
  • [OPERATOR] cleanup function will return the code which ssh returns (#445, @neo-liang-sap)
  • [OPERATOR] fix some golangci-lint check error (#438, @neo-liang-sap)
  • [OPERATOR] enable gardenctl logs all to download all logs to current dir/logs folder (#437, @neo-liang-sap)
  • [OPERATOR] Remove useless flag on the logPodShoot function (#431, @jguipi)
    • Allow the gardenctl logs vpn-seed to use the current context
  • [OPERATOR] A fix to the Deploy gardener cluster` pipeline and add minor change to the execution. (#430, @jguipi)
  • [OPERATOR] remove double dash when using gardenctl aws/gcloud/az/openstack/kubectl (#428, @tedteng)
  • [OPERATOR] allow pass args to ssh openstack node (#424, @neo-liang-sap)
  • [OPERATOR] add passing arguments in ssh eg gardenctl ssh node ls /tmp (#423, @tedteng)
  • [OPERATOR] gardenctl diag command prints out diagnostic information of a shoot (#413, @neo-liang-sap)
  • [OPERATOR] gardenctl no longer relies on the deprecated project.garden.sapcloud.io/name label (#412, @ialidzhikov)
  • [OPERATOR] new tested method cmd.PrintoutObject can be used to print structures in YAML or JSON format to passed io.Writer (#410, @andrei-panov)
  • [OPERATOR] remove alertmanager related code (#405, @neo-liang-sap)
  • [OPERATOR] Add documentation for gardenctl ssh (#399, @neo-liang-sap)
  • [OPERATOR] removing release msg from #sap-tech-gardener channel (#398, @neo-liang-sap)
  • [OPERATOR] gardenctl ssh for openstack node (#397, @neo-liang-sap)
  • [OPERATOR] Add more generic taints while gardenctl shell to node (#386, @neo-liang-sap)
  • [DEVELOPER] Use golang 1.15 (#462, @dansible)
  • [DEVELOPER] Add script to test gardenctl ssh functionality (#440, @dansible)

v0.23.1

06 Nov 20:09
Compare
Choose a tag to compare

[gardenctl]

Improvements

  • [OPERATOR] gardenctl no longer relies on the deprecated project.garden.sapcloud.io/name label (7b3a9f6)

v0.23.0

16 Oct 12:33
Compare
Choose a tag to compare

[gardenctl]

Improvements

  • [OPERATOR] fix issue gardenctl unable to operate against gcp/aws/azure in v0.22.0 (#390, @neo-liang-sap)

v0.22.0

15 Oct 14:10
Compare
Choose a tag to compare

WARNING: This version contains a critical bug that prevents aws|gcp|azure subcommands from working correctly. Please upgrade to the v0.23.0 version or higher which contains the fix

[gardenctl]

Improvements

  • [USER] Allow user role use Project SA account in garden able to manage the shoots from their own project. gardenctl ssh shoot node as well. aws,gcp,azure supported (#263, @tedteng)
  • [OPERATOR] send release notes to both #sap-tech-gardener and #sap-tech-gardenctl channels (#384, @neo-liang-sap)
  • [OPERATOR] fix gardenctl ssh alicloud node timed out issue (#380, @neo-liang-sap)
  • [OPERATOR] fix alicloud sshkey inaccessible due to missing a / (#378, @neo-liang-sap)
  • [OPERATOR] Fixed issue that ssh command was not working in case there were shoots with the same name in different projects (#371, @tedteng)
  • [OPERATOR] Alicloud support for (g infra orphan list) (#367, @jfortin-sap)
  • [OPERATOR] OpenStack support for (g infra orphan list) (#360, @jfortin-sap)
  • [OPERATOR] GCP support for (g infra orphan list) (#351, @jfortin-sap)
  • [OPERATOR] remove elasticsearch from gardenctl logs (#342, @neo-liang-sap)
  • [OPERATOR] Identify orphaned infra resources not found in cluster terraform state (gardenctl infra orphan list) (#340, @jfortin-sap)
  • [OPERATOR] add gardenctl logs gardenlet to display gardenlet logs (#332, @tedteng)
  • [OPERATOR] add -v -progress to show detailed information for each test case (#321, @neo-liang-sap)
  • [OPERATOR] when getRole() == "user", prevent user from targeting seed as user don't have permission on seed (#311, @neo-liang-sap)
  • [OPERATOR] add check whether cloud provider cli is installed on local env, if not, prompt error msg / how to install and exit gardenctl (#300, @neo-liang-sap)
  • [OPERATOR] Fix operate.go missing coverage on scenario garden+seed+shoot (#296, @neo-liang-sap)
  • [OPERATOR] fix gardenctl download tf infra reports error when current stack is garden+seed+namespace (#290, @neo-liang-sap)
  • [OPERATOR] Support valid Public IP for IPv4 and IPv6 in aws bastion security group when ssh (#276, @tedteng)
  • [OPERATOR] enable ssh debug msg, error msg return lines and function, make more sense. (#264, @tedteng)
  • [DEVELOPER] remove capture() from ssh feature and refacor ssh remove redundancy code。 (#368, @tedteng)
  • [DEVELOPER] github action integration between gardenctl and homebrew-tap (#303, @neo-liang-sap)
  • [DEVELOPER] refactor curl to use net/http (#274, @neo-liang-sap)
  • [DEVELOPER] An update to homebrew-tap is now automatically triggered. (#202, @zanetworker)

v0.21.0

23 Aug 14:43
Compare
Choose a tag to compare

[gardenctl]

Improvements

  • [OPERATOR] fix gardenctl ssh causing Prisma alerts issue
  • [OPERATOR] global switch -d or --debug to enable debug logging, two functions which could be utilized in whole gardenctl project, GardenctlDebugLog to output debug msg only when debug switch enabled, GardenctlInfoLog to display msg all the time (#262, @neo-liang-sap)
  • [OPERATOR] Limit SSH node security group to Bastion IP (#254, @jfortin-sap)
  • [OPERATOR] add logging package github.com/gardener/gardener/pkg/logger to enable internal verbose logging (#250, @neo-liang-sap)
  • [OPERATOR] 1. fix nc command hanging and timeout. 2. cleaned resource up after nc command timeout. (#247, @tedteng)
  • [OPERATOR] display eu-access restriction warning msg in gardenctl terminal if cluster is configed with eu-access and garden config is configed with enabling the eu-access restriction (#245, @neo-liang-sap)
  • [OPERATOR] pass cloud cli creds once as args on execution only and do not store locally (#244, @jfortin-sap)
  • [OPERATOR] upgrade gardener/gardener version to v1.5.0 (#242, @neo-liang-sap)
  • [OPERATOR] fix SSH Operation timed out when user => bastion host (#239, @tedteng)
  • [OPERATOR] --loki flag is added in the gardenctl logs command (#213, @Kristian-ZH)
    • --elasticsearch flag is removed from the gardenctl logs command.

v0.19.0

30 Jul 12:14
Compare
Choose a tag to compare

[gardenctl]

Improvements

  • [OPERATOR] add documentation for how to enable cli auto completion in zsh (#228, @neo-liang-sap)
  • [OPERATOR] remove kubeconfig validation for exec and auth provider, to utilize kubeconfig with oidc enabled. (#221, @neo-liang-sap)
  • [OPERATOR] Add terraform subcommand to debug cluster terraform issues (#219, @jfortin-sap)

v0.18.0

13 Jul 14:25
Compare
Choose a tag to compare

[gardenctl]

Improvements

  • [USER] gardenctl info now is printing the shoots per seed in a table. (#214, @vpnachev)
  • [USER] gardenctl can be now conviniently installed via homebrew tap with (#200, @vasu1124)
    • "brew install gardener/tap/gardenctl"
  • [USER] Fixes gardenctl related error in certain kind of scenario when gardenctl not targeting shoot (#198, @neo-liang-sap)
  • [USER] fix gardenctl ssh error when t2.nano instance type is not available in some region of AWS (#194, @neo-liang-sap)
  • [OPERATOR] AWS Bastion nodes no longer have any instance profiles associated with them. (#218, @mvladev)
  • [OPERATOR] add kubectx support for gardenctl (#212, @neo-liang-sap)
  • [OPERATOR] validate shoot project matches shoot namespace w/ same name across diff projects (#209, @jfortin-sap)
  • [OPERATOR] Remove jq tool dependency (#206, @jfortin-sap)
  • [OPERATOR] Fix the issue that breaks ssh command for provider alicloud. (#201, @EmoinLanyu)
  • [OPERATOR] Enable gardenctl target dashboardUrl <dashboard_url> or gardenctl target -u <dashboard_url> for directly targeting garden and shoot. Make sure to have dashboardUrl field set for each of your (virtual) garden configurations (#190, @neo-liang-sap)
  • [OPERATOR] gardenctl logs tf infra output null fix and logs function README update (#185, @tedteng)
  • [OPERATOR] target server now also works when the kubeConfig path of the garden configuration contains the ~ (tilde) sign (#182, @petersutter)