File tree Expand file tree Collapse file tree 3 files changed +18
-5
lines changed
Expand file tree Collapse file tree 3 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 352352
353353| Name | Description |
354354| ------| -------------|
355- | <a name =" output_cluster_id " ></a > [ cluster\_ id] ( #output\_ cluster\_ id ) | ID of the Omni-enabled cluster |
356- | <a name =" output_id " ></a > [ id] ( #output\_ id ) | ID of the castai\_ omni\_ cluster resource |
357- | <a name =" output_organization_id " ></a > [ organization\_ id] ( #output\_ organization\_ id ) | Organization ID of the Omni cluster |
355+ | <a name =" output_cluster_id " ></a > [ cluster\_ id] ( #output\_ cluster\_ id ) | Cluster ID of the Omni-enabled cluster |
356+ | <a name =" output_organization_id " ></a > [ organization\_ id] ( #output\_ organization\_ id ) | Organization ID of the Omni-enabled cluster |
358357<!-- END_TF_DOCS -->
Original file line number Diff line number Diff line change @@ -9,8 +9,17 @@ locals {
99 omni_agent_chart = " omni-agent"
1010 castai_helm_repository = " https://castai.github.io/helm-charts"
1111
12+ # Common Liqo configurations as YAML
13+ common_liqo_yaml_values = <<- EOT
14+ networking:
15+ fabric:
16+ config:
17+ healthProbeBindAddressPort: '7071'
18+ metricsAddressPort: '7072'
19+ EOT
20+
1221 # Select the appropriate set_values based on k8s_provider
13- set_values = var. k8s_provider == " gke" ? module. liqo_helm_values_gke [0 ]. set_values : module. liqo_helm_values_eks [0 ]. set_values
22+ provider_specific_liqo_values = var. k8s_provider == " gke" ? module. liqo_helm_values_gke [0 ]. set_values : module. liqo_helm_values_eks [0 ]. set_values
1423}
1524
1625# GKE-specific Liqo Helm chart configuration
@@ -53,7 +62,8 @@ resource "helm_release" "liqo" {
5362 cleanup_on_fail = true
5463 wait = true
5564
56- set = local. set_values
65+ values = [local . common_liqo_yaml_values ]
66+ set = local. provider_specific_liqo_values
5767}
5868
5969# Wait for Liqo network resources to be ready before proceeding
Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ locals {
3333 {
3434 name = " telemetry.enabled"
3535 value = " false"
36+ },
37+ {
38+ name = " virtualKubelet.extra.args"
39+ value = " {--certificate-type=aws}"
3640 }
3741 ]
3842
You can’t perform that action at this time.
0 commit comments