Commit 5d7d4054 by chenxx

change ui 4

1 parent 6509f915
......@@ -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_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)<br> path_type = optional(string)<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 = any<br> domain_name = any<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_memory"></a> [limit\_memory](#input\_limit\_memory) | Memory limit. e.g. 128Mi, 512Mi, 1Gi, 2Gi, 4Gi | `string` | `"512Mi"` | no |
| <a name="input_name"></a> [name](#input\_name) | Name of the deployment resource. Auto-generated if empty. | `string` | n/a | yes |
......
......@@ -108,7 +108,7 @@ components:
title: Limit Memory
type: string
description: Memory limit. e.g. 128Mi, 512Mi, 1Gi, 2Gi, 4Gi
default: 128Mi
default: 512Mi
enum:
- 128Mi
- 512Mi
......@@ -157,16 +157,20 @@ components:
- path
properties:
domain_name:
nullable: true
title: Domain Name
type: string
type: any
x-walrus-ui:
colSpan: 12
order: 4
showIf: switch=on
path:
description: 访问路径。例子:/,/aaa_project
nullable: true
title: Path
type: string
type: any
x-walrus-ui:
colSpan: 12
group: Ingress
order: 3
showIf: switch=on
......
......@@ -111,8 +111,8 @@ variable "ingress_switch" {
type = object({
switch = optional(string)
path_type = optional(string)
path = string
domain_name = string
path = any
domain_name = any
})
description = "choise ingress switch"
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!