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

jsonnet: fix rollout-operator ports #10273

Merged
merged 7 commits into from
Dec 18, 2024

Conversation

sentoz
Copy link
Contributor

@sentoz sentoz commented Dec 18, 2024

What this PR does

Implements correct port specification for rollout-operator in deployment, service, MutatingWebhookConfiguration and ValidatingWebhookConfiguration

Which issue(s) this PR fixes or relates to

Fixes #10272

Checklist

  • Tests updated.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].

Fix set ports in deployment, service and webhooks for rollout-operator
@sentoz sentoz requested a review from a team as a code owner December 18, 2024 15:09
Copy link
Contributor

@56quarters 56quarters left a comment

Choose a reason for hiding this comment

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

The issue #10272 didn't mention why you want the service and containers to use the same port for HTTPS. The current configuration works today and so we don't want to change this.

operations/mimir/rollout-operator.libsonnet Show resolved Hide resolved
operations/mimir/rollout-operator.libsonnet Outdated Show resolved Hide resolved
operations/mimir/rollout-operator.libsonnet Outdated Show resolved Hide resolved
@sentoz
Copy link
Contributor Author

sentoz commented Dec 18, 2024

The issue #10272 didn't mention why you want the service and containers to use the same port for HTTPS. The current configuration works today and so we don't want to change this.

Using the same service and container port is not essential. The main problem is that only port 8001 was declared in the container, and only port 8443/443 was declared in the service. It turns out that the call from webhooks is unreachable.

Changing the ports is just a reduction to a unified approach to creating services (returned to the original one).

Copy link
Contributor

@56quarters 56quarters left a comment

Choose a reason for hiding this comment

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

Thanks!

@56quarters 56quarters merged commit bb70cca into grafana:main Dec 18, 2024
29 checks passed
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.

Bug: jsonnet: rollout-operator: Wrong ports in container and service
2 participants