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

fix service account handler #25

Merged
merged 1 commit into from
Jun 16, 2022

Conversation

sharifelgamal
Copy link
Contributor

The service account handler was never creating the appropriate image pull secret since the hasSecret check would always fail. This removes the check, since actually checking secrets in the namespace is not currently feasible and writing a nonexistent image pull secret is a harmless error.

This PR also simplifies the writeError function.

Copy link
Member

@medyagh medyagh left a comment

Choose a reason for hiding this comment

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

possible to add integration test?

@sharifelgamal sharifelgamal merged commit 3f63118 into GoogleContainerTools:main Jun 16, 2022
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.

None yet

2 participants