Skip to content

Commit 6872c96

Browse files
Fixed some bugs in helms. (#111)
1 parent 3849608 commit 6872c96

File tree

7 files changed

+16
-72
lines changed

7 files changed

+16
-72
lines changed

oci_ai_blueprints_terraform/app-api.tf

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -90,40 +90,7 @@ resource "kubernetes_deployment" "corrino_cp_deployment" {
9090
}
9191
}
9292
}
93-
94-
# dynamic "env" {
95-
# for_each = local.env_adb_access
96-
# content {
97-
# name = env.value.name
98-
# value = env.value.value
99-
# }
100-
# }
101-
102-
# dynamic "env" {
103-
# for_each = local.env_adb_access_secrets
104-
# content {
105-
# name = env.value.name
106-
# value_from {
107-
# secret_key_ref {
108-
# name = env.value.secret_name
109-
# key = env.value.secret_key
110-
# }
111-
# }
112-
# }
113-
# }
114-
115-
# volume_mount {
116-
# name = "adb-wallet-volume"
117-
# mount_path = "/app/wallet"
118-
# read_only = true
119-
# }
12093
}
121-
# volume {
122-
# name = "adb-wallet-volume"
123-
# secret {
124-
# secret_name = "oadb-wallet"
125-
# }
126-
# }
12794
}
12895
}
12996
}

oci_ai_blueprints_terraform/app-background.tf

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -67,40 +67,7 @@ resource "kubernetes_deployment" "corrino_cp_background_deployment" {
6767
}
6868
}
6969
}
70-
71-
# dynamic "env" {
72-
# for_each = local.env_adb_access
73-
# content {
74-
# name = env.value.name
75-
# value = env.value.value
76-
# }
77-
# }
78-
79-
# dynamic "env" {
80-
# for_each = local.env_adb_access_secrets
81-
# content {
82-
# name = env.value.name
83-
# value_from {
84-
# secret_key_ref {
85-
# name = env.value.secret_name
86-
# key = env.value.secret_key
87-
# }
88-
# }
89-
# }
90-
# }
91-
92-
# volume_mount {
93-
# name = "adb-wallet-volume"
94-
# mount_path = "/app/wallet"
95-
# read_only = true
96-
# }
9770
}
98-
# volume {
99-
# name = "adb-wallet-volume"
100-
# secret {
101-
# secret_name = "oadb-wallet"
102-
# }
103-
# }
10471
}
10572
}
10673
}

oci_ai_blueprints_terraform/app-migration.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ resource "kubernetes_job" "corrino_migration_job" {
101101
}
102102
wait_for_completion = true
103103
timeouts {
104-
create = "10m"
105-
update = "10m"
104+
create = "20m"
105+
update = "20m"
106106
}
107107

108108
depends_on = [

oci_ai_blueprints_terraform/files/kong/values.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Kong Gateway - Clean Setup for AI Model Routing
22
image:
3-
repository: kong
4-
tag: "3.9"
3+
repository: docker.io/kong
4+
tag: "3.9.1"
55

66
# DB-less mode
77
env:
@@ -57,6 +57,9 @@ status:
5757

5858
# Enable Kong Ingress Controller
5959
ingressController:
60+
image:
61+
repository: docker.io/kong/kubernetes-ingress-controller
62+
tag: "3.5"
6063
enabled: true
6164
env:
6265
kong_admin_token: kong-admin-token

oci_ai_blueprints_terraform/helm.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,15 @@ resource "helm_release" "amd_device_metrics_exporter" {
8585
name = "amd-device-metrics-exporter"
8686
chart = "device-metrics-exporter-charts"
8787
repository = "https://rocm.github.io/device-metrics-exporter"
88-
version = "v1.2.1"
88+
version = "v1.3.1"
8989
values = ["${file("./files/amd-device-metrics-exporter/values.yaml")}"]
9090
create_namespace = false
9191
recreate_pods = true
9292
force_update = true
9393
dependency_update = true
9494
wait = false
9595
max_history = 1
96-
depends_on = [null_resource.webhook_charts_ready]
96+
depends_on = [null_resource.webhook_charts_ready, module.oke-quickstart.helm_release_prometheus]
9797
}
9898

9999
resource "helm_release" "keda" {

oci_ai_blueprints_terraform/modules/corrino/modules/cluster-tools/outputs.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ output "helm_release_grafana" {
1313
value = helm_release.grafana
1414
}
1515

16+
output "helm_release_prometheus" {
17+
value = helm_release.prometheus
18+
}

oci_ai_blueprints_terraform/modules/corrino/outputs.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,8 @@ output "helm_release_ingress_nginx" {
5858

5959
output "helm_release_grafana" {
6060
value = module.cluster-tools.helm_release_grafana
61+
}
62+
63+
output "helm_release_prometheus" {
64+
value = module.cluster-tools.helm_release_prometheus
6165
}

0 commit comments

Comments
 (0)