Open marystory opened 9 months ago
I am facing a similar issue when trying to deploy an Azure Function App running on .Net8 and Runtime Version 4 to Kubernetes func kubernetes deploy command. Getting
Invalid property identifier character: {. Path 'functionsJson.RenderOAuth2Redirect', line 60, position 2.
I am experiencing issues with using
func kubernetes deploy
for dotnet-isolated on macerror is
when taking a close look it sounds like print-functions.sh does not create functions.json from functions.metadata properly and hence it breaks the subsequent deserialization logics
sed -nzE 's/^\[(.+\n {4}"name": "([^"]+)".+)\]$/"\2": \1/p' functions.metadata
Here is how this bash script convert the functions.metadata to functions.json:
functions.metadata
result of print-functions.sh, note
"functionsJson": {"testDurableFunc_HttpStart":
how to reproduce the issue
Noticed the code change was introduced to address this other issue https://github.com/Azure/azure-functions-core-tools/issues/2825
Any body else is running to this issue? any thoughts on this?