🔧 Do not recreate service when tailhist port gets added

This commit is contained in:
Jérôme Petazzoni
2021-11-01 14:07:10 +01:00
parent 7fc2d5e57f
commit a3a8c824c8

View File

@@ -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