Skip to content

Commit 0e0b833

Browse files
authored
feat(edge_services): display doc for wildcard domain feature (#5431)
1 parent 4774ceb commit 0e0b833

File tree

6 files changed

+21
-3
lines changed

6 files changed

+21
-3
lines changed

cmd/scw/testdata/test-all-usage-edge-services-dns-stage-create-usage.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ ARGS:
1111
[cache-stage-id] Cache stage ID the DNS stage will be linked to
1212
[backend-stage-id] Backend stage ID the DNS stage will be linked to
1313
pipeline-id Pipeline ID the DNS stage belongs to
14+
[wildcard-domain] Support of wildcard (subdomains) for the given domain (a wildcard certificate is required to make it work)
1415

1516
FLAGS:
1617
-h, --help help for create

cmd/scw/testdata/test-all-usage-edge-services-dns-stage-update-usage.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ ARGS:
1111
[tls-stage-id] TLS stage ID the DNS stage will be linked to
1212
[cache-stage-id] Cache stage ID the DNS stage will be linked to
1313
[backend-stage-id] Backend stage ID the DNS stage will be linked to
14+
[wildcard-domain] Support of wildcard (subdomains) for the given domain (a wildcard certificate is required to make it work)
1415

1516
FLAGS:
1617
-h, --help help for update

docs/commands/edge-services.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ scw edge-services dns-stage create [arg=value ...]
316316
| cache-stage-id | | Cache stage ID the DNS stage will be linked to |
317317
| backend-stage-id | | Backend stage ID the DNS stage will be linked to |
318318
| pipeline-id | Required | Pipeline ID the DNS stage belongs to |
319+
| wildcard-domain | | Support of wildcard (subdomains) for the given domain (a wildcard certificate is required to make it work) |
319320

320321

321322

@@ -398,6 +399,7 @@ scw edge-services dns-stage update <dns-stage-id ...> [arg=value ...]
398399
| tls-stage-id | | TLS stage ID the DNS stage will be linked to |
399400
| cache-stage-id | | Cache stage ID the DNS stage will be linked to |
400401
| backend-stage-id | | Backend stage ID the DNS stage will be linked to |
402+
| wildcard-domain | | Support of wildcard (subdomains) for the given domain (a wildcard certificate is required to make it work) |
401403

402404

403405

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ require (
2525
github.com/moby/buildkit v0.28.1
2626
github.com/moby/go-archive v0.2.0
2727
github.com/opencontainers/go-digest v1.0.0
28-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260323151300-58a67ea38f41
28+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260326142950-7469ac58518e
2929
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
3030
github.com/spf13/cobra v1.10.2
3131
github.com/spf13/pflag v1.0.10

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,8 +476,8 @@ github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7
476476
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
477477
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
478478
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
479-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260323151300-58a67ea38f41 h1:sFMqDEgg68NjUGRUCVYd13J/oO+xVcCIijpvUE4XY3I=
480-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260323151300-58a67ea38f41/go.mod h1:SKcIU6lqwljcpjOlTnSfMFfURd/XT+08spQyqN9OTWA=
479+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260326142950-7469ac58518e h1:G4S6j5W/56KXaZ7RAe+2Vqaypx/rtymDJp2tVpWRmpM=
480+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260326142950-7469ac58518e/go.mod h1:SKcIU6lqwljcpjOlTnSfMFfURd/XT+08spQyqN9OTWA=
481481
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
482482
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
483483
github.com/secure-systems-lab/go-securesystemslib v0.10.0 h1:l+H5ErcW0PAehBNrBxoGv1jjNpGYdZ9RcheFkB2WI14=

internal/namespaces/edge_services/v1beta1/edge_services_cli.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,13 @@ func edgeServicesDNSStageCreate() *core.Command {
561561
Deprecated: false,
562562
Positional: false,
563563
},
564+
{
565+
Name: "wildcard-domain",
566+
Short: `Support of wildcard (subdomains) for the given domain (a wildcard certificate is required to make it work)`,
567+
Required: false,
568+
Deprecated: false,
569+
Positional: false,
570+
},
564571
},
565572
Run: func(ctx context.Context, args any) (i any, e error) {
566573
request := args.(*edge_services.CreateDNSStageRequest)
@@ -647,6 +654,13 @@ func edgeServicesDNSStageUpdate() *core.Command {
647654
Deprecated: false,
648655
Positional: false,
649656
},
657+
{
658+
Name: "wildcard-domain",
659+
Short: `Support of wildcard (subdomains) for the given domain (a wildcard certificate is required to make it work)`,
660+
Required: false,
661+
Deprecated: false,
662+
Positional: false,
663+
},
650664
},
651665
Run: func(ctx context.Context, args any) (i any, e error) {
652666
request := args.(*edge_services.UpdateDNSStageRequest)

0 commit comments

Comments
 (0)