@@ -11,9 +11,9 @@ locals {
1111 backend_service_name_origin = " http://corrino-cp"
1212 backend_service_name_ingress = " corrino-cp-ingress"
1313 # backend_image_uri_base = join(":", [local.ocir.base_uri, local.ocir.backend_image])
14- backend_image_uri = format (" ${ local . ocir . base_uri } :${ local . ocir . backend_image } -${ local . versions . corrino_version } " )
14+ backend_image_uri = format (" ${ local . ocir . base_uri } :${ local . ocir . backend_image } -${ var . stack_version } " )
1515 # frontend_image_uri = join(":", [local.ocir.base_uri, local.ocir.frontend_image])
16- blueprint_portal_image_uri = join ( " : " , [ local . ocir . base_uri , local . ocir . blueprint_portal_image ] )
16+ blueprint_portal_image_uri = format ( " ${ local . ocir . base_uri } : ${ local . ocir . blueprint_portal_image } - ${ var . stack_version } " )
1717 recipe_bucket_name = " corrino-recipes"
1818 recipe_validation_enabled = " True"
1919 recipe_validation_shape_availability_enabled = " True"
@@ -30,16 +30,16 @@ locals {
3030 object_filename = " corrino_registration.json"
3131 object_filepath = format (" %s/%s" , abspath (path. root ), random_uuid. registration_id . result )
3232 object_content = jsonencode ({
33- " Registration ID" = random_uuid.registration_id.result
34- " Deploy DateTime" = local.ts
35- " Administrator" = var.corrino_admin_email
36- " Workspace Name" = local.app_name
37- " Deploy ID" = local.deploy_id
38- " Corrino Version" = var.corrino_version
39- " FQDN" = local.fqdn.name
40- " Tenancy OCID" = local.oci.tenancy_id
41- " OKE Cluster OCID" = local.oke.cluster_ocid
42- " Region" = local.oci.region_name
33+ " Registration ID" = random_uuid.registration_id.result
34+ " Deploy DateTime" = local.ts
35+ " Administrator" = var.corrino_admin_email
36+ " Workspace Name" = local.app_name
37+ " Deploy ID" = local.deploy_id
38+ " Control Plane Version" = var.stack_version
39+ " FQDN" = local.fqdn.name
40+ " Tenancy OCID" = local.oci.tenancy_id
41+ " OKE Cluster OCID" = local.oke.cluster_ocid
42+ " Region" = local.oci.region_name
4343 })
4444 upload_path = " https://objectstorage.us-ashburn-1.oraclecloud.com/p/bqCfQwvzAZPCnxehCZs1Le5V2Pajn3j4JsFzb5CWHRNvtQ4Je-Lk_ApwCcurdpYT/n/iduyx1qnmway/b/corrino-terraform-registry/o/${ random_uuid . registration_id . result } /"
4545 }
@@ -49,10 +49,6 @@ locals {
4949 " corrino_uuid" = random_uuid.registration_id.result
5050 }
5151
52- versions = {
53- corrino_version = var.corrino_version
54- }
55-
5652 oke = {
5753 deploy_id = local.deploy_id
5854 cluster_ocid = var.existent_oke_cluster_id
@@ -139,7 +135,7 @@ locals {
139135 }
140136
141137 third_party_namespaces = {
142- prometheus_namespace = var.bring_your_own_prometheus ? var.existent_prometheus_namespace : data.kubernetes_namespace.cluster_tools_namespace.0 .id
138+ prometheus_namespace = var.bring_your_own_prometheus ? var.existent_prometheus_namespace : data.kubernetes_namespace.cluster_tools_namespace.0 .id
143139 }
144140
145141 env_universal = [
@@ -227,9 +223,9 @@ locals {
227223 config_map_key = " COMPARTMENT_ID"
228224 },
229225 {
230- name = " CORRINO_VERSION "
226+ name = " CONTROL_PLANE_VERSION "
231227 config_map_name = " corrino-configmap"
232- config_map_key = " CORRINO_VERSION "
228+ config_map_key = " CONTROL_PLANE_VERSION "
233229 },
234230 {
235231 name = " DJANGO_ALLOWED_HOSTS"
0 commit comments