You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,10 +12,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
12
12
- Add `kubernetes nodegroup show` for displaying node-group details. This also adds _Nodes_ table and _Anti-affinity_ field that were not available in previous `kubernetes show` output.
13
13
- Add `kubernetes modify` command for modifying IP addresses that are allowed to access cluster's Kubernetes API.
14
14
- Add `--kubernetes-api-allow-ip` argument to `kubernetes create` command.
15
+
- Add `Kubernetes API allowed IPs` field to `kubernetes show` output.
16
+
- Add `database session list` for listing active database sessions
17
+
- Add `database session cancel` for cancelling an active database session
15
18
16
19
### Changed
17
20
- In human readable output of `kubernetes show` command, show node-groups as table. Node-group datails are available with `kubernetes nodegroup show` command.
18
21
22
+
## Removed
23
+
-**Breaking**: Remove `database connection list` and `database connection cancel` commands in favor of `database session` counterparts
24
+
19
25
## [2.10.0] - 2023-07-17
20
26
### Added
21
27
- Add `--disable-utility-network-access` for `kubernetes nodegroup create` command
returnnil, fmt.Errorf("session cancel not supported for database type %s", db.Type)
62
+
}
63
+
64
+
ifdb.State!=upcloud.ManagedDatabaseStateRunning {
65
+
returnnil, fmt.Errorf("database is not in running state")
66
+
}
49
67
50
-
msg:=fmt.Sprintf("Cancelling connection %v to database %v", s.pid, uuid)
68
+
msg:=fmt.Sprintf("Cancelling session %v to database %v", s.pid, uuid)
51
69
exec.PushProgressStarted(msg)
52
70
53
-
iferr:=svc.CancelManagedDatabaseConnection(exec.Context(), &request.CancelManagedDatabaseConnection{ //nolint:staticcheck // Deprecated, replace in a feature PR
0 commit comments