From f31cd3a7f3b473f6c41e69001778ec0ae093bc04 Mon Sep 17 00:00:00 2001 From: Alejandro Avagnina Date: Mon, 11 Dec 2023 00:09:11 -0300 Subject: [PATCH] chore: cleanup service --- bootstrap/service/main.tf | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/bootstrap/service/main.tf b/bootstrap/service/main.tf index b87b7b0..e103793 100644 --- a/bootstrap/service/main.tf +++ b/bootstrap/service/main.tf @@ -2,16 +2,11 @@ variable "namespace" {} variable "network" { type = string } -variable "salt" {} variable "prune" { type = bool } -variable "instance_name" { - type = string -} locals { - instance = "${var.instance_name}-${var.salt}" service_name = var.prune ? "kupo-${var.network}-pruned" : "kupo-${var.network}" } @@ -29,7 +24,7 @@ resource "kubernetes_service_v1" "well_known_service" { } selector = { - "cardano.demeter.run/network" = var.network + "cardano.demeter.run/network" = var.network "cardano.demeter.run/kupo-pruned" = var.prune ? "true" : "false" }