Skip to content

Releases: ionos-cloud/ionosctl

v6.7.8

14 Oct 14:17
2f31a2c
Compare
Choose a tag to compare

[v6.7.8] (October 2024)

Added

  • Added support for manpages generation via ionosctl man command
  • Added support for DNS secondary-zones and zone files

Changed

  • Added authentication warning to image upload help text

Fixed

  • Fixed examples for image upload

New Contributors

Full Changelog: v6.7.7...v6.7.8

v6.7.7

27 Jun 14:15
Compare
Choose a tag to compare

[v6.7.7] (June 2024)

Added

  • Added support for DNS resources:
    • ionosctl dns keys commands which allows you to enable/disable DNSSEC and manage DNSKEY records.
    • ionosctl dns quota commands which allows you to get the DNS quota for your account.
    • ionosctl dns reverse-record commands which allows you to manage reverse DNS records.

Fixed

  • Fixed the column path mapping for 'server' resource to display the actual server's type ('CUBE'/'ENTERPRISE'),
    not the CloudAPI resource type ('server').
  • Fixed a bug with 'nic create' not creating the underlying LAN when missing and instead returning a 404
  • Fixed json to table conversion error for k8s nodepool lan list
  • Fixed error message on failed tokens API call by @avorima in #449

Full Changelog: v6.7.6...v6.7.7

v6.7.6

12 Apr 07:57
1ec9273
Compare
Choose a tag to compare

[v6.7.6] (April 2024)

Fixed

  • Fixed a bug for image upload where using a custom --ftp-url and no --location would silently fail the operation

Added

  • Added support for 'dbaas mariadb'
  • Added 'mg' alias for 'dbaas mongo'

Deprecated

  • Deprecated 'm' and 'mdb' aliases for 'dbaas mongo'. Using this alias will print a warning to stderr

Full Changelog: v6.7.5...v6.7.6

v6.7.5

21 Mar 09:23
a00fb19
Compare
Choose a tag to compare

[v6.7.5] (March 2024)

Added

  • Added user and database commands to Postgres

Changed

  • Changed help text order to match terminal reading patterns: command-specific information moved lower, global/general help moved higher.
  • Changed --cpu-family flag to always use the first valid CPU_FAMILY for the chosen location, previously it would always try using AMD_OPTERON family.

Fixed

  • Kubernetes node pool auto-scaling can be disabled by setting --min-node-count and --max-node-count to 0 by @avorima in #422
  • Fixed missing version in ionosctl version output when installed via go install.
  • Fixed a bug where explicit slices of strings would fail to be converted to slices of interface{} causing a panic for certain --cols

Full Changelog: v6.7.4...v6.7.5

v6.7.4

17 Jan 13:09
4598a08
Compare
Choose a tag to compare

[v6.7.4] (January 2024)

Added

  • Added version resource for Dataplatform API, with list and latest subcommands
  • Added support for Container-Registry Vulnerabilities
    • New --vulnerability-scanning flag added to registry create and registry update commands
    • New artifacts and vulnerabilities commands under container-registry
    • repository command functionality will eventually be moved to repository delete. For the time being, both commands are available.

Changed

  • When creating a Dataplatform cluster, now the latest version will be used by default

Fixed

  • Fixed --cols for server: server.cols Viper variable being used both by server and vm-autoscaling server commands.

Full Changelog: v6.7.3...v6.7.4

v6.7.3

21 Dec 08:56
8ad270c
Compare
Choose a tag to compare

[v6.7.3] (December 2023)

Added

  • Added shell command for an interactive shell powered by go-prompt via comptplus offering a new layer of interactivity and ease-of-use.
    • The shell is context-aware and will offer suggestions based on the current command.
    • This shell supports autocompletion for commands, flags, and flag values.
    • User input is currently unsupported, and commands which ask for user input will fail and ask for --force to be set.
  • Added support for private Kubernetes clusters
    • Use --public=false when creating a Kubernetes Cluster to use this feature
  • Added support for VM Autoscaling API

Changed

  • Improved help text, error handling & examples for image upload
  • Deprecated --image-alias in favor of --rename for image upload
    • setting --image-alias will simply set --rename.

Full Changelog: v6.7.2...v6.7.3

v6.7.2

05 Dec 11:59
Compare
Choose a tag to compare

[v6.7.2] (December 2023)

