K8s injector dev first scenario #4692
Open
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.
Motivation
Create the first injector-dev scenario.
As first example we use this injector dev scenario: https://github.com/DataDog/injector-dev/blob/main/tests/helm/single-service/scenario.yaml
In this PR is NOT included the CI execution.
These classes are generated by GitHub Copilot:
You can run manually this scenario:
Known problems
I’m using the field repository and tag field to point to the apm-injector image. e.g:
But I’m getting this failure:
Back-off pulling image "gcr.io/datadoghq/apm-inject:latest_snapshot"
It seems that I’m using the config in a wrong way or there is a bug in the injector-dev, because it’s ignoring the repository value
I would like to parametrize the “tracerVersions” to allow us to point the different lib-init image (latest_snapshot and latest). But it seems that it’s imposible.
This the current config in the injector-dev:
And that is that I would like to do:
But I think this is not supported, because I’m getting this error:
Changes
Workflow
codeowners
file quickly.🚀 Once your PR is reviewed, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist
[<language>]
, double-check that only<language>
is impacted by the changebuild-XXX-image
label is present