mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-28 01:01:12 +00:00
🔧 Do not recreate service when tailhist port gets added
This commit is contained in:
@@ -73,6 +73,9 @@ resource "kubernetes_deployment" "shpod_${index}" {
|
||||
|
||||
resource "kubernetes_service" "shpod_${index}" {
|
||||
provider = kubernetes.cluster_${index}
|
||||
lifecycle {
|
||||
ignore_changes = all
|
||||
}
|
||||
metadata {
|
||||
name = "shpod"
|
||||
namespace = kubernetes_namespace.shpod_${index}.metadata.0.name
|
||||
|
||||
Reference in New Issue
Block a user