Skip to content

Commit

Permalink
chore(kafka): remove application set
Browse files Browse the repository at this point in the history
  • Loading branch information
incubator4 committed Sep 4, 2024
1 parent 1d89673 commit 987e7cf
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 388 deletions.
65 changes: 0 additions & 65 deletions application_set.tf
Original file line number Diff line number Diff line change
Expand Up @@ -217,71 +217,6 @@ resource "argocd_application_set" "cert_manager" {
}
}

resource "argocd_application_set" "kafka" {
metadata {
name = "kafka"
}
spec {
generator {
list {
elements = [
{
cluster = argocd_cluster.dev.name
url = argocd_cluster.dev.server
},
{
cluster = argocd_cluster.prod.name
url = argocd_cluster.prod.server
}
]
}
}
template {
metadata {
name = "kafka-{{cluster}}"
labels = {
cluster = "{{cluster}}"
}
}

spec {
project = argocd_project.guardian.metadata[0].name

source {
repo_url = var.repo_url
target_revision = "HEAD"
path = "kafka/{{cluster}}"
plugin {
name = "avp-kustomize"
env {
name = "APP_REPO"
value = "NaturalSelectionLabs/Hephaestus"
}
env {
name = "AVP_SECRET"
value = "guardian:avp-{{cluster}}"
}
}
}

ignore_difference {
group = "*"
kind = "Service"
jq_path_expressions = [
".spec.ports[].nodePort"
]
}

destination {
server = "{{url}}"
namespace = "guardian"
}

}
}
}
}

resource "argocd_application_set" "jaeger" {
metadata {
name = "jaeger"
Expand Down
47 changes: 0 additions & 47 deletions kafka/base/deploy.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions kafka/base/kustomization.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions kafka/base/service.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions kafka/dev/deploy.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions kafka/dev/kustomization.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions kafka/dev/route.yaml

This file was deleted.

52 changes: 0 additions & 52 deletions kafka/dev/values.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions kafka/prod/deploy.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions kafka/prod/kustomization.yaml

This file was deleted.

45 changes: 0 additions & 45 deletions kafka/prod/route.yaml

This file was deleted.

Loading

0 comments on commit 987e7cf

Please sign in to comment.