Skip to content

Commit

Permalink
chore: split web app
Browse files Browse the repository at this point in the history
  • Loading branch information
incubator4 committed Jul 31, 2024
1 parent f14cabb commit 4fdb511
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 270 deletions.
62 changes: 0 additions & 62 deletions application.tf
Original file line number Diff line number Diff line change
Expand Up @@ -149,68 +149,6 @@ resource "argocd_application" "keycloak" {
}
}

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

destination {
server = argocd_cluster.prod.server
namespace = "default"
}
}
}

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

destination {
server = argocd_cluster.prod.server
namespace = "default"
}
}
}

resource "argocd_application" "metabase" {
metadata {
name = "metabase"
Expand Down
2 changes: 1 addition & 1 deletion application_set.tf
Original file line number Diff line number Diff line change
Expand Up @@ -709,4 +709,4 @@ resource "argocd_application_set" "promtail" {
}

}
}
}
25 changes: 0 additions & 25 deletions discourse/prod/hpa.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions discourse/prod/kustomization.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions discourse/prod/route.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions discourse/prod/secret.yaml

This file was deleted.

61 changes: 0 additions & 61 deletions discourse/prod/values.yaml

This file was deleted.

17 changes: 17 additions & 0 deletions promtail/follow/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

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

# - name: loki
# releaseName: loki
# namespace: guardian
# repo: https://grafana.github.io/helm-charts
# version: x.x.x
# valuesFile: values.yaml
29 changes: 0 additions & 29 deletions shlink/prod/deploy.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions shlink/prod/kustomization.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions shlink/prod/route.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions shlink/prod/secrets.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions shlink/prod/svc.yaml

This file was deleted.

0 comments on commit 4fdb511

Please sign in to comment.