Skip to content

Commit

Permalink
feat: add umami
Browse files Browse the repository at this point in the history
  • Loading branch information
incubator4 committed Aug 12, 2024
1 parent 2cfff8d commit f041283
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
31 changes: 31 additions & 0 deletions application.tf
Original file line number Diff line number Diff line change
Expand Up @@ -275,3 +275,34 @@ resource "argocd_application" "consul" {
}
}
}

resource "argocd_application" "umami" {
metadata {
name = "umami"
namespace = "argo"
}
spec {
project = argocd_project.guardian.metadata[0].name
source {
repo_url = var.repo_url
target_revision = "HEAD"
path = "umami/prod"
plugin {
name = "avp-kustomize"
env {
name = "APP_REPO"
value = "NaturalSelectionLabs/Hephaestus"
}
env {
name = "AVP_SECRET"
value = "guardian:avp-prod"
}
}
}

destination {
name = "ops"
namespace = "guardian"
}
}
}
10 changes: 10 additions & 0 deletions umami/prod/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

helmCharts:
- name: umami
releaseName: umami
namespace: guardian
repo: https://christianhuth.github.io/helm-charts
valuesFile: values.yaml
version: 1.16.x

0 comments on commit f041283

Please sign in to comment.