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

Configurable webhook target port #896

Merged
merged 2 commits into from
Nov 28, 2022

Conversation

balassai
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
API breaks? no
Deprecations? no
Related tickets #895
License Apache 2.0

What's in this PR?

Set the configured webhook port from the values.yaml explicitly on the operator's service.

Why?

When the user wants to use custom webhook port and change the KafkaCluster resource the ValidatingWebhookConfiguration call fails.

Checklist

  • Implementation tested

@balassai balassai requested a review from a team as a code owner November 22, 2022 13:11
@pregnor pregnor requested a review from a team November 22, 2022 13:20
bartam1
bartam1 previously approved these changes Nov 22, 2022
Copy link
Member

@pregnor pregnor left a comment

Choose a reason for hiding this comment

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

Please wait until it is being tested internally

Copy link
Member

@hi-im-aren hi-im-aren left a comment

Choose a reason for hiding this comment

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

Hey, thanks for the contribution!

Since we are here, could you also add targetPort: {{ (.Values.metricEndpoint).port | default 8080 }} to the metrics endpoint below? It will have the same issue. 🙂

charts/kafka-operator/templates/operator-service.yaml Outdated Show resolved Hide resolved
@CLAassistant
Copy link

CLAassistant commented Nov 22, 2022

CLA assistant check
All committers have signed the CLA.

@balassai balassai force-pushed the webhook-helm branch 2 times, most recently from 2bf5fda to b00dddf Compare November 22, 2022 13:55
Copy link
Member

@pregnor pregnor left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution.

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.

6 participants