Skip to content

Conversation

@cognifloyd
Copy link
Member

@cognifloyd cognifloyd commented May 7, 2024

Adds a conditional to skip adding the preStop sleep (added in #382) for clusters that do not use kubelet. My cluster, for example, uses the Calico eBPF-based dataplane, so it does not rely on kubelet or iptables.

When I tried using "0" to skip this, it was somehow converted to an integer in the generated yaml file causing some failures during helm upgrade. So, this also adds quotes around the preStopSleep.

Also, the changelog was missing the PR that added the preStopSleep, so add it, and fix the order of another changelog entry to follow the merge order and link to the PR instead of the issue.

@cognifloyd cognifloyd added bug Something isn't working enhancement New feature or request K8s labels May 7, 2024
@cognifloyd cognifloyd added this to the v1.2.0 milestone May 7, 2024
@cognifloyd cognifloyd requested review from a team and guzzijones May 7, 2024 20:02
@cognifloyd cognifloyd self-assigned this May 7, 2024
@pull-request-size pull-request-size bot added the size/M PR that changes 30-99 lines. Good size to review. label May 7, 2024
@cognifloyd cognifloyd enabled auto-merge (squash) May 7, 2024 20:04
When I tried using "0", it was somehow converted to an integer in the yaml file
causing some failures during helm upgrade. So, this also adds quotes around the
preStopSleep.

Also, the changelog was missing the PR that added the preStopSleep, so add it,
and fix the order of another changelog entry to follow the merge order and
link to the PR instead of the issue.
@cognifloyd cognifloyd force-pushed the allow-disabling-preStopSleep branch from db0128c to 537032a Compare May 22, 2024 18:45
@cognifloyd cognifloyd merged commit f0f21e5 into master Dec 16, 2024
@cognifloyd cognifloyd deleted the allow-disabling-preStopSleep branch December 16, 2024 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request K8s size/M PR that changes 30-99 lines. Good size to review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants