Skip to content

Commit ffaed8a

Browse files
author
Yago Carlos Fernandez Gou
committed
Add catalog-auth-type to creation requirements
1 parent 4115d18 commit ffaed8a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/stackit_beta_intake_create.md

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

1515
```
1616
Create a new Intake with required parameters
17-
$ stackit beta intake create --display-name my-intake --runner-id xxx --catalog-uri "http://dremio.example.com" --catalog-warehouse "my-warehouse"
17+
$ stackit beta intake create --display-name my-intake --runner-id xxx --catalog-uri "http://dremio.example.com" --catalog-warehouse "my-warehouse" --catalog-auth-type none
1818
1919
Create a new Intake with a description, labels, and Dremio authentication
2020
$ stackit beta intake create --display-name my-intake --runner-id xxx --description "Production intake" --labels "env=prod,team=billing" --catalog-uri "http://dremio.example.com" --catalog-warehouse "my-warehouse" --catalog-auth-type "dremio" --dremio-token-endpoint "https://auth.dremio.cloud/oauth/token" --dremio-pat "MY_TOKEN"
2121
2222
Create a new Intake with manual partitioning by a date field
23-
$ stackit beta intake create --display-name my-partitioned-intake --runner-id xxx --catalog-uri "http://dremio.example.com" --catalog-warehouse "my-warehouse" --catalog-partitioning "manual" --catalog-partition-by "day(__intake_ts)"
23+
$ stackit beta intake create --display-name my-partitioned-intake --runner-id xxx --catalog-uri "http://dremio.example.com" --catalog-warehouse "my-warehouse" --catalog-partitioning "manual" --catalog-partition-by "day(__intake_ts)" --catalog-auth-type "none"
2424
```
2525

2626
### Options

internal/cmd/beta/intake/instance/create/create.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ func NewCmd(p *types.CmdParams) *cobra.Command {
6969
Example: examples.Build(
7070
examples.NewExample(
7171
`Create a new Intake with required parameters`,
72-
`$ stackit beta intake create --display-name my-intake --runner-id xxx --catalog-uri "http://dremio.example.com" --catalog-warehouse "my-warehouse"`),
72+
`$ stackit beta intake create --display-name my-intake --runner-id xxx --catalog-uri "http://dremio.example.com" --catalog-warehouse "my-warehouse" --catalog-auth-type none`),
7373
examples.NewExample(
7474
`Create a new Intake with a description, labels, and Dremio authentication`,
7575
`$ stackit beta intake create --display-name my-intake --runner-id xxx --description "Production intake" --labels "env=prod,team=billing" --catalog-uri "http://dremio.example.com" --catalog-warehouse "my-warehouse" --catalog-auth-type "dremio" --dremio-token-endpoint "https://auth.dremio.cloud/oauth/token" --dremio-pat "MY_TOKEN"`),
7676
examples.NewExample(
7777
`Create a new Intake with manual partitioning by a date field`,
78-
`$ stackit beta intake create --display-name my-partitioned-intake --runner-id xxx --catalog-uri "http://dremio.example.com" --catalog-warehouse "my-warehouse" --catalog-partitioning "manual" --catalog-partition-by "day(__intake_ts)"`),
78+
`$ stackit beta intake create --display-name my-partitioned-intake --runner-id xxx --catalog-uri "http://dremio.example.com" --catalog-warehouse "my-warehouse" --catalog-partitioning "manual" --catalog-partition-by "day(__intake_ts)" --catalog-auth-type "none"`),
7979
),
8080
RunE: func(cmd *cobra.Command, _ []string) error {
8181
ctx := context.Background()

0 commit comments

Comments
 (0)