Skip to content
Snippets Groups Projects
Commit 46e54313 authored by Yauheni  Rykhter (EPAM)'s avatar Yauheni Rykhter (EPAM)
Browse files

Merge branch 'eds-fix' into 'master'

FIX: Removed duplications

See merge request !1713
parents 99a9bb56 b0c61329
No related branches found
No related tags found
1 merge request!1713FIX: Removed duplications
Pipeline #298405 passed
Pipeline: GC Infrastructure code

#298406

    /**
    * Copyright 2024 Google LLC
    * Copyright 2024 EPAM
    *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
    *
    * http://www.apache.org/licenses/LICENSE-2.0
    *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    * See the License for the specific language governing permissions and
    * limitations under the License.
    */
    resource "helm_release" "eds" {
    count = var.eds_enabled ? 1 : 0
    # FIXME: Update depends_on when all services are ready
    depends_on = [
    helm_release.gc_secrets,
    helm_release.k8s-resources,
    helm_release.osdu_gc
    ]
    name = "eds"
    repository = "oci://${var.repository}/osdu/platform/data-flow/ingestion/external-data-sources/eds-dms/gc-helm"
    chart = "gc-eds-dms-deploy"
    version = var.eds_svc_version
    namespace = var.services_namespace
    recreate_pods = true
    timeout = 1800
    upgrade_install = var.upgrade
    set {
    name = "global.domain"
    value = var.ingress_domain
    }
    set {
    name = "global.tier"
    value = var.tier
    }
    set {
    name = "global.autoscaling"
    value = var.autoscaling
    }
    set {
    name = "conf.replicas"
    value = local.service_replicas
    }
    set {
    name = "conf.logLevel"
    value = local.log_level
    }
    }
    ...@@ -106,8 +106,3 @@ variable "workflow_version" { ...@@ -106,8 +106,3 @@ variable "workflow_version" {
    type = string type = string
    default = "0.0.7-latest" default = "0.0.7-latest"
    } }
    variable "eds_svc_version" {
    description = "Version of the eds service"
    type = string
    default = "0.0.7-latest"
    }
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment