[incubator/monochart]: CronJob is using deprecated batch/v1beta1 apiVersion
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 52/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- helm, kubernetes
- Domain
- devops, infrastructure
Research direction
Start with incubator/monochart/templates/cronjob.yaml at the apiVersion line referenced in the issue, then run the provided helm template and kubectl server-side dry-run commands. Done means the generated CronJob is accepted on Kubernetes 1.25 or newer without the batch/v1beta1 error.
Written by the indexing model from the issue text.
Description
Describe the Bug
Current Job is fine, but CronJob still uses batch/v1beta1 which is not available since Kubernetes v1.25
Applying a cronJob on Kubernetes >= 1.25 get rejected by Kubernetes API server
Expected Behavior
Generated cronJob resources should be accepted.
Steps to Reproduce
Steps to reproduce the behavior:
- Deploy Kubernetes >=1.25 (minikube, kind)
- Edit values.yaml to have
cronJobs.default.enabledtotrue helm template monochart . | kubectl apply --dry-run=server -f -- See error
error: resource mapping not found for name: "monochart-monochart-default" namespace: "" from "STDIN": no matches for kind "CronJob" in version "batch/v1beta1"
ensure CRDs are installed first
Environment:
- kubectl 1.28.2
- kind 0.17.0
- helm version 3.11
- incubator/monochart 0.28.0
- Dominant language
- Mustache
- Stars
- 160
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudposse/charts
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
cloudposse/charts#282 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
cloudposse/charts#280 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
cloudposse/charts#269 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
cloudposse/charts#266 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
cloudposse/charts#259 · 3 reactions ·
All issues in cloudposse/charts
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ehmpathy/declapract-typescript-ehmpathy#960 ·
Maintainers usually reply within 1 day
-
LifetimeRemaining divides by zero when expireAfter is 0s, producing NaN disruption costsPossibly taken @weirong-ui claimed this today. Openkind/bug needs-priority needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kubernetes-sigs/karpenter#3728 · 1 comment ·
Maintainers usually reply within 1 day
-
ci: migrate pinned macos-15 runners to macos-26 and macos-26-intelPossibly taken @hawkingrei claimed this today. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
nowledge-co/hawdb#2224 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
hexlet-volunteers/hexlet-sicp#2092 ·
Maintainers usually reply within 1 day
-
cvss-severity:high devguard l3montree-cybersecurity/.../devguard-documentation pkg:oci/devguard-documen...ch=amd64&tag=main-amd64 risk:low state:open
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
l3montree-dev/devguard-documentation#396 · 1 comment ·