-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support preprod dual install #1834
Conversation
dc77ec7
to
2289b74
Compare
ee/debug/shipper/shipper.go
Outdated
// TODO this will need to respect the identifier when determining the secret file location for dual-launcher installations | ||
b, err := os.ReadFile(launcher.DefaultPath(launcher.SecretFile)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oooo.... This one we might need to fix. Can we shift it to using the secret in something configured instead of DefaultPath?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can make this fallback to reading from knapsack.EnrollSecretPath()
first and that will fix this when running in situ at least. fixing for CLI triggered flares looks tougher
… package and integrate with windows svc
4cd67c9
to
978c39a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is okay to try!
// by multiple installations. This is less of an issue when the flare is run in situ, but should be noted because | ||
// we may need to pay closer attention to the results. When run standalone without a config argument passed, it would be | ||
// possible for flare to default to reading the directories for the wrong installation | ||
func noteMultipleInstallations(z *zip.Writer) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feels weird not to push this through the normal checkup interface. But okay...
0002586
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is okay! Woo!
to support multiple installations: