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

pass launchdarkly api environment variable to orchestrator #22428

Merged

Conversation

mfsiega-airbyte
Copy link
Contributor

What

Make it possible to configure a launchdarkly api key for featureflag clients instantiated from the orchestrator.

How

Pass launchdarkly api key environment variable through to the orchestrator.

@octavia-squidington-iii octavia-squidington-iii added area/platform issues related to the platform area/worker Related to worker labels Feb 6, 2023
@mfsiega-airbyte mfsiega-airbyte temporarily deployed to more-secrets February 6, 2023 19:03 — with GitHub Actions Inactive
@mfsiega-airbyte mfsiega-airbyte temporarily deployed to more-secrets February 6, 2023 19:03 — with GitHub Actions Inactive
@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2023

Airbyte Code Coverage

File Coverage [46.53%]
AirbyteIntegrationLauncher.java 100% 🍏
Configs.java 64.52% 🍏
EnvConfigs.java 45.1%
OrchestratorConstants.java 0%
ContainerOrchestratorConfigBeanFactory.java 0%
Total Project Coverage 24.53%

Comment on lines 105 to 107
environmentVariables.put(EnvConfigs.SOCAT_KUBE_CPU_LIMIT, configs.getSocatSidecarKubeCpuLimit());
environmentVariables.put(EnvConfigs.SOCAT_KUBE_CPU_REQUEST, configs.getSocatSidecarKubeCpuRequest());
environmentVariables.put(EnvConfigs.LAUNCHDARKLY_KEY, configs.getLaunchDarklyKey());
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: can we sort this?

Copy link
Contributor

@davinchia davinchia left a comment

Choose a reason for hiding this comment

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

This looks right!

@mfsiega-airbyte mfsiega-airbyte temporarily deployed to more-secrets February 7, 2023 11:03 — with GitHub Actions Inactive
@mfsiega-airbyte mfsiega-airbyte temporarily deployed to more-secrets February 7, 2023 11:20 — with GitHub Actions Inactive
@mfsiega-airbyte mfsiega-airbyte temporarily deployed to more-secrets February 7, 2023 11:20 — with GitHub Actions Inactive
@mfsiega-airbyte mfsiega-airbyte merged commit 8fee0c4 into master Feb 7, 2023
@mfsiega-airbyte mfsiega-airbyte deleted the msiega/pass-launchdarkly-key-to-orchestrator branch February 7, 2023 12:27
danidelvalle pushed a commit to danidelvalle/airbyte that referenced this pull request Feb 9, 2023
…#22428)

* pass launchdarkly api environment variable to orchestrator

* Put env vars in alphabetical order
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/platform issues related to the platform area/worker Related to worker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants