Commit 36e708b0 by chenxx

change ui 3

1 parent e5eec7d4
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
|------|-------------|------|---------|:--------:| |------|-------------|------|---------|:--------:|
| <a name="input_env"></a> [env](#input\_env) | Name and value pairs to set as the environment variables | `map(string)` | `{}` | no | | <a name="input_env"></a> [env](#input\_env) | Name and value pairs to set as the environment variables | `map(string)` | `{}` | no |
| <a name="input_image"></a> [image](#input\_image) | Docker image name | `string` | n/a | yes | | <a name="input_image"></a> [image](#input\_image) | Docker image name | `string` | n/a | yes |
| <a name="input_ingress_switch"></a> [ingress\_switch](#input\_ingress\_switch) | choise ingress switch | <pre>object({<br> switch = optional(string, "off")<br> path_type = optional(string, "ImplementationSpecific")<br> path = string<br> domain_name = string<br> })</pre> | n/a | yes | | <a name="input_ingress_switch"></a> [ingress\_switch](#input\_ingress\_switch) | choise ingress switch | <pre>object({<br> switch = optional(string)<br> path_type = optional(string)<br> path = string<br> domain_name = string<br> })</pre> | n/a | yes |
| <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` | n/a | yes | | <a name="input_name"></a> [name](#input\_name) | Name of the deployment resource. Auto-generated if empty. | `string` | n/a | yes |
......
...@@ -163,7 +163,6 @@ components: ...@@ -163,7 +163,6 @@ components:
order: 4 order: 4
showIf: switch=on showIf: switch=on
path: path:
defalut: /
description: 访问路径。例子:/,/aaa_project description: 访问路径。例子:/,/aaa_project
title: Path title: Path
type: string type: string
...@@ -172,7 +171,6 @@ components: ...@@ -172,7 +171,6 @@ components:
order: 3 order: 3
showIf: switch=on showIf: switch=on
path_type: path_type:
default: ImplementationSpecific
description: 一般选择 ImplementationSpecific description: 一般选择 ImplementationSpecific
enum: enum:
- ImplementationSpecific - ImplementationSpecific
......
...@@ -109,8 +109,8 @@ variable "restart_policy" { ...@@ -109,8 +109,8 @@ variable "restart_policy" {
# @group "ingress" # @group "ingress"
variable "ingress_switch" { variable "ingress_switch" {
type = object({ type = object({
switch = optional(string, "off") switch = optional(string)
path_type = optional(string, "ImplementationSpecific") path_type = optional(string)
path = string path = string
domain_name = string domain_name = string
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!