Replies: 1 comment
-
|
Using builder.Configuration works: This works for run and publish with the expected environment layering. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not sure if this is supposed to work, but no luck from my side and it feels like a missed opportunity. I really like
appsettings.jsonandappsettings.Production.jsonfor my aspire parameters and intuitively I thought aspire publish will pick them up given that it specifically applies the Production environment, but it didn't.apphost.cs:
appsettings.json:
The resulting values.yaml:
It totally makes sense that secrets are skipped, but for non-secret parameters it would be very convenient to wire them to the manifests. This is non-obtrusive since you can always override the values with helm.
Beta Was this translation helpful? Give feedback.
All reactions