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

add git version and cloud provider information in headers #90

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

amirmalka
Copy link
Contributor

Overview

Signed-off-by: Amir Malka <amirm@armosec.io>
@amirmalka amirmalka requested a review from matthyx October 9, 2024 09:40
Copy link

github-actions bot commented Oct 9, 2024

Summary:

  • License scan: failure
  • Credentials scan: failure
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

)

func GetApiServerGitVersionAndCloudProvider(ctx context.Context) (string, string) {
k8sAPiObj := k8sinterface.NewKubernetesApi()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would eventually inject the k8sClient here in case we want to mock it - not blocking

@amirmalka amirmalka merged commit 291662c into main Oct 9, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants