Skip to content
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

Windows services and move to flag files #415

Merged
merged 21 commits into from
Feb 25, 2019

Conversation

directionless
Copy link
Contributor

@directionless directionless commented Feb 6, 2019

Now that we support flagfiles for configuration (#426) let's start using them.

  • moves the launcher options into a flag file
  • adds things to wix to correctly create services
  • Fixes some bugs around wix template variables

@directionless directionless changed the title Towards windows services Windows services and move to flag files Feb 22, 2019
@directionless directionless requested a review from blaedj February 25, 2019 13:44
Copy link
Contributor

@blaedj blaedj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall lgtm, just a few comments/questions you can take or leave

pkg/packagekit/wix/service.go Show resolved Hide resolved
pkg/packagekit/wix/wix.go Outdated Show resolved Hide resolved
}

if p.InsecureGrpc {
launcherFlags = append(launcherFlags, "--insecure_grpc")
launcherBoolFlags = append(launcherBoolFlags, "insecure_grpc")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we going to want to support the -insecure_jsonrpc flag?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Erm. Yes, but I feel like we might want to merge -insecure_grpc and -insecure_jsonrpc into insecure_transport. Thoughts?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea that makes sense I think

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Though, I'd probably rather re-plumb that in a separate PR

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea it can go in another PR

pkg/packaging/packaging.go Show resolved Hide resolved
@directionless directionless merged commit cc48003 into kolide:master Feb 25, 2019
@directionless directionless deleted the msimsimsi branch February 25, 2019 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants