-
Notifications
You must be signed in to change notification settings - Fork 656
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Writes basic NATs creds file if UAA is not up
If for some reason NATs sync cannot authenticate to use the BOSH API, then the user authentication file for NATs will be empty. This causes problems when UAA is slow to start in some installations. Our approach to fix this issue was to make NATS Sync write the credentials for the Director and the Monitor even if the BOSH API is not available to be consumed. We also made sure that NATs Sync is not going to overwrite any credentials if they were already written. [#183572544] Investigate possible NATS 2.0 race condition Signed-off-by: Daniel Felipe Ochoa <[email protected]>
- Loading branch information
1 parent
2fdeda6
commit 80b9376
Showing
2 changed files
with
91 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters