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

Change to use non-static IKubernetesConfiguration class #1052

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

APErebus
Copy link
Contributor

Background

The KubernetesConfig is a static file that reads configuration for the Kubernetes Agent. Being static makes this hard to test/mock.

Results

This PR introduces the IKubernetesConfiguration and the implementation EnvironmentKubernetesConfiguration.

It also changes how we detect we are running as a Kubernetes agent with the new IKubernetesAgentDetection and KubernetesAgentDetection

How to review this PR

Quality ✔️

Pre-requisites

  • I have read How we use GitHub Issues for help deciding when and where it's appropriate to make an issue.
  • I have considered informing or consulting the right people, according to the ownership map.
  • I have considered appropriate testing for my change.

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.

1 participant