Repository navigation
Kafka release name check - #5770
Conversation
|
/assign @benjigoldberg |
|
Why not update to the latest |
|
Valid feedback, was only trying to ensure did not change the behaviour too much of what users may be familiar with (as the older _helpers had much less functionality) I'll update to latest |
|
@unguiculus Have implemented the change as you suggest, thank for picking that up. |
|
/ok-to-test |
|
By upgrading the helm The reason the test failed is because kubernetes sets a deprecated envvar for the service by default, that Kafka makes use of at startup see https://github.com/confluentinc/cp-docker-images/blob/master/debian/kafka/include/etc/confluent/docker/configure#L61 There are a few options to deal with this:
Options 1 is the simplest fix, but introduces a breaking change for anyone using this chart (it is still in the incubator track however) @benjigoldberg thoughts on the options? |
|
Actually, the solution presented here in an open issue on the confluent repo is quite simple confluentinc/cp-docker-images#388. Have added an additional commit for this |
|
/retest |
|
/retest |
|
@benjigoldberg anything further or LGTM? |
|
Thanks for the contribution @timm088! /lgtm |
|
@timm088 needs another version bump |
|
@benjigoldberg Bumped the chart version, thanks. |
|
/retest |
|
ok @timm088 it took me a bit to figure this out, but its referring to @faraazkhan's email address in this file: https://github.com/kubernetes/charts/blob/master/incubator/kafka/Chart.yaml#L18 I think we need to figure out what his email address is now? Maybe he changed jobs? I've never seen this error before, but its definitely not on you. @unguiculus are you familiar with this one? |
|
Thanks @benjigoldberg ! Happy to help out with maintaining if need be, use this chart a fair bit |
|
The email seems correct and is the primary email for this github account. I’ve never seen the error message before, but it seems that its expecting the github username rather than the person’s name? In which case mine would be ‘faraazkhan’ |
|
So @faraazkhan ... I would change the github username then in the Chart.yml file? |
|
Yes, I believe we need to do that for each of the maintainers listed in there. |
|
@faraazkhan @benjigoldberg have changed the maintainers to use github usernames and the pipeline is now working again (quite odd) |
|
/retest |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: benjigoldberg, timm088, unguiculus The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* art-ha-static-volumes: (60 commits) added support for static pv [stable/artifactory] adding support for edge node and replicator (helm#5649) [stable/grafana] Set the user and fs group for grafana (helm#5854) [stable/stolon] Fix issue with secret deletion during helm upgrade (helm#5903) cert-manager: fast-forward to upstream 36289cf0 (helm#5919) Split Jenkins readiness and liveness probe periods (helm#5704) Kafka release name check (helm#5770) Adding JFrog Distribution (helm#5631) Correct default zookeeper host to be compatible with zk charts (helm#5824) [stable/redis] add RBAC (helm#5971) [stable/wordpress] Set dependencies to latest version (helm#6074) [stable/rabbitmq] Release 1.1.6 (helm#6095) [stable/mariadb] Fix configurable parameters (helm#6092) [stable/keycloak] Add option to configure sidecars and misc improvements (helm#6090) [stable/kubewatch] - Use maintained bitnami image for kubewatch (helm#5871) [stable/ghost] Release 4.0.1 (helm#6085) update PROCESSES.md to clarify promotion process (helm#6084) [incubator/drone] Move drone from incubator to stable (helm#5780) fix for helm#6039 (helm#6042) [stable/sonatype-nexus] Update image to 3.12.1 (helm#6076) ...
* Add default function from chart template to check release name match * Increment chart version * Update to latest _helpers.tpl * Unset deprecated port created by kubernetes * Revert change to zookeeper.fullname for KAFKA_ZOOKEEPER_CONNECT var * Update readme to clarify limitation * Increment version number * Bump chart version, not appversion * Alter maintainers to have github username for CI Signed-off-by: voron <[email protected]>
What this PR does / why we need it:
When releasing these charts, service name will be prefixed with the release name, resulting in name-name. This also impacts DNS resolutions.
Special notes for your reviewer:
From my research, looks like the default chart template was changed (i.e., when running helm create locally), this function was just not added here