Skip to content

Commit

Permalink
Merge pull request #1819 from GiganticMinecraft/remove_pyroscope
Browse files Browse the repository at this point in the history
remove pyroscope
  • Loading branch information
outductor authored Feb 14, 2024
2 parents 154e695 + 57dbcea commit 6903f88
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 83 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ spec:
external-hostname: hubble-ui.onp-k8s.admin.seichi.click
internal-authority: "hubble-ui.kube-system:80"

# pyroscope
- name: pyroscope
external-hostname: pyroscope.onp-k8s.admin.seichi.click
internal-authority: "pyroscope.monitoring:4040"

# Sentry
- name: sentry
external-hostname: sentry.onp.admin.seichi.click
Expand Down

This file was deleted.

This file was deleted.

26 changes: 0 additions & 26 deletions terraform/cloudflare_network_admin_services.tf
Original file line number Diff line number Diff line change
Expand Up @@ -197,32 +197,6 @@ resource "cloudflare_access_policy" "onp_hubble_ui" {
}
}

resource "cloudflare_access_application" "onp_admin_pyroscope" {
zone_id = local.cloudflare_zone_id
name = "Pyroscope"
domain = "pyroscope.onp-k8s.admin.${local.root_domain}"
type = "self_hosted"
session_duration = "24h"

http_only_cookie_attribute = true
}

resource "cloudflare_access_policy" "onp_admin_pyroscope" {
application_id = cloudflare_access_application.onp_admin_pyroscope.id
zone_id = local.cloudflare_zone_id
name = "Require to be in a GitHub team to access"
precedence = "1"
decision = "allow"

include {
github {
name = local.github_org_name
teams = [github_team.onp_hubble_ui.slug] // hubble uiと同じ権限で良い
identity_provider_id = cloudflare_access_identity_provider.github_oauth.id
}
}
}

resource "cloudflare_access_application" "onp_phpmyadmin" {
zone_id = local.cloudflare_zone_id
name = "phpMyAdmin"
Expand Down

0 comments on commit 6903f88

Please sign in to comment.