Commit f500c9bd by chenxx

update var

1 parent 57dce19e
......@@ -47,7 +47,7 @@ module "deployment" {
timeout_seconds = 3
}
# start time 4 minute
# start time 4 minute failure_threshold * period_seconds = 4m
startup_probe = {
http_get = {
path = var.probe_http_path
......
......@@ -9,7 +9,6 @@ variable "image" {
variable "ports" {
type = list(number)
description = "Service ports to expose"
default = [80]
}
# @label "Environment Variables"
# @options ["dev", "test", "release", "beta"]
......@@ -91,6 +90,7 @@ variable "walrus_metadata_namespace_name" {
variable "probe_http_port" {
description = "(Optional)http port for probe"
type = string
default = var.ports[0]
}
# @label "probe_path"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!