Skip to content

Commit 36d80c8

Browse files
authored
Merge branch 'main' into onboarding-intake-component
2 parents 63e921d + 43a5765 commit 36d80c8

File tree

835 files changed

+3011
-2299
lines changed

Some content is hidden

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

835 files changed

+3011
-2299
lines changed

.github/docs/contribution-guide/cmd.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import (
44
"context"
55
"fmt"
66

7+
"github.com/stackitcloud/stackit-cli/internal/pkg/types"
8+
79
"github.com/spf13/cobra"
8-
"github.com/stackitcloud/stackit-cli/internal/cmd/params"
910
"github.com/stackitcloud/stackit-cli/internal/pkg/args"
1011
"github.com/stackitcloud/stackit-cli/internal/pkg/errors"
1112
"github.com/stackitcloud/stackit-cli/internal/pkg/examples"
@@ -33,7 +34,7 @@ type inputModel struct {
3334
}
3435

3536
// "bar" command constructor
36-
func NewCmd(params *params.CmdParams) *cobra.Command {
37+
func NewCmd(params *types.CmdParams) *cobra.Command {
3738
cmd := &cobra.Command{
3839
Use: "bar",
3940
Short: "Short description of the command (is shown in the help of parent command)",

.github/workflows/renovate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Checkout
1414
uses: actions/checkout@v6
1515
- name: Self-hosted Renovate
16-
uses: renovatebot/github-action@v44.0.4
16+
uses: renovatebot/github-action@v44.0.5
1717
with:
1818
configurationFile: .github/renovate.json
1919
token: ${{ secrets.RENOVATE_TOKEN }}

AUTHENTICATION.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This document describes how you can configure authentication for the STACKIT CLI
44

55
## Service account
66

7-
You can use a [service account](https://docs.stackit.cloud/stackit/en/service-accounts-134415819.html) to authenticate to the STACKIT CLI.
7+
You can use a [service account](https://docs.stackit.cloud/platform/access-and-identity/service-accounts/) to authenticate to the STACKIT CLI.
88
The CLI will search for service account credentials similarly to the [STACKIT SDK](https://github.com/stackitcloud/stackit-sdk-go) and [STACKIT Terraform Provider](https://github.com/stackitcloud/terraform-provider-stackit), so if you have already set up your environment for those tools, you can just run:
99

1010
```bash
@@ -47,14 +47,14 @@ To use the key flow, you need to have a service account key, which must have an
4747

4848
When creating the service account key, a new RSA key-pair can be created automatically, which will be included in the service account key. This will make it much easier to configure the key flow authentication in the CLI, by just providing the service account key.
4949

50-
**Optionally**, you can provide your own private key when creating the service account key, which will then require you to also provide it explicitly to the CLI, additionally to the service account key. Check the STACKIT Knowledge Base for an [example of how to create your own key-pair](https://docs.stackit.cloud/stackit/en/usage-of-the-service-account-keys-in-stackit-175112464.html#UsageoftheserviceaccountkeysinSTACKIT-CreatinganRSAkey-pair).
50+
**Optionally**, you can provide your own private key when creating the service account key, which will then require you to also provide it explicitly to the CLI, additionally to the service account key. Check the STACKIT Docs for an [example of how to create your own key-pair](https://docs.stackit.cloud/platform/access-and-identity/service-accounts/how-tos/manage-service-account-keys/).
5151

5252
To configure the key flow, follow this steps:
5353

5454
1. Create a service account key:
5555

5656
- In the CLI, run `stackit service-account key create --email <SERVICE_ACCOUNT_EMAIL>`
57-
- As an alternative, use the [STACKIT Portal](https://portal.stackit.cloud/): go to the `Service Accounts` tab, choose a `Service Account` and go to `Service Account Keys` to create a key. For more details, see [Create a service account key](https://docs.stackit.cloud/stackit/en/create-a-service-account-key-175112456.html)
57+
- As an alternative, use the [STACKIT Portal](https://portal.stackit.cloud/): go to the `Service Accounts` tab, choose a `Service Account` and go to `Service Account Keys` to create a key. For more details, see [Create a service account key](https://docs.stackit.cloud/platform/access-and-identity/service-accounts/how-tos/manage-service-account-keys/)
5858

5959
2. Save the content of the service account key by copying it and saving it in a JSON file.
6060

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ROOT_DIR ?= $(shell git rev-parse --show-toplevel)
22
SCRIPTS_BASE ?= $(ROOT_DIR)/scripts
33
GOLANG_CI_YAML_PATH ?= ${ROOT_DIR}/golang-ci.yaml
4-
GOLANG_CI_ARGS ?= --allow-parallel-runners --timeout=5m --config=${GOLANG_CI_YAML_PATH}
4+
GOLANG_CI_ARGS ?= --allow-parallel-runners --config=${GOLANG_CI_YAML_PATH}
55

66
# Build
77
build:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,6 @@ Apache 2.0
202202

203203
- [STACKIT](https://www.stackit.de/en/)
204204

205-
- [STACKIT Knowledge Base](https://docs.stackit.cloud/stackit/en/knowledge-base-85301704.html)
205+
- [STACKIT Docs](https://docs.stackit.cloud/)
206206

207207
- [STACKIT Terraform Provider](https://registry.terraform.io/providers/stackitcloud/stackit/latest/docs)

docs/stackit_beta_sqlserverflex_user_create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Creates a SQLServer Flex user for an instance.
99
The password is only visible upon creation and cannot be retrieved later.
1010
Alternatively, you can reset the password and access the new one by running:
1111
$ stackit beta sqlserverflex user reset-password USER_ID --instance-id INSTANCE_ID
12-
Please refer to https://docs.stackit.cloud/stackit/en/creating-logins-and-users-in-sqlserver-flex-instances-210862358.html for additional information.
12+
Please refer to https://docs.stackit.cloud/products/databases/sqlserver-flex/how-tos/create-logins-and-users-in-sqlserver-flex-instances/ for additional information.
1313

1414
The allowed user roles for your instance can be obtained by running:
1515
$ stackit beta sqlserverflex options --user-roles --instance-id INSTANCE_ID

docs/stackit_mongodbflex_user_create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ stackit mongodbflex user create [flags]
2929
--database string The database inside the MongoDB instance that the user has access to. If it does not exist, it will be created once the user writes to it
3030
-h, --help Help for "stackit mongodbflex user create"
3131
--instance-id string ID of the instance
32-
--role strings Roles of the user, possible values are ["read" "readWrite" "readWriteAnyDatabase"] (default [read])
32+
--role strings Roles of the user, possible values are ["read" "readWrite" "readAnyDatabase" "readWriteAnyDatabase" "stackitAdmin"]. The "readAnyDatabase", "readWriteAnyDatabase" and "stackitAdmin" roles will always be created in the admin database. (default [read])
3333
--username string Username of the user. If not specified, a random username will be assigned
3434
```
3535

docs/stackit_mongodbflex_user_update.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ stackit mongodbflex user update USER_ID [flags]
2323
--database string The database inside the MongoDB instance that the user has access to. If it does not exist, it will be created once the user writes to it
2424
-h, --help Help for "stackit mongodbflex user update"
2525
--instance-id string ID of the instance
26-
--role strings Roles of the user, possible values are ["read" "readWrite" "readWriteAnyDatabase"] (default [])
26+
--role strings Roles of the user, possible values are ["read" "readWrite" "readAnyDatabase" "readWriteAnyDatabase" "stackitAdmin"]. The "readAnyDatabase", "readWriteAnyDatabase" and "stackitAdmin" roles will always be created in the admin database. (default [])
2727
```
2828

2929
### Options inherited from parent commands

docs/stackit_server_create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ stackit server create [flags]
5555
--image-id string The image ID to be used for an ephemeral disk on the server. Either 'image-id' or 'boot-volume-...' flags are required
5656
--keypair-name string The name of the SSH keypair used during the server creation
5757
--labels stringToString Labels are key-value string pairs which can be attached to a server. E.g. '--labels key1=value1,key2=value2,...' (default [])
58-
--machine-type string Name of the type of the machine for the server. Possible values are documented in https://docs.stackit.cloud/stackit/en/virtual-machine-flavors-75137231.html
58+
--machine-type string Name of the type of the machine for the server. Possible values are documented in https://docs.stackit.cloud/products/compute-engine/server/basics/machine-types/
5959
-n, --name string Server name
6060
--network-id string ID of the network for the initial networking setup for the server creation
6161
--network-interface-ids strings List of network interface IDs for the initial networking setup for the server creation

docs/stackit_server_resize.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ stackit server resize SERVER_ID [flags]
2121

2222
```
2323
-h, --help Help for "stackit server resize"
24-
--machine-type string Name of the type of the machine for the server. Possible values are documented in https://docs.stackit.cloud/stackit/en/virtual-machine-flavors-75137231.html
24+
--machine-type string Name of the type of the machine for the server. Possible values are documented in https://docs.stackit.cloud/products/compute-engine/server/basics/machine-types/
2525
```
2626

2727
### Options inherited from parent commands

0 commit comments

Comments
 (0)