Releases: ionos-cloud/ionosctl
v6.7.8
[v6.7.8] (October 2024)
Added
- Added support for
manpages
generation viaionosctl man
command - Added support for DNS
secondary-zones
andzone 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
[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
[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
[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 usingAMD_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 viago 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
[v6.7.4] (January 2024)
Added
- Added
version
resource for Dataplatform API, withlist
andlatest
subcommands - Added support for Container-Registry Vulnerabilities
- New
--vulnerability-scanning
flag added toregistry create
andregistry update
commands - New
artifacts
andvulnerabilities
commands undercontainer-registry
repository
command functionality will eventually be moved torepository delete
. For the time being, both commands are available.
- New
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 byserver
andvm-autoscaling server
commands.
Full Changelog: v6.7.3...v6.7.4
v6.7.3
[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
- Use
- Added support for VM Autoscaling API
Changed
- Improved help text, error handling & examples for
image upload
- Deprecated
--image-alias
in favor of--rename
forimage upload
- setting
--image-alias
will simply set--rename
.
- setting
Full Changelog: v6.7.2...v6.7.3
v6.7.2
[v6.7.2] (December 2023)
Added
- Added support for Logging Service API
- Added
--json-properties
and--json-properties-example
tok8s 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
- @printminion made their first contribution in #407
Full Changelog: v6.7.1...v6.7.2
v6.7.1
[v6.7.1] (October 2023)
Added
- Added
URN
column inlabel
subcommands
Fixed
- Fixed
ResourceId
andResourceType
columns not being printed inlabel
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 toCross Connect
, and an alias ofcc
has been added to thepcc
command
Full Changelog: v6.7.0...v6.7.1
v6.7.0
[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.
- Only relevant, usable images are now completed (e.g. HDD images for
-
Added
api-json
output type, which affectslist --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:
- Global Flags
- Environment Variables
- 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.
- The authentication layers, in order of priority, are:
- Moved
login
command under the newcfg
namespace.- Note that all
cfg
namespace commands exceptcfg location
, are also available as root-level commands (i.e.ionosctl login
) for backwards-compatibility reasons, however they are hidden within the help text.
- Note that all
- 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
- The command will ask for confirmation if a config file already exists at the set path. The user can skip this check by using
- Fixed 404 on firewallrule delete command: flag values not properly sent to API
- Fixed
password
orsshkey-path
being required for private images - Fixed 400 Bad Request by default on
dbaas mongo cluster create
due toSSD
being the default storage type.
Full Changelog: v6.6.10...v6.7.0