Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,6 @@ provider "castai" {
| service_cidr | Service CIDR for network configuration | `string` | - | yes |
| reserved_subnet_cidrs | List of reserved subnet CIDRs | `list(string)` | `[]` | no |
| api_url | CAST AI API URL | `string` | `"https://api.cast.ai"` | no |
| liqo_image_tag | Liqo image version tag | `string` | `"v1.0.1-5"` | no |
| skip_helm | Skip installing Helm charts (for GitOps workflows) | `bool` | `false` | no |

## Outputs
Expand Down Expand Up @@ -522,9 +521,9 @@ MIT

| Name | Version |
|------|---------|
| <a name="provider_castai"></a> [castai](#provider\_castai) | 8.4.0 |
| <a name="provider_castai"></a> [castai](#provider\_castai) | 8.6.0 |
| <a name="provider_helm"></a> [helm](#provider\_helm) | 3.1.1 |
| <a name="provider_kubernetes"></a> [kubernetes](#provider\_kubernetes) | 3.0.0 |
| <a name="provider_kubernetes"></a> [kubernetes](#provider\_kubernetes) | 3.0.1 |

## Modules

Expand Down Expand Up @@ -556,7 +555,6 @@ MIT
| <a name="input_cluster_region"></a> [cluster\_region](#input\_cluster\_region) | K8s cluster region | `string` | n/a | yes |
| <a name="input_cluster_zone"></a> [cluster\_zone](#input\_cluster\_zone) | K8s cluster zone | `string` | `""` | no |
| <a name="input_k8s_provider"></a> [k8s\_provider](#input\_k8s\_provider) | Kubernetes cloud provider (gke, eks, aks) | `string` | n/a | yes |
| <a name="input_liqo_image_tag"></a> [liqo\_image\_tag](#input\_liqo\_image\_tag) | Liqo image version tag | `string` | `"v1.0.1-5"` | no |
| <a name="input_organization_id"></a> [organization\_id](#input\_organization\_id) | CAST AI organization ID | `string` | n/a | yes |
| <a name="input_pod_cidr"></a> [pod\_cidr](#input\_pod\_cidr) | Pod CIDR for network configuration | `string` | n/a | yes |
| <a name="input_reserved_subnet_cidrs"></a> [reserved\_subnet\_cidrs](#input\_reserved\_subnet\_cidrs) | List of reserved subnet CIDR's (relevant for GKE) | `list(string)` | `[]` | no |
Expand Down
4 changes: 0 additions & 4 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ module "liqo_helm_values_gke" {
count = var.k8s_provider == "gke" ? 1 : 0
source = "./modules/gke"

image_tag = var.liqo_image_tag
cluster_name = var.cluster_name
cluster_region = var.cluster_region
cluster_zone = var.cluster_zone
Expand All @@ -25,7 +24,6 @@ module "liqo_helm_values_eks" {
count = var.k8s_provider == "eks" ? 1 : 0
source = "./modules/eks"

image_tag = var.liqo_image_tag
cluster_name = var.cluster_name
cluster_region = var.cluster_region
api_server_address = var.api_server_address
Expand All @@ -38,7 +36,6 @@ module "liqo_helm_values_aks" {
count = var.k8s_provider == "aks" ? 1 : 0
source = "./modules/aks"

image_tag = var.liqo_image_tag
cluster_name = var.cluster_name
cluster_region = var.cluster_region
cluster_zone = var.cluster_zone
Expand Down Expand Up @@ -144,7 +141,6 @@ resource "kubernetes_config_map_v1" "helm_values" {
}

data = {
"liqo.version" = var.liqo_image_tag
"omni-agent.repository" = local.castai_helm_repository
"omni-agent.chart" = local.omni_agent_chart
"values.yaml" = yamlencode(local.helm_yaml_values)
Expand Down
1 change: 0 additions & 1 deletion modules/aks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ locals {
liqo_yaml_values = {
liqo = {
enabled = true
tag = var.image_tag
apiServer = {
address = var.api_server_address
}
Expand Down
5 changes: 0 additions & 5 deletions modules/aks/variables.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
variable "image_tag" {
description = "Docker image tag"
type = string
}

variable "cluster_name" {
description = "GKE cluster name"
type = string
Expand Down
1 change: 0 additions & 1 deletion modules/eks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ locals {
liqo_yaml_values = {
liqo = {
enabled = true
tag = var.image_tag
apiServer = {
address = var.api_server_address
}
Expand Down
5 changes: 0 additions & 5 deletions modules/eks/variables.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
variable "image_tag" {
description = "Docker image tag"
type = string
}

variable "cluster_name" {
description = "EKS cluster name"
type = string
Expand Down
1 change: 0 additions & 1 deletion modules/gke/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ locals {
liqo_yaml_values = {
liqo = {
enabled = true
tag = var.image_tag
apiServer = {
address = var.api_server_address
}
Expand Down
5 changes: 0 additions & 5 deletions modules/gke/variables.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
variable "image_tag" {
description = "Docker image tag"
type = string
}

variable "cluster_name" {
description = "GKE cluster name"
type = string
Expand Down
6 changes: 0 additions & 6 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,6 @@ variable "cluster_zone" {
default = ""
}

variable "liqo_image_tag" {
description = "Liqo image version tag"
type = string
default = "v1.0.1-5"
}

variable "api_server_address" {
description = "K8s API server address"
type = string
Expand Down
Loading