diff --git a/cmd/scw/testdata/test-all-usage-container-namespace-create-usage.golden b/cmd/scw/testdata/test-all-usage-container-namespace-create-usage.golden
index 2bf72fc6d3..b71229c5fa 100644
--- a/cmd/scw/testdata/test-all-usage-container-namespace-create-usage.golden
+++ b/cmd/scw/testdata/test-all-usage-container-namespace-create-usage.golden
@@ -12,6 +12,7 @@ ARGS:
[description] Description of the namespace to create
[secret-environment-variables.{index}.key]
[secret-environment-variables.{index}.value]
+ [tags.{index}] [ALPHA] Tags of the Serverless Container Namespace
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
FLAGS:
diff --git a/cmd/scw/testdata/test-all-usage-container-namespace-update-usage.golden b/cmd/scw/testdata/test-all-usage-container-namespace-update-usage.golden
index feeb0c641a..20f00a9a0f 100644
--- a/cmd/scw/testdata/test-all-usage-container-namespace-update-usage.golden
+++ b/cmd/scw/testdata/test-all-usage-container-namespace-update-usage.golden
@@ -11,6 +11,7 @@ ARGS:
[description] Description of the namespace to update
[secret-environment-variables.{index}.key]
[secret-environment-variables.{index}.value]
+ [tags.{index}] [ALPHA] Tags of the Serverless Container Namespace
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
FLAGS:
diff --git a/cmd/scw/testdata/test-all-usage-function-namespace-create-usage.golden b/cmd/scw/testdata/test-all-usage-function-namespace-create-usage.golden
index 12e6d1ce04..cfcfb502d8 100644
--- a/cmd/scw/testdata/test-all-usage-function-namespace-create-usage.golden
+++ b/cmd/scw/testdata/test-all-usage-function-namespace-create-usage.golden
@@ -12,6 +12,7 @@ ARGS:
[description] Description of the namespace
[secret-environment-variables.{index}.key]
[secret-environment-variables.{index}.value]
+ [tags.{index}] [ALPHA] Tags of the Serverless Function Namespace
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
FLAGS:
diff --git a/cmd/scw/testdata/test-all-usage-function-namespace-update-usage.golden b/cmd/scw/testdata/test-all-usage-function-namespace-update-usage.golden
index 1d40eae522..fcab3ba3b2 100644
--- a/cmd/scw/testdata/test-all-usage-function-namespace-update-usage.golden
+++ b/cmd/scw/testdata/test-all-usage-function-namespace-update-usage.golden
@@ -11,6 +11,7 @@ ARGS:
[description] Description of the namespace
[secret-environment-variables.{index}.key]
[secret-environment-variables.{index}.value]
+ [tags.{index}] [ALPHA] Tags of the Serverless Function Namespace
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
FLAGS:
diff --git a/docs/commands/container.md b/docs/commands/container.md
index 245100545a..984b69147f 100644
--- a/docs/commands/container.md
+++ b/docs/commands/container.md
@@ -464,6 +464,7 @@ scw container namespace create [arg=value ...]
| description | | Description of the namespace to create |
| secret-environment-variables.{index}.key | | |
| secret-environment-variables.{index}.value | | |
+| tags.{index} | | [ALPHA] Tags of the Serverless Container Namespace |
| region | Default: `fr-par`
One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config |
@@ -551,6 +552,7 @@ scw container namespace update [arg=value ...]
| description | | Description of the namespace to update |
| secret-environment-variables.{index}.key | | |
| secret-environment-variables.{index}.value | | |
+| tags.{index} | | [ALPHA] Tags of the Serverless Container Namespace |
| region | Default: `fr-par`
One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config |
diff --git a/docs/commands/function.md b/docs/commands/function.md
index e5242c6c5a..43aac978fb 100644
--- a/docs/commands/function.md
+++ b/docs/commands/function.md
@@ -493,6 +493,7 @@ scw function namespace create [arg=value ...]
| description | | Description of the namespace |
| secret-environment-variables.{index}.key | | |
| secret-environment-variables.{index}.value | | |
+| tags.{index} | | [ALPHA] Tags of the Serverless Function Namespace |
| region | Default: `fr-par`
One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config |
@@ -580,6 +581,7 @@ scw function namespace update [arg=value ...]
| description | | Description of the namespace |
| secret-environment-variables.{index}.key | | |
| secret-environment-variables.{index}.value | | |
+| tags.{index} | | [ALPHA] Tags of the Serverless Function Namespace |
| region | Default: `fr-par`
One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config |
diff --git a/internal/namespaces/container/v1beta1/container_cli.go b/internal/namespaces/container/v1beta1/container_cli.go
index 2ed4b43a57..16e3008e94 100644
--- a/internal/namespaces/container/v1beta1/container_cli.go
+++ b/internal/namespaces/container/v1beta1/container_cli.go
@@ -255,6 +255,13 @@ func containerNamespaceCreate() *core.Command {
Deprecated: false,
Positional: false,
},
+ {
+ Name: "tags.{index}",
+ Short: `[ALPHA] Tags of the Serverless Container Namespace`,
+ Required: false,
+ Deprecated: false,
+ Positional: false,
+ },
core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms, scw.RegionPlWaw),
},
Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {
@@ -311,6 +318,13 @@ func containerNamespaceUpdate() *core.Command {
Deprecated: false,
Positional: false,
},
+ {
+ Name: "tags.{index}",
+ Short: `[ALPHA] Tags of the Serverless Container Namespace`,
+ Required: false,
+ Deprecated: false,
+ Positional: false,
+ },
core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms, scw.RegionPlWaw),
},
Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {
diff --git a/internal/namespaces/function/v1beta1/function_cli.go b/internal/namespaces/function/v1beta1/function_cli.go
index 0ffab7c504..bb1368e014 100644
--- a/internal/namespaces/function/v1beta1/function_cli.go
+++ b/internal/namespaces/function/v1beta1/function_cli.go
@@ -302,6 +302,13 @@ func functionNamespaceCreate() *core.Command {
Deprecated: false,
Positional: false,
},
+ {
+ Name: "tags.{index}",
+ Short: `[ALPHA] Tags of the Serverless Function Namespace`,
+ Required: false,
+ Deprecated: false,
+ Positional: false,
+ },
core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms, scw.RegionPlWaw),
},
Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {
@@ -358,6 +365,13 @@ func functionNamespaceUpdate() *core.Command {
Deprecated: false,
Positional: false,
},
+ {
+ Name: "tags.{index}",
+ Short: `[ALPHA] Tags of the Serverless Function Namespace`,
+ Required: false,
+ Deprecated: false,
+ Positional: false,
+ },
core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms, scw.RegionPlWaw),
},
Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {