Commit d91fa3e6 authored by Oleksandr Kosse (EPAM)'s avatar Oleksandr Kosse (EPAM)
Browse files

Sync indexer

parent c04fdbc5
Pipeline #49255 failed with stages
in 2 minutes and 46 seconds
......@@ -101,6 +101,7 @@ resource "google_service_account_iam_member" "config" {
member = "serviceAccount:${var.service_google_project}.svc.id.goog[${kubernetes_namespace.config.metadata[0].name}/${local.workload_identity_sa}]"
}
resource "kubernetes_job" "infra_config" {
depends_on = [
kubernetes_config_map.infra_config,
......
......@@ -13,3 +13,5 @@ resource "google_cloud_tasks_queue" "indexer-queue" {
max_attempts = var.cloud_task_retry_attempts
}
}
......@@ -59,7 +59,7 @@ resource "helm_release" "indexer_queue_config" {
}
set {
name = "data.osdu_entitlements_url"
value = "http://${local.ent_name}.default.svc.cluster.local/entitlements/v1/"
value = "http://${local.ent_name}.default.svc.cluster.local/api/entitlements/v2"
}
set {
name = "data.google_cloud_project"
......
locals {
# temp - crs/schema vars should be deleted here in locals after crs-converter/schema services are added via helm and tf
crs_name = "crs-converter"
schema_name = "schema"
# temp - crs/schema vars should be deleted here in locals after crs-converter/schema services are added via helm and tf
crs_converter_name = "crs-converter"
schema_name = "schema"
# end of temp
indexer_name = "indexer"
......@@ -67,7 +67,7 @@ resource "helm_release" "indexer-config" {
}
set {
name = "data.authorize_api"
value = "http://${local.ent_name}.default.svc.cluster.local/entitlements/v1/"
value = "http://${local.ent_name}.default.svc.cluster.local/api/entitlements/v2"
}
set {
name = "data.google_cloud_project"
......@@ -111,7 +111,7 @@ resource "helm_release" "indexer-config" {
}
set {
name = "data.crs_api"
value = "http://${local.crs_name}.default.svc.cluster.local/api/crs/v2/"
value = "http://${local.crs_converter_name}.default.svc.cluster.local/api/crs/v2/"
}
set {
name = "data.partition_api"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment