# Extension Registry OCI Configuration Fragment

[[elements]]
border_top = true
border_bottom = false
name = "registry_oci_header"
title = "📦 OCI Registry Configuration"
type = "section_header"

[[elements]]
default = false
help = "Enable OCI registry as extension source"
name = "registry_oci_enabled"
nickel_path = ["extension_registry", "oci", "enabled"]
prompt = "Enable OCI Registry"
type = "confirm"

[[elements]]
condition = "registry_oci_enabled == true"
default = "registry.local:5000"
help = "OCI registry URL"
name = "registry_oci_registry"
nickel_path = ["extension_registry", "oci", "registry"]
prompt = "Registry URL"
required = true
type = "text"

[[elements]]
condition = "registry_oci_enabled == true"
default = "provisioning"
help = "OCI registry namespace"
name = "registry_oci_namespace"
nickel_path = ["extension_registry", "oci", "namespace"]
prompt = "Namespace"
required = true
type = "text"

[[elements]]
condition = "registry_oci_enabled == true"
default = 60000
help = "Request timeout in milliseconds"
max = 300000
min = 5000
name = "registry_oci_timeout"
nickel_path = ["extension_registry", "oci", "timeout"]
prompt = "Timeout (ms)"
type = "number"

[[elements]]
condition = "registry_oci_enabled == true"
default = false
help = "Verify SSL certificates"
name = "registry_oci_verify_ssl"
nickel_path = ["extension_registry", "oci", "verify_ssl"]
prompt = "Verify SSL"
type = "confirm"
