Skip to content

Commit

Permalink
[FEATURE] Inprove example KUBE_Webserver
Browse files Browse the repository at this point in the history
  • Loading branch information
matgou committed May 3, 2023
1 parent 52e4e58 commit 6be5118
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions examples/KUBE_Webserver/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,17 @@ resource "kubernetes_pod" "example" {
container {
image = "nginx:1.21.6"
name = "webserver"

volume_mount {
mount_path = "/var/www/html"
name = "html"
}
}
volume {
name = "html"
config_map {
name = "html-${random_id.id.hex}"
}
}
}
}
Expand Down

0 comments on commit 6be5118

Please sign in to comment.