There is a race condition that occurs only when deploying an acorn to the SaaS that defines a credential secret. The user will be prompted to enter credentials multiple times because the app keeps changing upstream. If we wait for a little bit (until all containers are marked as Defined), the race condition doesn't occur, and the user is only prompted once.
I also tested this with Acornfiles that only define this secret and a nested acorn, as well as an Acornfile that defines just the secret and nothing else, and it still works just fine.
Checklist
[x] The title of this PR would make a good line in Acorn's Release Note's Changelog
[x] The title of this PR ends with a link to the main issue being address in parentheses, like: This is a title (#1216). Here's an example
[x] All relevant issues are referenced in the PR description. NOTE: don't use GitHub keywords that auto-close issues
for #2410
There is a race condition that occurs only when deploying an acorn to the SaaS that defines a credential secret. The user will be prompted to enter credentials multiple times because the app keeps changing upstream. If we wait for a little bit (until all containers are marked as Defined), the race condition doesn't occur, and the user is only prompted once.
I also tested this with Acornfiles that only define this secret and a nested acorn, as well as an Acornfile that defines just the secret and nothing else, and it still works just fine.
Checklist
This is a title (#1216)
. Here's an example