-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[clusterctl] "clusterctl config provider" fails to show AWS, VSphere, and Azure info #2876
Comments
/close We expect variables to be present to generate configuration. @randomvariable mentioned during today's meeting that need for credentials might be removed. |
@vincepri: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@vincepri @fabriziopandini thinking about this more, FWIW the same is true with Azure:
After exporting the credentials:
|
Also this works which proves the command doesn't need credentials to work:
|
/reopen |
@sedefsavas: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign |
/milestone v0.3.x |
Two comments about this:
If we are going to make the command to work without variable substitution, we are losing the option to run o get a preview of the yaml that will be applied to a cluster, which can be useful. I see three options:
I'm for the middle-ground solution option. opinions? |
Isn't that what
If |
@CecileRobertMichon |
edit: I realized that by "a preview of the yaml that will be applied to a cluster" you meant the infra components, not the cluster resources. In that case I think solution 2) makes sense - the command shouldn't fail if variables are missing since it still provides valuable information and should just replace the variables if they are present. |
What steps did you take and what happened:
Running
clusterctl config provider --infrastructure aws
gives the following error:Error: failed to perform variable substitution: value for variables [AWS_B64ENCODED_CREDENTIALS] is not set. Please set the value using os environment variables or the clusterctl config file
What did you expect to happen:
I expected it to run without needing any variables similar to other providers.
/kind bug
/area clusterctl
The text was updated successfully, but these errors were encountered: