See https://github.com/dotnet/aspire/pull/9224. We need to do a similar fix to the Kubernetes resource.