Skip to content

Commit cbec66d

Browse files
authored
Merge branch 'master' into v1.6237.0
2 parents 5cd553c + 94f322f commit cbec66d

File tree

3 files changed

+67
-11
lines changed

3 files changed

+67
-11
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ require (
185185
go.opentelemetry.io/otel/trace v1.25.0 // indirect
186186
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
187187
golang.org/x/mod v0.17.0 // indirect
188-
golang.org/x/net v0.33.0 // indirect
188+
golang.org/x/net v0.36.0 // indirect
189189
golang.org/x/sync v0.12.0 // indirect
190190
golang.org/x/sys v0.31.0 // indirect
191191
golang.org/x/time v0.5.0 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -594,8 +594,8 @@ golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v
594594
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
595595
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
596596
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
597-
golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I=
598-
golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4=
597+
golang.org/x/net v0.36.0 h1:vWF2fRbw4qslQsQzgFqZff+BItCvGFQqKzKIzx1rmoA=
598+
golang.org/x/net v0.36.0/go.mod h1:bFmbeoIPfrw4sMHNhb4J9f6+tPziuGjq7Jk/38fxi1I=
599599
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
600600
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
601601
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=

internal/namespaces/webhosting/v1/webhosting_cli.go

Lines changed: 64 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -752,30 +752,30 @@ func webhostingDomainSyncDNSRecords() *core.Command {
752752
},
753753
{
754754
Name: "update-web-records",
755-
Short: `Whether or not to synchronize the web records.`,
755+
Short: `Whether or not to synchronize the web records (deprecated, use auto_config_domain_dns).`,
756756
Required: false,
757-
Deprecated: false,
757+
Deprecated: true,
758758
Positional: false,
759759
},
760760
{
761761
Name: "update-mail-records",
762-
Short: `Whether or not to synchronize the mail records.`,
762+
Short: `Whether or not to synchronize the mail records (deprecated, use auto_config_domain_dns).`,
763763
Required: false,
764-
Deprecated: false,
764+
Deprecated: true,
765765
Positional: false,
766766
},
767767
{
768768
Name: "update-all-records",
769-
Short: `Whether or not to synchronize all types of records. This one has priority.`,
769+
Short: `Whether or not to synchronize all types of records. This one has priority (deprecated, use auto_config_domain_dns).`,
770770
Required: false,
771-
Deprecated: false,
771+
Deprecated: true,
772772
Positional: false,
773773
},
774774
{
775775
Name: "update-nameservers",
776-
Short: `Whether or not to synchronize domain nameservers.`,
776+
Short: `Whether or not to synchronize domain nameservers (deprecated, use auto_config_domain_dns).`,
777777
Required: false,
778-
Deprecated: false,
778+
Deprecated: true,
779779
Positional: false,
780780
},
781781
{
@@ -791,6 +791,34 @@ func webhostingDomainSyncDNSRecords() *core.Command {
791791
Positional: false,
792792
EnumValues: []string{"unknown_type", "a", "cname", "mx", "txt", "ns", "aaaa"},
793793
},
794+
{
795+
Name: "auto-config-domain-dns.nameservers",
796+
Short: `Whether or not to synchronize domain nameservers.`,
797+
Required: false,
798+
Deprecated: false,
799+
Positional: false,
800+
},
801+
{
802+
Name: "auto-config-domain-dns.web-records",
803+
Short: `Whether or not to synchronize web records.`,
804+
Required: false,
805+
Deprecated: false,
806+
Positional: false,
807+
},
808+
{
809+
Name: "auto-config-domain-dns.mail-records",
810+
Short: `Whether or not to synchronize mail records.`,
811+
Required: false,
812+
Deprecated: false,
813+
Positional: false,
814+
},
815+
{
816+
Name: "auto-config-domain-dns.all-records",
817+
Short: `Whether or not to synchronize all types of records. Takes priority over the other fields.`,
818+
Required: false,
819+
Deprecated: false,
820+
Positional: false,
821+
},
794822
core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms, scw.RegionPlWaw),
795823
},
796824
Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {
@@ -950,6 +978,34 @@ func webhostingHostingCreate() *core.Command {
950978
Deprecated: false,
951979
Positional: false,
952980
},
981+
{
982+
Name: "auto-config-domain-dns.nameservers",
983+
Short: `Whether or not to synchronize domain nameservers.`,
984+
Required: false,
985+
Deprecated: false,
986+
Positional: false,
987+
},
988+
{
989+
Name: "auto-config-domain-dns.web-records",
990+
Short: `Whether or not to synchronize web records.`,
991+
Required: false,
992+
Deprecated: false,
993+
Positional: false,
994+
},
995+
{
996+
Name: "auto-config-domain-dns.mail-records",
997+
Short: `Whether or not to synchronize mail records.`,
998+
Required: false,
999+
Deprecated: false,
1000+
Positional: false,
1001+
},
1002+
{
1003+
Name: "auto-config-domain-dns.all-records",
1004+
Short: `Whether or not to synchronize all types of records. Takes priority over the other fields.`,
1005+
Required: false,
1006+
Deprecated: false,
1007+
Positional: false,
1008+
},
9531009
core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms, scw.RegionPlWaw),
9541010
},
9551011
Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {

0 commit comments

Comments
 (0)