Skip to content

Kubernetes secret provider: Caching it to avoid performance issues #3594

@constanca-m

Description

@constanca-m

Issue

This issue was first mentioned in #3442.

When we use a kubernetes secret provider, we need to get its result every time:

secret, err := secretIntefrace.Get(ctx, secretName, metav1.GetOptions{})

This is not ideal, because we could be just fetching the result one time and using it for the future, instead of repeating the same steps every time.

We need to implement a way to reduce the amount of requests to the API server for this by caching the result.

To do

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions