mirror of
https://github.com/vcscsvcscs/OCI-Kubernetes-cluster-with-traefik.git
synced 2025-08-12 13:59:09 +02:00
41 lines
1.0 KiB
HCL
41 lines
1.0 KiB
HCL
variable "compartment_ocid" {}
|
|
variable "environment" {
|
|
default = "prod"
|
|
}
|
|
variable "cluster_ocid" {
|
|
type = string
|
|
}
|
|
|
|
variable "namespace" {
|
|
description = "Namespace to install traefik chart into"
|
|
type = string
|
|
default = "traefik"
|
|
}
|
|
|
|
variable "traefik_chart_version" {
|
|
description = "Version of Traefik chart to install"
|
|
type = string
|
|
default = "21.1.0" # See https://artifacthub.io/packages/helm/traefik/traefik for latest version(s)
|
|
}
|
|
|
|
# Helm chart deployment can sometimes take longer than the default 5 minutes
|
|
variable "timeout_seconds" {
|
|
type = number
|
|
description = "Helm chart deployment can sometimes take longer than the default 5 minutes. Set a custom timeout here."
|
|
default = 800 # 10 minutes
|
|
}
|
|
|
|
variable "replica_count" {
|
|
description = "Number of replica pods to create"
|
|
type = number
|
|
default = 1
|
|
}
|
|
|
|
variable "values_file" {
|
|
description = "The name of the traefik helmchart values file to use"
|
|
type = string
|
|
}
|
|
|
|
variable "traefik_template_values" {
|
|
default = {}
|
|
} |