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

support managed SDK deployment #89

Merged
merged 8 commits into from
Oct 6, 2023
Merged

support managed SDK deployment #89

merged 8 commits into from
Oct 6, 2023

Conversation

cbodonnell
Copy link
Contributor

@cbodonnell cbodonnell commented Sep 8, 2023

What this PR does / why we need it:

This PR adds userAgent, replicatedID, and appID values that will enable support for "managed" SDK deployments. Another application can set these values when deploying the SDK so that it will report on behalf of that application using the same instance ids and user-agent.

This PR also exposes an airgap value to run the SDK in airgap mode by setting DISABLE_OUTBOUND_CONNECTIONS=true

Which issue(s) this PR fixes:

https://app.shortcut.com/replicated/story/88171/detect-and-configure-the-replicated-sdk-chart-subchart-if-it-s-part-of-the-vendor-s-application

Special notes for your reviewer:

There was a decent chunk of refactoring needed within the bootstrap logic to support setting these values

Steps to reproduce

Does this PR introduce a user-facing change?

NONE

Does this PR require documentation?

@cbodonnell cbodonnell changed the title add managedBy value to set user-agent support managed SDK deployment Sep 8, 2023
@cbodonnell cbodonnell changed the title support managed SDK deployment WIP: support managed SDK deployment Sep 8, 2023
@cbodonnell cbodonnell force-pushed the cbo/sc-88171/managed-by branch 6 times, most recently from b27734c to 7603a61 Compare September 8, 2023 22:06
@cbodonnell cbodonnell changed the title WIP: support managed SDK deployment support managed SDK deployment Sep 19, 2023
@cbodonnell cbodonnell force-pushed the cbo/sc-88171/managed-by branch from cd17b0a to 1dbb42b Compare September 19, 2023 17:20
chart/values.yaml.tmpl Outdated Show resolved Hide resolved
sgalsaleh
sgalsaleh previously approved these changes Sep 28, 2023
@cbodonnell cbodonnell force-pushed the cbo/sc-88171/managed-by branch from c23d5be to c52c394 Compare October 5, 2023 19:56
@cbodonnell cbodonnell marked this pull request as ready for review October 5, 2023 19:56
pkg/license/license.go Outdated Show resolved Hide resolved
pkg/license/license.go Outdated Show resolved Hide resolved
pkg/store/memory_store.go Outdated Show resolved Hide resolved
@cbodonnell cbodonnell merged commit e054c63 into main Oct 6, 2023
@cbodonnell cbodonnell deleted the cbo/sc-88171/managed-by branch October 6, 2023 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants