Hotfix port names, to avoid warning during helm install#1784
Merged
sunsingerus merged 2 commits into0.25.3from Aug 5, 2025
Merged
Hotfix port names, to avoid warning during helm install#1784sunsingerus merged 2 commits into0.25.3from
sunsingerus merged 2 commits into0.25.3from
Conversation
… spec.template.spec.containers[1].ports[0]: duplicate port name "metrics" with spec.template.spec.containers[0].ports[0], services and probes that select ports by name will use spec.template.spec.containers[0].ports[0], look details in https://altinitydbworkspace.slack.com/archives/C02K1MWEK2L/p1754345587373229
…217 warnings.go:70] spec.template.spec.containers[1].ports[0]: duplicate port name "metrics" with spec.template.spec.containers[0].ports[0], services and probes that select ports by name will use spec.template.spec.containers[0].ports[0], look details in https://altinitydbworkspace.slack.com/archives/C02K1MWEK2L/p1754345587373229
sunsingerus
approved these changes
Aug 5, 2025
weisdd
reviewed
Aug 8, 2025
Comment on lines
+21
to
+23
| name: ch-metrics | ||
| - port: 9999 | ||
| name: operator-metrics | ||
| name: op-metrics |
There was a problem hiding this comment.
Seems like port names no longer match the contents of a service monitor.
Collaborator
Author
Slach
added a commit
that referenced
this pull request
Aug 9, 2025
sunsingerus
pushed a commit
that referenced
this pull request
Aug 11, 2025
* fix helm install warning, W0805 01:09:19.296842 62217 warnings.go:70] spec.template.spec.containers[1].ports[0]: duplicate port name "metrics" with spec.template.spec.containers[0].ports[0], services and probes that select ports by name will use spec.template.spec.containers[0].ports[0], look details in https://altinitydbworkspace.slack.com/archives/C02K1MWEK2L/p1754345587373229 * fix CI/CD failures for helm install warning, W0805 01:09:19.296842 62217 warnings.go:70] spec.template.spec.containers[1].ports[0]: duplicate port name "metrics" with spec.template.spec.containers[0].ports[0], services and probes that select ports by name will use spec.template.spec.containers[0].ports[0], look details in https://altinitydbworkspace.slack.com/archives/C02K1MWEK2L/p1754345587373229 * fix port names, after user comments #1784 (comment)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
helm install warning
look details in https://altinitydbworkspace.slack.com/archives/C02K1MWEK2L/p1754345587373229
next-releasebranch, not intomasterbranch1. More info--
1 If you feel your PR does not affect any Go-code or any testable functionality (for example, PR contains docs only or supplementary materials), PR can be made into
masterbranch, but it has to be confirmed by project's maintainer.