Skip to content

Conversation

@mnonnenmacher
Copy link
Contributor

WIP

@mnonnenmacher mnonnenmacher force-pushed the resolvable-secrets branch 4 times, most recently from a9ba072 to b9f4056 Compare November 4, 2025 15:59
Add a class that describes a secret and the source that it can be
resolved from. It will taken into use for ORT plugin configurations in
the following commits.

Signed-off-by: Martin Nonnenmacher <[email protected]>
Add a variant of `PluginConfig` that uses `ResolvableSecret` to record
the source from which a secret must be resolved. It will be taken into
use for ORT plugin configurations in the following commits.

Signed-off-by: Martin Nonnenmacher <[email protected]>
Use the new `ResolvablePluginConfig` class instead of `PluginConfig` in
job configurations to prepare for supporting the resolution of plugin
secrets also from user configured secrets.

At this point, all plugin secrets are still resolved from admin secrets.

Signed-off-by: Martin Nonnenmacher <[email protected]>
The service will be used to resolve secrets from the hierarchy.

Signed-off-by: Martin Nonnenmacher <[email protected]>
The class mainly tests the worker context itself, not the factory.

Signed-off-by: Martin Nonnenmacher <[email protected]>
The function will be used to avoid the need for accessing the secret
storage directly.

Signed-off-by: Martin Nonnenmacher <[email protected]>
Create the `ContextFactoryTestHelper` in a central place instead of in
every single test.

Signed-off-by: Martin Nonnenmacher <[email protected]>
Make the constructor arguments of `ContextFactoryTesteHelper` class
properties because they were always initialized with the default values
anyway.

Signed-off-by: Martin Nonnenmacher <[email protected]>
Use the `SecretService` to resolve secret values instead of creating a
separate instance of `SecretStorage` in `WorkerContextImpl`.

Signed-off-by: Martin Nonnenmacher <[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