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

#2582 Another round of datadog env vars #2619

Merged
merged 1 commit into from
Feb 15, 2024
Merged

Conversation

nelsestu
Copy link
Contributor

@nelsestu nelsestu commented Feb 14, 2024

Applying updated environment variables in support of datadog python api client naming expectations. datadog_api_client/configuration.py

Includes a new script for populating the vro-datadog secret, with support for TARGET_ENV. The script expects to be executed from the repository's root directory

abd_vro> ./scripts/set-datadog-secret.sh TARGET_ENV DATADOG_API_KEY DATADOG_API_KEY_ID

What was the problem?

Environment variables did not match what the datadog python api client expects.

Associated tickets or Slack threads:

How does this fix it?1

We are now setting DD_SITE, DD_API_KEY and DD_APP_KEY as the python client expects.

How to test this PR

  • Run the deployment and validate that helm populates the datadog variables with the vro-datadog secret.

Footnotes

  1. Pull-Requests guidelines. If PR is significant, update Current Software State wiki page.

Applying updated environment variables in support of datadog python api client naming expectations.
@nelsestu nelsestu requested a review from a team as a code owner February 14, 2024 23:10
Copy link
Contributor

Test Results

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ❌ ±0 

Results for commit a4b358a. ± Comparison against base commit 06061d1.

@nelsestu nelsestu merged commit 6dd923c into develop Feb 15, 2024
1 check passed
@nelsestu nelsestu deleted the 2582-datadog-helm branch February 15, 2024 00:03
msnwatson pushed a commit that referenced this pull request Feb 15, 2024
Applying updated environment variables in support of datadog python api client naming expectations.

Co-authored-by: Erik Nelsestuen <[email protected]>
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