Skip to content

Commit

Permalink
Fix Existing dashboards (#1723)
Browse files Browse the repository at this point in the history
Co-authored-by: Adam-D-Lewis <>
Co-authored-by: eskild <[email protected]>
  • Loading branch information
Adam-D-Lewis and iameskild authored Apr 14, 2023
1 parent c72937d commit f590a03
Show file tree
Hide file tree
Showing 16 changed files with 7,087 additions and 350 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ resource "helm_release" "keycloak" {
version = "15.0.2"

values = concat([
# https://github.com/codecentric/helm-charts/blob/keycloak-15.0.2/charts/keycloak/values.yaml
file("${path.module}/values.yaml"),
jsonencode({
nodeSelector = {
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,20 @@ resource "keycloak_default_groups" "default" {
keycloak_group.groups[g].id
]
}

# needed for keycloak monitoring to function
resource "keycloak_realm_events" "realm_events" {
realm_id = keycloak_realm.main.id

events_enabled = true

admin_events_enabled = true
admin_events_details_enabled = true

# When omitted or left empty, keycloak will enable all event types
enabled_event_types = []

events_listeners = [
"jboss-logging", "metrics-listener",
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ module "jupyterhub" {
services = concat([
"dask-gateway"
],
(var.monitoring-enabled ? ["monitoring"] : []),
(var.prefect-enabled ? ["prefect"] : []),
(var.kbatch-enabled ? ["kbatch"] : [])
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ resource "kubernetes_service" "server" {
metadata {
name = "${var.name}-conda-store-server"
namespace = var.namespace
labels = {
app = "conda-store"
component = "conda-store-server"
}
}

spec {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# https://github.com/jupyterhub/zero-to-jupyterhub-k8s/blob/main/jupyterhub/values.yaml
# https://github.com/jupyterhub/zero-to-jupyterhub-k8s/blob/1.2.0/jupyterhub/values.yaml
hub:
db:
type: sqlite-pvc
Expand Down
Loading

0 comments on commit f590a03

Please sign in to comment.