Skip to content

Commit

Permalink
chore: cleanup service
Browse files Browse the repository at this point in the history
  • Loading branch information
avatxus committed Dec 11, 2023
1 parent c21d7b9 commit f31cd3a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions bootstrap/service/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}

Expand All @@ -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"
}

Expand Down

0 comments on commit f31cd3a

Please sign in to comment.