Skip to content

fix: helm intervalSeconds integer value render bug#44211

Merged
julianwiedmann merged 1 commit intocilium:mainfrom
jayl1e:fix_helm
Feb 6, 2026
Merged

fix: helm intervalSeconds integer value render bug#44211
julianwiedmann merged 1 commit intocilium:mainfrom
jayl1e:fix_helm

Conversation

@jayl1e
Copy link
Copy Markdown
Contributor

@jayl1e jayl1e commented Feb 5, 2026

operator.unmanagedPodWatcher.intervalSeconds is always of an integral type, this constraint is also defined in the JSON schema.
There is no need to check if it kind is float64, which even causes bug when helm parses it as json.Number or int64.

Please ensure your pull request adheres to the following guidelines:

  • For first time contributors, read Submitting a pull request
  • All code is covered by unit and/or runtime tests where feasible.
  • All commits contain a well written commit description including a title,
    description and a Fixes: #XXX line if the commit addresses a particular
    GitHub issue.
  • If your commit description contains a Fixes: <commit-id> tag, then
    please add the commit author[s] as reviewer[s] to this issue.
  • All commits are signed off. See the section Developer’s Certificate of Origin
  • Provide a title or release-note blurb suitable for the release notes.
  • Are you a user of Cilium? Please add yourself to the Users doc
  • Thanks for contributing!

Fixes: #44206

fix: helm value rendering bug for operator.unmanagedPodWatcher.intervalSeconds 

intervalSeconds is always of an integral type, no need to check kindIs float64

Fixes: cilium#44206
Signed-off-by: jayl1e <jayl1e@outlook.com>
@jayl1e jayl1e requested a review from a team as a code owner February 5, 2026 15:18
@jayl1e jayl1e requested a review from Artyop February 5, 2026 15:18
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Feb 5, 2026
@github-actions github-actions bot added the kind/community-contribution This was a contribution made by a community member. label Feb 5, 2026
@maintainer-s-little-helper
Copy link
Copy Markdown

Commit 2e3cfca does not match "(?m)^Signed-off-by:".

Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-sign-off The author needs to add signoff to their commits before merge. label Feb 5, 2026
@maintainer-s-little-helper
Copy link
Copy Markdown

Commit 2e3cfca does not match "(?m)^Signed-off-by:".

Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin

@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-sign-off The author needs to add signoff to their commits before merge. label Feb 5, 2026
@Artyop
Copy link
Copy Markdown
Contributor

Artyop commented Feb 5, 2026

/test

@Artyop Artyop added release-note/misc This PR makes changes that have no direct user impact. area/helm Impacts helm charts and user deployment experience labels Feb 6, 2026
@maintainer-s-little-helper maintainer-s-little-helper bot removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Feb 6, 2026
Copy link
Copy Markdown
Contributor

@Artyop Artyop left a comment

Choose a reason for hiding this comment

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

lgtm

@Artyop Artyop added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Feb 6, 2026
@julianwiedmann julianwiedmann added this pull request to the merge queue Feb 6, 2026
Merged via the queue into cilium:main with commit 44074ee Feb 6, 2026
103 of 166 checks passed
@aanm aanm added the needs-backport/1.19 This PR / issue needs backporting to the v1.19 branch label Feb 23, 2026
@YutaroHayakawa YutaroHayakawa mentioned this pull request Feb 24, 2026
21 tasks
@YutaroHayakawa YutaroHayakawa added backport-pending/1.19 The backport for Cilium 1.19.x for this PR is in progress. and removed needs-backport/1.19 This PR / issue needs backporting to the v1.19 branch labels Feb 24, 2026
@github-actions github-actions bot added backport-done/1.19 The backport for Cilium 1.19.x for this PR is done. and removed backport-pending/1.19 The backport for Cilium 1.19.x for this PR is in progress. labels Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/helm Impacts helm charts and user deployment experience backport-done/1.19 The backport for Cilium 1.19.x for this PR is done. kind/community-contribution This was a contribution made by a community member. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Helm: operator crashes due to intervalSeconds in Values

5 participants