You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The script generate_kubeconfig.py will not generate clusters.cluster.certificate-authority-data value on the kubeconfig file created. The issue is related with tempfile. On Windows, it seems file will not be readable before it was closed, even after calling flush method. Hence the ca_crt file will be empty when the first config command was called.
The text was updated successfully, but these errors were encountered:
Summary: The flush of the named temporary file doesn't seem to cause the secret file to be written out properly on Windows, as the associated bug explains. Instead, we can write to a temporary dir and close the file properly instead
Test Plan: Run on linux and Windows platforms
Reviewers: ysharma-contractor, bgandhi
Reviewed By: bgandhi
Subscribers: yugaware
Differential Revision: https://phabricator.dev.yugabyte.com/D18507
The script generate_kubeconfig.py will not generate clusters.cluster.certificate-authority-data value on the kubeconfig file created. The issue is related with tempfile. On Windows, it seems file will not be readable before it was closed, even after calling flush method. Hence the ca_crt file will be empty when the first config command was called.
The text was updated successfully, but these errors were encountered: