Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

Commit bc54ff2

Browse files
authored
fix: fix bug in agents DA where kubernetes provider config had typo (#114)
1 parent 32ff862 commit bc54ff2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

solutions/agents/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ provider "ibm" {
88
}
99

1010
provider "kubernetes" {
11-
host = data.ibm_container_cluster_config.cluster_dconfig.host
11+
host = data.ibm_container_cluster_config.cluster_config.host
1212
token = data.ibm_container_cluster_config.cluster_config.token
1313
}
1414

tests/scripts/post-validation-destroy-slz-roks-and-scc-wp-instances.sh

100644100755
File mode changed.

tests/scripts/pre-validation-deploy-slz-roks-and-scc-wp-instances.sh

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ TF_VARS_FILE="terraform.tfvars"
1818
cd ${TERRAFORM_SOURCE_DIR}
1919
echo "Provisioning prerequisite SLZ ROKS CLUSTER and SCC workload protection instances .."
2020
terraform init || exit 1
21-
$VALIDATION_APIKEY is available in the catalog runtime
21+
# $VALIDATION_APIKEY is available in the catalog runtime
2222
{
2323
echo "ibmcloud_api_key=\"${VALIDATION_APIKEY}\""
2424
echo "region=\"${REGION}\""
@@ -30,7 +30,7 @@ TF_VARS_FILE="terraform.tfvars"
3030
cluster_name_var_name="cluster_name"
3131
cluster_name_value=$(terraform output -state=terraform.tfstate -raw workload_cluster_name)
3232
cluster_resource_group_id_var_name="cluster_resource_group_id"
33-
cluster_resource_group_id_value=$(terraform output -state=terraform.tfstate -raw workload_cluster_id)
33+
cluster_resource_group_id_value=$(terraform output -state=terraform.tfstate -raw cluster_resource_group_id)
3434
access_key_var_name="access_key"
3535
access_key_value=$(terraform output -state=terraform.tfstate -raw access_key)
3636

0 commit comments

Comments
 (0)