Added

  • Added support for Logging Service API
  • Added --json-properties and --json-properties-example to k8s nodepool create which allows creation of nodepools using a JSON file. This is useful for creating nodepools with a large number of properties.
    • --json-properties is used to specify the path to the JSON file containing the nodepool properties.
    • --json-properties-example can be piped to generate a JSON file containing all the nodepool properties and their default values. This file can be used as a template for creating nodepools using JSON files.

Fixed

  • ionosctl will now exit with code 0 when no resources found for image list, request list.
  • fix cluster k8sVersion column extraction JSON path by @printminion in #407
  • Fixed backupunit list columns
  • Fixed backupunit get-sso-url characters being treated as format placeholders
  • Fixed various json paths (for certain columns extraction) for user, location, nic, k8s cluster, dbaas postgres logs
  • Fixed postgres logs not printing

New Contributors

Full Changelog: v6.7.1...v6.7.2

v6.7.1

20 Oct 14:52
814e06e
Compare
Choose a tag to compare

[v6.7.1] (October 2023)

Added

  • Added URN column in label subcommands

Fixed

  • Fixed ResourceId and ResourceType columns not being printed in label subcommands
  • Fixed --no-headers flag value being ignored - now treated as a global flag

Changed

  • Changed how request targets are printed for better readability
  • In help text & documentation, Private Cross Connect has been renamed to Cross Connect, and an alias of cc has been added to the pcc command

Full Changelog: v6.7.0...v6.7.1

v6.7.0

16 Oct 10:47
84452d4
Compare
Choose a tag to compare

[v6.7.0] (October 2023)

Added

  • Added a new namespace, cfg, for commands related to the user's config file.

  • Added the cfg logout convenience command which deletes sensitive data in the config file

  • Added the cfg location convenience command which shows the location of the config file

  • Added the cfg whoami command which allows debugging authentication:

    • If logged in (either with username & password or by JWT), it will print the current user's email
    • If --provenance is set, it will show which api-url is used, the used authentication layer, as well as if using a JWT or username & password.
    • A failed authentication will forcefully set --provenance.
  • Added completer descriptions for --image-id flag.

    • Only relevant, usable images are now completed (e.g. HDD images for volume create --image-id).
    • Completed images will also be ordered so that private (user-uploaded) images are shown first.
  • Added api-json output type, which affects list --all outputs, grouping children resources by their parent resource.

  • Added IPv6 support for Datacenter, LAN, NIC and Firewall Rules.

Changed

  • Changed the ionosctl login logic for generating config files:
    • If a username & password is provided, it will now use these credentials to generate a token, which will be stored in the config file instead of the username & password pair.
    • If you are unable to use the IONOS API to generate a token, you can use a pre-generated one with login --token <JWT>
    • The default API URL api.ionos.com is no longer saved to the config file if the user doesn't provide any API URL.
    • If using login --token <JWT> to directly provide a JWT, it will be validated before being saved to the config file, however the user can set --skip-verify to skip this validation.
  • Reworked the authentication logic to be layer-based.
    • The authentication layers, in order of priority, are:
      1. Global Flags
      2. Environment Variables
      3. Config File Entries
    • Within each layer, a token takes precedence over a username and password combination. For instance, if a token and a username/password pair are both defined in environment variables, ionosctl will prioritize the token. However, higher layers can override the use of a token from a lower layer. For example, username and password environment variables will supersede a token found in the config file.
  • Moved login command under the new cfg namespace.
    • Note that all cfg namespace commands except cfg location, are also available as root-level commands (i.e. ionosctl login) for backwards-compatibility reasons, however they are hidden within the help text.
  • Empty columns will now be removed from the output

Fixed

  • Fixed #249: Added -o json missing fields (e.g. _links, type, href, etc)
  • Fixed #297: ionosctl login not clearing previous credentials
    • The command will ask for confirmation if a config file already exists at the set path. The user can skip this check by using --force
  • Fixed 404 on firewallrule delete command: flag values not properly sent to API
  • Fixed password or sshkey-path being required for private images
  • Fixed 400 Bad Request by default on dbaas mongo cluster create due to SSD being the default storage type.

Full Changelog: v6.6.10...v6.7.0

v6.6.10

18 Sep 10:06
Compare
Choose a tag to compare

[v6.6.10] (September 2023)

Fixed

  • Fixed #359: image update using unset flags.
  • Fixed empty columns on request list by increasing the default request depth to 2.