Commit 763bf4df by chenxx

update

1 parent a2284598
...@@ -8,7 +8,7 @@ output "ports" { ...@@ -8,7 +8,7 @@ output "ports" {
value = var.ports value = var.ports
} }
output "访问入口ingress" { output "ingress" {
description = "访问入口ingress" description = "访问入口ingress"
value = var.domain_name value = var.domain_name
} }
...@@ -51,7 +51,7 @@ variable "limit_cpu" { ...@@ -51,7 +51,7 @@ variable "limit_cpu" {
default = "0.5" default = "0.5"
} }
# @group "Resources" # @group "Resources"
# @options ["128Mi","512Mi", "1G",2Gi] # @options ["128Mi","512Mi", "1Gi","2Gi", "3Gi"]
# @label "Memory Limit" # @label "Memory Limit"
variable "limit_memory" { variable "limit_memory" {
type = string type = string
...@@ -118,10 +118,11 @@ variable "restart_policy" { ...@@ -118,10 +118,11 @@ variable "restart_policy" {
} }
# @label "diamond配置环境变量参数" # @label "diamond配置环境变量参数"
# @options ["dev", "test", "beta", "release"]
# @group "Advanced" # @group "Advanced"
variable "args" { variable "args" {
type = list(string) type = list(string)
description = "(Optional) Arguments to the entrypoint" description = "属于那个环境,例子:dev,test,beta,release"
default = ["release"] default = ["release"]
} }
...@@ -134,7 +135,7 @@ variable "domain_name" { ...@@ -134,7 +135,7 @@ variable "domain_name" {
} }
# @label "path_type" # @label "path_type"
#options ["ImplementationSpecific","Exact","Prefix"] # @options ["ImplementationSpecific","Exact","Prefix"]
# @group "ingress" # @group "ingress"
variable "path_type" { variable "path_type" {
type = string type = string
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!