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 override listener pod spec (#3139) #3161

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

sergelogvinov
Copy link
Contributor

Hello, this small fix.

Thank you @nikola-jokic for you changes. I've checked it, and got small error.
So it will fix it.

@sergelogvinov sergelogvinov changed the title Fix ovveride listener pod spec (#3139) Fix override listener pod spec (#3139) Dec 17, 2023
@@ -311,6 +311,8 @@ func mergeListenerPodWithTemplate(pod *corev1.Pod, tmpl *corev1.PodTemplateSpec)
switch c.Name {
case "listener":
Copy link
Contributor

Choose a reason for hiding this comment

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

Great catch! Can you remove this case because I mistakenly wrote that the container name for the listener is the listener? We don't really need this case anymore

@nikola-jokic nikola-jokic self-assigned this Dec 18, 2023
@nikola-jokic nikola-jokic added the gha-runner-scale-set Related to the gha-runner-scale-set mode label Dec 18, 2023
Copy link
Contributor

@nikola-jokic nikola-jokic left a comment

Choose a reason for hiding this comment

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

Can you please do the following:

  1. Modify the case to replace listener with autoscalingListenerContainerName
  2. Fix this test also to replace "listener" with the appropriate variable

Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
@sergelogvinov
Copy link
Contributor Author

@nikola-jokic Done 👍

Copy link
Contributor

@nikola-jokic nikola-jokic left a comment

Choose a reason for hiding this comment

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

LGTM, Thank you!

@nikola-jokic nikola-jokic merged commit d7d4791 into actions:master Dec 18, 2023
14 of 15 checks passed
@sergelogvinov sergelogvinov deleted the listener-template branch December 18, 2023 15:54
This was referenced Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gha-runner-scale-set Related to the gha-runner-scale-set mode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants