Commit 92449d3e by chenxx

add namespace

1 parent c8605a21
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
| <a name="input_limit_cpu"></a> [limit\_cpu](#input\_limit\_cpu) | CPU limit. e.g. 0.5, 1, 2 | `string` | `"0.5"` | no | | <a name="input_limit_cpu"></a> [limit\_cpu](#input\_limit\_cpu) | CPU limit. e.g. 0.5, 1, 2 | `string` | `"0.5"` | no |
| <a name="input_limit_memory"></a> [limit\_memory](#input\_limit\_memory) | Memory limit. e.g. 128Mi, 512Mi, 1Gi, 2Gi, 4Gi | `string` | `"128Mi"` | no | | <a name="input_limit_memory"></a> [limit\_memory](#input\_limit\_memory) | Memory limit. e.g. 128Mi, 512Mi, 1Gi, 2Gi, 4Gi | `string` | `"128Mi"` | no |
| <a name="input_name"></a> [name](#input\_name) | Name of the deployment resource. Auto-generated if empty. | `string` | `""` | no | | <a name="input_name"></a> [name](#input\_name) | Name of the deployment resource. Auto-generated if empty. | `string` | `""` | no |
| <a name="input_namespace"></a> [namespace](#input\_namespace) | Namespace to deploy. Auto-generated if empty. | `string` | `""` | no |
| <a name="input_path"></a> [path](#input\_path) | 访问路径 | `string` | `"/"` | no | | <a name="input_path"></a> [path](#input\_path) | 访问路径 | `string` | `"/"` | no |
| <a name="input_path_type"></a> [path\_type](#input\_path\_type) | Path type for ingress rule | `string` | `"ImplementationSpecific"` | no | | <a name="input_path_type"></a> [path\_type](#input\_path\_type) | Path type for ingress rule | `string` | `"ImplementationSpecific"` | no |
| <a name="input_port"></a> [port](#input\_port) | Service ports to expose | `string` | `"7777"` | no | | <a name="input_port"></a> [port](#input\_port) | Service ports to expose | `string` | `"7777"` | no |
......
...@@ -144,6 +144,15 @@ components: ...@@ -144,6 +144,15 @@ components:
x-walrus-ui: x-walrus-ui:
group: 基础 group: 基础
order: 15 order: 15
namespace:
title: Namespace
type: string
description: Namespace to deploy. Auto-generated if empty.
default: ""
nullable: true
x-walrus-ui:
group: 基础
order: 16
walrus_metadata_service_name: walrus_metadata_service_name:
title: Walrus Metadata Service Name title: Walrus Metadata Service Name
type: string type: string
...@@ -152,8 +161,8 @@ components: ...@@ -152,8 +161,8 @@ components:
nullable: true nullable: true
x-walrus-ui: x-walrus-ui:
group: 基础 group: 基础
order: 16
hidden: true hidden: true
order: 16
walrus_metadata_namespace_name: walrus_metadata_namespace_name:
title: Walrus Metadata Namespace Name title: Walrus Metadata Namespace Name
type: string type: string
...@@ -162,8 +171,8 @@ components: ...@@ -162,8 +171,8 @@ components:
nullable: true nullable: true
x-walrus-ui: x-walrus-ui:
group: 基础 group: 基础
order: 17
hidden: true hidden: true
order: 17
context: context:
title: Context title: Context
type: object type: object
...@@ -199,4 +208,3 @@ components: ...@@ -199,4 +208,3 @@ components:
- 基础 - 基础
- 高级 - 高级
- 资源配额 - 资源配额
...@@ -130,6 +130,14 @@ variable "path" { ...@@ -130,6 +130,14 @@ variable "path" {
default = "/" default = "/"
} }
# @label "Namespace"
# @group "Advanced"
variable "namespace" {
type = string
description = "Namespace to deploy. Auto-generated if empty."
default = ""
}
# @hidden # @hidden
variable "walrus_metadata_service_name" { variable "walrus_metadata_service_name" {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!