Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support: cluster_config for satellite clusters #2622

Merged
merged 2 commits into from
May 13, 2021

Conversation

kavya498
Copy link
Collaborator

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates OR Closes #0000

Output from acceptance testing:

=== RUN   TestAccIBMContainer_ClusterConfigDataSourceBasic
2021/05/13 11:33:09 Configuring SoftLayer Session with API key
2021/05/13 11:33:09 Configuring IBM Cloud Session with API key
2021/05/13 11:33:09 [INFO] Configured Region: us-south
2021/05/13 11:33:15 Configuring SoftLayer Session with API key
2021/05/13 11:33:15 Configuring IBM Cloud Session with API key
2021/05/13 11:33:15 [INFO] Configured Region: us-south
2021/05/13 11:33:18 Configuring SoftLayer Session with API key
2021/05/13 11:33:18 Configuring IBM Cloud Session with API key
2021/05/13 11:33:18 [INFO] Configured Region: us-south
2021/05/13 11:33:20 Configuring SoftLayer Session with API key
2021/05/13 11:33:20 Configuring IBM Cloud Session with API key
2021/05/13 11:33:20 [INFO] Configured Region: us-south
2021/05/13 11:33:23 Configuring SoftLayer Session with API key
2021/05/13 11:33:23 Configuring IBM Cloud Session with API key
2021/05/13 11:33:23 [INFO] Configured Region: us-south
2021/05/13 11:33:30 Configuring SoftLayer Session with API key
2021/05/13 11:33:30 Configuring IBM Cloud Session with API key
2021/05/13 11:33:30 [INFO] Configured Region: us-south
2021/05/13 11:33:32 Configuring SoftLayer Session with API key
2021/05/13 11:33:32 Configuring IBM Cloud Session with API key
2021/05/13 11:33:32 [INFO] Configured Region: us-south
--- PASS: TestAccIBMContainer_ClusterConfigDataSourceBasic (26.62s)
PASS
ok  	github.com/IBM-Cloud/terraform-provider-ibm/ibm	29.392s

terraform show

data "ibm_container_cluster_config" "cluster_foo" {
    admin             = false
    admin_certificate = (sensitive value)
    admin_key         = (sensitive value)
    ca_certificate    = (sensitive value)
    cluster_name_id   = "c27p2ahw01r2v51o295g"
    config_dir        = "/Users/kavya"
    config_file_path  = "/Users/kavya/ff5c2bb709388ac680f7c30b3ad5a595590caaad279f33c5997a821f32b70e0a_c27p2ahw01r2v51o295g_k8sconfig/config.yml"
    download          = true
    host              = "https://c-03.private.us-east.link.satellite.cloud.ibm.com:33684"
    id                = "c27p2ahw01r2v51o295g"
    network           = false
}

@kavya498 kavya498 changed the title Client Support: cluster_config for satellite clusters May 13, 2021
@hkantare hkantare merged commit 3beae32 into IBM-Cloud:master May 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants