-
Notifications
You must be signed in to change notification settings - Fork 430
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
AZURE_CLIENT_SECRET with quotes causes cluster failure. #672
Comments
We won't be able to make "Azure should stop using " in its randomly generated passwords" happen so let's focus on ways we can document escaping special quotes in the CAPZ documentation about SPs or even better, automate escaping special chars. /help |
@CecileRobertMichon: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed 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. |
Azure/azure-cli#13625 (comment) it's fixed in new CLI versions |
It's reasonable to escape these, but IMO the CLI introducing it was the real problem |
Awesome, I think we can close this then. For anyone running into this, please update to the latest Azure CLI. /close |
@CecileRobertMichon: 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. |
/kind bug
Creating an Azure Service Principal where the randomly generated secret contains a
"
.This secret then goes into
AZURE_CLIENT_SECRET
and creates issues, because the output into/etc/kubernetes/azure.json
will not properly escape the"
, resulting in kubelet failures:What did you expect to happen:
There should be some sort of logic to escape the quotes prior to them going into
/etc/kubernetes/azure.json
or Azure should stop using"
in its randomly generated passwords.Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
kubectl version
):/etc/os-release
):The text was updated successfully, but these errors were encountered: