-
Notifications
You must be signed in to change notification settings - Fork 841
feat(external-secrets): add new integration for External Secrets Operator #3056
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
Open
willianccs
wants to merge
22
commits into
DataDog:master
Choose a base branch
from
willianccs:feat/external-secrets
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
b3bdb2f
feat(external-secrets): add new integration for External Secrets Oper…
aea4b1e
fix(external-secrets): sync CI config, fix metadata.csv, pyproject.to…
7b87206
chore: trigger CI
eb1a319
fix(external-secrets): fix asset validation errors - source_type_id a…
55d3626
fix(external-secrets): fix docker volume path for integration tests
f719356
fix(external-secrets): bump minimum base package to 37.42.0 for Pytho…
7635adc
Merge branch 'master' into feat/external-secrets
steveny91 6e5e387
Fix monitor JSON layout and tags to match repo conventions
steveny91 742c34f
Merge branch 'master' into feat/external-secrets
willianccs 51e36cf
chore: sync CI config with ddev validate ci --sync
554d147
Update external_secrets/assets/monitors/external_secrets_not_ready.json
willianccs a867ab4
Update external_secrets/README.md
willianccs 2880c27
Update external_secrets/README.md
willianccs d1d07cb
Update external_secrets/README.md
willianccs bf48d3b
Update external_secrets/README.md
willianccs 6307839
Update external_secrets/README.md
willianccs 833e28a
Update external_secrets/manifest.json
willianccs ce9f7e9
Update external_secrets/datadog_checks/external_secrets/metrics.py
willianccs 18ecce4
fix(external-secrets): sync CI config, fix metadata.csv, pyproject.to…
f2bd6f3
chore: trigger CI
bb0fcf6
fix(external-secrets): fix syntax error in metrics.py - unterminated …
293851f
fix(external-secrets): bump minimum base package to 37.42.0 for Pytho…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # CHANGELOG - External Secrets | ||
|
|
||
| ## 0.1.0 / 2025-07-09 | ||
|
|
||
| ***Added***: | ||
|
|
||
| * Initial release of the External Secrets integration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| # Agent Check: External Secrets | ||
|
|
||
| ## Overview | ||
|
|
||
| The [External Secrets Operator][13] (ESO) synchronizes secrets from external providers, such as HashiCorp Vault or AWS Secrets Manager, into Kubernetes Secrets. This integration provides visibility into ESO's health and performance, including reconciliation rates, provider API calls, secret sync status, and controller runtime metrics. | ||
|
|
||
| ## Setup | ||
|
|
||
| ### Installation | ||
|
|
||
| If you are using Agent v6.8+ follow the instructions below to install the External Secrets check on your host. See the dedicated Agent guide for [installing community integrations][1] to install checks with the [Agent Manager][2] or in a [Docker environment][4]. | ||
|
|
||
| 1. [Download and launch the Datadog Agent][3]. | ||
| 2. Run the following command to install the Agent integration: | ||
|
|
||
| ```shell | ||
| datadog-agent integration install -t datadog-external-secrets==<INTEGRATION_VERSION> | ||
| ``` | ||
|
|
||
| 3. Configure your integration in the same way as core [integrations][5]. | ||
|
|
||
| ### Configuration | ||
|
|
||
| 1. Edit the `external_secrets.d/conf.yaml` file in the `conf.d/` folder at the root of your [Agent's configuration directory][6] to start collecting your External Secrets Operator metrics. See the [sample external_secrets.d/conf.yaml][7] for all available configuration options. | ||
|
|
||
| 2. [Restart the Agent][8]. | ||
|
|
||
| ### Validation | ||
|
|
||
| [Run the Agent's status subcommand][9] and look for `external_secrets` under the Checks section. | ||
|
|
||
| ## Data Collected | ||
|
|
||
| ### Metrics | ||
|
|
||
| See [metadata.csv][10] for a list of metrics provided by this integration. | ||
|
|
||
| ### Service Checks | ||
|
|
||
| See [service_checks.json][11] for a list of service checks provided by this integration. | ||
|
|
||
| ### Events | ||
|
|
||
| The External Secrets integration does not include any events. | ||
|
|
||
| ## Troubleshooting | ||
|
|
||
| Need help? Contact [Datadog support][12]. | ||
|
|
||
| [1]: https://docs.datadoghq.com/agent/guide/use-community-integrations/ | ||
| [2]: https://docs.datadoghq.com/agent/guide/agent-commands/?tab=agentv6v7#start-stop-and-restart-the-agent | ||
| [3]: https://app.datadoghq.com/account/settings/agent/latest | ||
| [4]: https://docs.datadoghq.com/agent/guide/use-community-integrations/?tab=docker | ||
| [5]: https://docs.datadoghq.com/getting_started/integrations/ | ||
| [6]: https://docs.datadoghq.com/agent/guide/agent-configuration-files/#agent-configuration-directory | ||
| [7]: https://github.com/DataDog/integrations-extras/blob/master/external_secrets/datadog_checks/external_secrets/data/conf.yaml.example | ||
| [8]: https://docs.datadoghq.com/agent/guide/agent-commands/#start-stop-and-restart-the-agent | ||
| [9]: https://docs.datadoghq.com/agent/guide/agent-commands/#agent-status-and-information | ||
| [10]: https://github.com/DataDog/integrations-extras/blob/master/external_secrets/metadata.csv | ||
| [11]: https://github.com/DataDog/integrations-extras/blob/master/external_secrets/assets/service_checks.json | ||
| [12]: https://docs.datadoghq.com/help/ | ||
|
willianccs marked this conversation as resolved.
|
||
| [13]: https://external-secrets.io/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| name: External Secrets | ||
| files: | ||
| - name: external_secrets.yaml | ||
| options: | ||
| - template: init_config | ||
| options: | ||
| - template: init_config/default | ||
| - template: instances | ||
| options: | ||
| - template: instances/openmetrics | ||
| overrides: | ||
| openmetrics_endpoint.value.example: http://localhost:8080/metrics | ||
| openmetrics_endpoint.description: | | ||
| Endpoint exposing the External Secrets Operator Prometheus metrics. |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.