GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: allow annotations on CronJob objects via cronjob.cronjobAnnotations by armonge · Pull Request #457 · parcelLab/charts

Conversation

@armonge

@armonge armonge commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Why: Argo CD marks an app Degraded when one of its CronJobs has a failed last run. The fix that Infra suggests is the argocd.argoproj.io/ignore-healthcheck: "true" annotation on the CronJob. The common.cronjob template has no field for annotations on the CronJob object, so apps cannot set it from their values.

Example: product-api stays Degraded in Argo CD until the next release, because of old failed cron runs. Its cron failures already alert through Sentry cron monitors, so Argo health does not need to show them.

Change

  • New key cronjob.cronjobAnnotations sets metadata.annotations on the CronJob (not on its pods).
  • A separate key, because cronjob.annotations already goes to the pod template through common.pod.
  • It follows the other CronJob fields: the cronjob: default, with a per-CronJob value as override. In monolith, each cronjobs[] item merges with the defaults, so per-item annotations add to the default ones.
  • Version bumps: common 1.3.14, cronjob 0.6.2, microservice 0.6.4, monolith 0.6.4. worker-group does not render CronJobs.

Checked locally

  • helm lint passes for all charts.
  • helm template for monolith with a default and a per-item override renders both annotations. With no value set, the output does not change. The pods do not get the annotation.

Usage:

cronjob:
  cronjobAnnotations:
    argocd.argoproj.io/ignore-healthcheck: "true"

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@armonge
feat: allow annotations on CronJob objects via cronjob.cronjobAnnotat…
de2756a
…ions
@github-actions github-actions Bot added the yaml label Nov 26, 2026
@armonge
armonge marked this pull request as ready for review November 26, 2026 15:58
@armonge
armonge requested review from a team as code owners November 26, 2026 15:58
Copilot AI balanced review requested due to automatic review settings November 26, 2026 15:58
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 26, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-26T16:00:26.015519Z de2756a Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Copilot started reviewing on behalf of armonge November 26, 2026 15:58
View session
Copilot AI reviewed Nov 26, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

🟢 Approval recommended

The review has no active issues blocking approval of the CronJob-level annotation support change.

No open issues 🎉

What changed in this PR

Adds CronJob-level annotation support to the shared Helm template, allowing applications to configure Argo CD health-check exclusions without annotating pods.

Changes:

  • Renders metadata.annotations from cronjob.cronjobAnnotations, with support for per-CronJob overrides.
  • Documents the new setting with an Argo CD annotation example in the three consuming charts.
  • Bumps the common library and affected chart versions.
File Description
parcellab/​monolith/​values.yaml Documents CronJob-level annotations and example usage.
parcellab/​monolith/​Chart.yaml Bumps chart version to 0.6.4.
parcellab/​microservice/​values.yaml Documents CronJob-level annotations and example usage.
parcellab/​microservice/​Chart.yaml Bumps chart version to 0.6.4.
parcellab/​cronjob/​values.yaml Documents CronJob-level annotations and example usage.
parcellab/​cronjob/​Chart.yaml Bumps chart version to 0.6.2.
parcellab/​common/​templates/​_cronjob.tpl Conditionally renders annotations on CronJob metadata.
parcellab/​common/​Chart.yaml Bumps shared library version to 1.3.14.

Review effort: Balanced

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
andibeuge
andibeuge approved these changes Nov 26, 2026
View reviewed changes

@andibeuge andibeuge left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Nice, thank you 🚀

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@armonge
armonge merged commit bf810b7 into main Nov 27, 2026
8 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@armonge
armonge deleted the feat/cronjob-annotations branch November 27, 2026 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@andibeuge andibeuge andibeuge approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

yaml

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@armonge @andibeuge
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.