-
-
Notifications
You must be signed in to change notification settings - Fork 322
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
assets/manifests/coredns\cluster-role-binding.yaml fails to generate on Windows #571
Comments
Looks like you've already identified the suspect template |
The problem also occurs when I run terraform-render-bootstrap directly, so I attached it as an example. |
Great, thanks for reporting. I'd say track that issue to await a fix in the
Yes, as that's where
I don't make use of Windows systems, so perhaps you can check if that demonstrates the problem. |
I've updated example with minimal one. Unfortunately the issue is not getting attentions by maintainers. At the same time, I've found a workaround for the issue while I was trying to customize
I've tried again with
|
But if we switch to this method, what value I tried putting generated yaml files on S3, because current approach that uses
|
@dghubble This solved the problem of templating on windows. I've faced another problem though: I couldn't connect to AWS EC2 with pageant. Terraform won't use ssh keys stored in pageant. I modified typhoon, and provided the content of ssh private key to make provisioner work without agent. |
For now, the recommendation is still to await a fix from the upstream As for the other questions, please keep focused on the issue. I'll briefly comment on two items to close them:
|
I created another issue to talk about how we should generate manifests/certs: #584 584 Regrading SSH issue, I understand that agent is better for security, but I just couldn't make it work on windows. Only environment that I could make it work is WSL ubuntu, which has ssh-agent. To make ssh-agent available for terraform running on Docker for windows, I guess some special configuration is required. |
Closed by #587 |
Bug
UPDATE: It seems that the problem only occurs on windows.
assets/manifests/coredns\cluster-role-binding.yaml
is missing.Only last separator is backslash, so It looks like a bug of the template provider.
Environment
Terraform is running on windows machine.
Problem
manifest directory is created, but its contents is empty.
Desired Behavior
Cluster starts successfully
Steps to Reproduce
The text was updated successfully, but these errors were encountered: