Skip to content

Commit e557714

Browse files
DiogoFerraostackit-pipelinerenovate-botdependabot[bot]joaopalet
authored
Logging: merge changes from main (#204)
* fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/ske to v0.11.0 (#180) Co-authored-by: Renovate Bot <[email protected]> * Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#183) Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0. --- updated-dependencies: - dependency-name: google.golang.org/protobuf dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Only write to config file when needed (#185) * UX improvements (#187) * add default to project list * project list: improve implementation, add testing * Fix examples in project list * Add version column to plans in DSAs * Add dns record data to list and describe * minor improvements to code * fix linting * add docs * change keyring testing * address comments in PR * fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/postgresflex to v0.11.0 (#189) Co-authored-by: Renovate Bot <[email protected]> * UX Improvements: fixes and improvements (#190) * add default to project list * project list: improve implementation, add testing * minor improvements to code * fix linting * change keyring testing * address comments in PR * address PR comments * generate docs * Update internal/pkg/args/args.go Co-authored-by: João Palet <[email protected]> * fix linting --------- Co-authored-by: João Palet <[email protected]> * Add support for SKE new credentials rotation flow (#186) * SKE Credentials Rotation: start-rotation command (#179) * initial start rotation command implementation * update go mod, rename files, generate docs * start-rotation update long description * Improve start-rotation documentation * SKE Credentials Rotation: complete-rotation command (#181) * initial complete rotation command * complete rotation command: improve documentation * improve documentation * SKE Credentials Rotation: kubeconfig create command (#184) * initial kubeconfig create command * finish create command implementation, add testing * fix linting, generate docs * address PR comments * extract funcs to utils, add testing * improve function documentation * fix linting * address PR comments, minor improvements * make utils testing work on all OSes * SKE Credentials Rotation: fixes and improvements (#188) * improve docs * Improve documentation, address acceptance comments * fix testing, finish renaming filepath flag * SKE Credentials Rotation: deprecate old commands (#191) * deprecate describe and rotate commands * improve deprecation messages, add docs * SKE Credentials Rotation: deprecate old commands improvements (#192) * remove example cluster name from deprecation message * address comments * UX improvements: update project describe help (#193) * update project describe examples * generate docs * Onboard PostgreSQL Flex force delete (#194) * update create examples to existing flavor * add the --force flag to delete command * generate docs * add forcedeleteinstance waiter * extract deletion logic to function, test it. Address PR comments * fix linting, generate docs * rename util function * update sdk version * change new methods to print package * update testing to include verbosity, update docs --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: stackit-pipeline <[email protected]> Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: João Palet <[email protected]>
1 parent 791f02d commit e557714

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+2138
-178
lines changed

docs/stackit_postgresflex_instance_create.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ stackit postgresflex instance create [flags]
1414

1515
```
1616
Create a PostgreSQL Flex instance with name "my-instance", ACL 0.0.0.0/0 (open access) and specify flavor by CPU and RAM. Other parameters are set to default values
17-
$ stackit postgresflex instance create --name my-instance --cpu 1 --ram 4 --acl 0.0.0.0/0
17+
$ stackit postgresflex instance create --name my-instance --cpu 2 --ram 4 --acl 0.0.0.0/0
1818
1919
Create a PostgreSQL Flex instance with name "my-instance", ACL 0.0.0.0/0 (open access) and specify flavor by ID. Other parameters are set to default values
2020
$ stackit postgresflex instance create --name my-instance --flavor-id xxx --acl 0.0.0.0/0
2121
2222
Create a PostgreSQL Flex instance with name "my-instance", allow access to a specific range of IP addresses, specify flavor by CPU and RAM and set storage size to 20 GB. Other parameters are set to default values
23-
$ stackit postgresflex instance create --name my-instance --cpu 1 --ram 4 --acl 1.2.3.0/24 --storage-size 20
23+
$ stackit postgresflex instance create --name my-instance --cpu 2 --ram 4 --acl 1.2.3.0/24 --storage-size 20
2424
```
2525

2626
### Options

docs/stackit_postgresflex_instance_delete.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Deletes a PostgreSQL Flex instance
55
### Synopsis
66

77
Deletes a PostgreSQL Flex instance.
8+
By default, instances will be kept in a delayed deleted state for 7 days before being permanently deleted.
9+
Use the --force flag to force the immediate deletion of a delayed deleted instance.
810

911
```
1012
stackit postgresflex instance delete INSTANCE_ID [flags]
@@ -15,12 +17,16 @@ stackit postgresflex instance delete INSTANCE_ID [flags]
1517
```
1618
Delete a PostgreSQL Flex instance with ID "xxx"
1719
$ stackit postgresflex instance delete xxx
20+
21+
Force the deletion of a delayed deleted PostgreSQL Flex instance with ID "xxx"
22+
$ stackit postgresflex instance delete xxx --force
1823
```
1924

2025
### Options
2126

2227
```
23-
-h, --help Help for "stackit postgresflex instance delete"
28+
-f, --force Force deletion of a delayed deleted instance
29+
-h, --help Help for "stackit postgresflex instance delete"
2430
```
2531

2632
### Options inherited from parent commands

docs/stackit_project_describe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ stackit project describe [flags]
1717
$ stackit project describe
1818
1919
Get the details of a STACKIT project by explicitly providing the project ID
20-
$ stackit project describe --project-id xxx
20+
$ stackit project describe xxx
2121
2222
Get the details of the configured STACKIT project, including details of the parent resources
2323
$ stackit project describe --include-parents

docs/stackit_project_list.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ stackit project list [flags]
1313
### Examples
1414

1515
```
16+
List all STACKIT projects that the authenticated user or service account is a member of
17+
$ stackit project list
18+
1619
List all STACKIT projects that are children of a specific parent
1720
$ stackit project list --parent-id xxx
1821

docs/stackit_project_member_list.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ stackit project member list [flags]
1414

1515
```
1616
List all members of a project
17-
$ stackit project role list --project-id xxx
17+
$ stackit project member list --project-id xxx
1818
1919
List all members of a project, sorted by role
20-
$ stackit project role list --project-id xxx --sort-by role
20+
$ stackit project member list --project-id xxx --sort-by role
2121
2222
List up to 10 members of a project
23-
$ stackit project role list --project-id xxx --limit 10
23+
$ stackit project member list --project-id xxx --limit 10
2424
```
2525

2626
### Options

docs/stackit_ske.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,6 @@ stackit ske [flags]
3434
* [stackit ske describe](./stackit_ske_describe.md) - Shows overall details regarding SKE
3535
* [stackit ske disable](./stackit_ske_disable.md) - Disables SKE for a project
3636
* [stackit ske enable](./stackit_ske_enable.md) - Enables SKE for a project
37+
* [stackit ske kubeconfig](./stackit_ske_kubeconfig.md) - Provides functionality for SKE kubeconfig
3738
* [stackit ske options](./stackit_ske_options.md) - Lists SKE provider options
3839

docs/stackit_ske_credentials.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ stackit ske credentials [flags]
2929
### SEE ALSO
3030

3131
* [stackit ske](./stackit_ske.md) - Provides functionality for SKE
32-
* [stackit ske credentials describe](./stackit_ske_credentials_describe.md) - Shows details of the credentials associated to a SKE cluster
33-
* [stackit ske credentials rotate](./stackit_ske_credentials_rotate.md) - Rotates credentials associated to a SKE cluster
32+
* [stackit ske credentials complete-rotation](./stackit_ske_credentials_complete-rotation.md) - Completes the rotation of the credentials associated to a SKE cluster
33+
* [stackit ske credentials start-rotation](./stackit_ske_credentials_start-rotation.md) - Starts the rotation of the credentials associated to a SKE cluster
3434

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
## stackit ske credentials complete-rotation
2+
3+
Completes the rotation of the credentials associated to a SKE cluster
4+
5+
### Synopsis
6+
7+
Completes the rotation of the credentials associated to a STACKIT Kubernetes Engine (SKE) cluster.
8+
9+
This is step 2 of a 2-step process to rotate all SKE cluster credentials. Tasks accomplished in this phase include:
10+
- The old certification authority will be dropped from the package.
11+
- The old signing key for the service account will be dropped from the bundle.
12+
To ensure continued access to the Kubernetes cluster, please update your kubeconfig with the new credentials:
13+
$ stackit ske kubeconfig create my-cluster
14+
15+
If you haven't, please start the process by running:
16+
$ stackit ske credentials start-rotation my-cluster
17+
For more information, visit: https://docs.stackit.cloud/stackit/en/how-to-rotate-ske-credentials-200016334.html
18+
19+
```
20+
stackit ske credentials complete-rotation CLUSTER_NAME [flags]
21+
```
22+
23+
### Examples
24+
25+
```
26+
Complete the rotation of the credentials associated to the SKE cluster with name "my-cluster"
27+
$ stackit ske credentials complete-rotation my-cluster
28+
29+
Flow of the 2-step process to rotate all SKE cluster credentials, including generating a new kubeconfig file
30+
$ stackit ske credentials start-rotation my-cluster
31+
$ stackit ske kubeconfig create my-cluster
32+
$ stackit ske credentials complete-rotation my-cluster
33+
```
34+
35+
### Options
36+
37+
```
38+
-h, --help Help for "stackit ske credentials complete-rotation"
39+
```
40+
41+
### Options inherited from parent commands
42+
43+
```
44+
-y, --assume-yes If set, skips all confirmation prompts
45+
--async If set, runs the command asynchronously
46+
-o, --output-format string Output format, one of ["json" "pretty"]
47+
-p, --project-id string Project ID
48+
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
49+
```
50+
51+
### SEE ALSO
52+
53+
* [stackit ske credentials](./stackit_ske_credentials.md) - Provides functionality for SKE credentials
54+

docs/stackit_ske_credentials_describe.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

docs/stackit_ske_credentials_rotate.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)