145 lines
2.6 KiB
HCL
145 lines
2.6 KiB
HCL
variable oke_nexus_enable {
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
# --- Network: VCN
|
|
variable oke_nexus_vcn_compartment {
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable oke_nexus_vcn_id {
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable oke_nexus_subnet_api_cidr_block {
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable oke_nexus_subnet_node_cidr_block {
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable oke_nexus_subnet_lb_cidr_block {
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable oke_nexus_subnet_pods_cidr_block {
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
# --- Network: Regras de acesso ---
|
|
variable oke_nexus_show_advanced {
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable oke_nexus_enable_psql_access {
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable oke_nexus_enable_redis_access {
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable oke_nexus_enable_autonomous_json_access {
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "oke_nexus_api_endpoint_public" {
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable oke_nexus_create_service_account {
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
# --- Identificação do Cluster ---
|
|
variable "oke_nexus_cluster_name" {
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable "oke_nexus_cluster_compartment_id" {
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
# --- Configuração de Hardware (Node Pool) ---
|
|
variable "oke_nexus_node_shape" {
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable "oke_nexus_node_count" {
|
|
type = number
|
|
default = 1
|
|
}
|
|
|
|
variable "oke_nexus_node_memory_gb" {
|
|
type = number
|
|
default = 1
|
|
}
|
|
|
|
variable "oke_nexus_node_ocpus" {
|
|
type = number
|
|
default = 1
|
|
}
|
|
|
|
# --- Add-ons ---
|
|
variable oke_nexus_enable_autoscaler {
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable oke_nexus_enable_metric_server {
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable oke_nexus_enable_cert_manager {
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
# --- Add-ons: Autoscaler Settings ---
|
|
variable oke_nexus_autoscaler_min_nodes {
|
|
type = number
|
|
default = 1
|
|
}
|
|
|
|
variable oke_nexus_autoscaler_max_nodes {
|
|
type = number
|
|
default = 1
|
|
}
|
|
|
|
variable oke_nexus_autoscaler_down_delay_after_add {
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable oke_nexus_autoscaler_down_unneeded_time {
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable oke_nexus_autoscaler_down_unready_time {
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable oke_nexus_autoscaler_skip_nodes_with_system_pods {
|
|
type = bool
|
|
default = false
|
|
}
|