Skip to content

Commit

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

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

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

helmCharts:
- name: opencost
releaseName: opencost
namespace: guardian
repo: https://opencost.github.io/opencost-helm-chart

0 comments on commit 583b4c9

Please sign in to comment.