Skip to content

Commit

Permalink
Delete backstage
Browse files Browse the repository at this point in the history
  • Loading branch information
outductor committed Sep 16, 2024
1 parent f8618e4 commit 2603764
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 132 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,6 @@ spec:
external-hostname: argo-wf-webhook.onp-k8s.admin.seichi.click
internal-authority: "argo-wf-proxy.seichi-minecraft:80"

# k8s 上の Backstage
- name: backstage
external-hostname: backstage.onp-k8s.admin.seichi.click
internal-authority: "backstage.backstage:7007"

template:
metadata:
name: "cloudflared-tunnel-http-exit--{{name}}"
Expand Down

This file was deleted.

21 changes: 0 additions & 21 deletions seichi-onp-k8s/manifests/seichi-kubernetes/apps/root/projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,24 +178,3 @@ spec:
clusterResourceWhitelist:
- group: "*"
kind: "*"
---
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: backstage
namespace: argocd
spec:
description: The project of production minecraft system for the seichi-network
sourceRepos:
- "*"
destinations:
- namespace: backstage
server: https://kubernetes.default.svc
# Application 及び ApplicationSet リソースは
# argocd namespace に置かないとArgoCDに認識されないため、
# argocd namespace へのデプロイも許可する。
- namespace: argocd
server: https://kubernetes.default.svc
clusterResourceWhitelist:
- group: "*"
kind: "*"
35 changes: 0 additions & 35 deletions terraform/onp_cluster_minecraft_secrets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -131,41 +131,6 @@ resource "kubernetes_secret" "onp_minecraft_debug_mariadb_root_password" {
type = "Opaque"
}

resource "random_password" "backstage_admin_password" {
length = 16
special = true
override_special = "!#$%&*()-_=+[]{}<>:?"
}

resource "random_password" "backstage_user_password" {
length = 16
special = true
override_special = "!#$%&*()-_=+[]{}<>:?"
}

resource "random_password" "backstage_replication_password" {
length = 16
special = true
override_special = "!#$%&*()-_=+[]{}<>:?"
}

resource "kubernetes_secret" "backstage_postgres_password" {
depends_on = [kubernetes_namespace.backstage]

metadata {
name = "postgres-password"
namespace = "backstage"
}

data = {
"admin-password" = random_password.backstage_admin_password.result
"user-password" = random_password.backstage_user_password.result
"replication-password" = random_password.backstage_replication_password.result
}

type = "Opaque"
}

resource "helm_release" "onp_minecraft_debug_minio_secrets" {
depends_on = [kubernetes_namespace.onp_seichi_debug_minecraft]

Expand Down
6 changes: 0 additions & 6 deletions terraform/onp_cluster_namespaces.tf
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,3 @@ resource "kubernetes_namespace" "minio" {
name = "minio"
}
}

resource "kubernetes_namespace" "backstage" {
metadata {
name = "backstage"
}
}

0 comments on commit 2603764

Please sign in to comment.