Skip to content

Commit d3a1fea

Browse files
Merge branch 'main' into dvoros-add-codeowners
2 parents aaef8aa + 46914ee commit d3a1fea

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ Usage examples are located in [terraform provider repo](https://github.com/casta
452452

453453
| Name | Source | Version |
454454
|------|--------|---------|
455-
| <a name="module_castai_omni_cluster"></a> [castai\_omni\_cluster](#module\_castai\_omni\_cluster) | castai/omni-cluster/castai | ~> 1 |
455+
| <a name="module_castai_omni_cluster"></a> [castai\_omni\_cluster](#module\_castai\_omni\_cluster) | castai/omni-cluster/castai | ~> 2.0 |
456456

457457
## Resources
458458

main.tf

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,18 +1059,16 @@ data "azurerm_kubernetes_cluster" "aks" {
10591059
}
10601060

10611061
module "castai_omni_cluster" {
1062-
count = var.install_omni && !var.self_managed ? 1 : 0
1063-
# tflint-ignore: terraform_module_pinned_source
1062+
count = var.install_omni && !var.self_managed ? 1 : 0
10641063
source = "castai/omni-cluster/castai"
1065-
version = "~> 1"
1064+
version = "~> 2.0"
10661065

10671066
k8s_provider = "aks"
10681067
api_url = var.api_url
10691068
api_token = var.castai_api_token
10701069
organization_id = castai_aks_cluster.castai_cluster.organization_id
10711070
cluster_id = castai_aks_cluster.castai_cluster.id
10721071
cluster_name = var.aks_cluster_name
1073-
cluster_region = data.azurerm_kubernetes_cluster.aks[0].location
10741072

10751073
api_server_address = "https://${data.azurerm_kubernetes_cluster.aks[0].fqdn}"
10761074
pod_cidr = data.azurerm_kubernetes_cluster.aks[0].network_profile[0].pod_cidr

0 commit comments

Comments
 (0)