Commit 7238f3f8 by chenxx

add image name

1 parent 432aac09
......@@ -35,7 +35,7 @@ resource "kubernetes_deployment" "test" {
}
spec {
container {
image = "nginx1.24.0"
image = var.image
name = "nginx5"
port {
container_port = 80
......
# @label "input Image Name"
# @group "Basic"
variable "image" {
type = string
description = "Docker image name"
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!