kubernetes / kubernetes/website
Add `immutable` on `PodFailurePolicyRule` in docs
Open
kind/bug
language/en
lifecycle/rotten
needs-triage
priority/important-longterm
sig/apps
sig/docs
- Dominant language
- HTML
- Stars
- 5.4k
- Forks
- 15.7k
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 204
Description
**This is a Bug Report**
**Problem:**
When applying a `PodFailurePolicy` on an already made `CronJob`, it returns a invalid value stating that the `PodFailurePolicy` is an immutable field. This isn't brought up anywhere when checking the docs.
```
Invalid value: batch.PodFailurePolicy{Rules:[]batch.PodFailurePolicyRule(nil)}: field is immutable
```
**Proposed Solution:**
Update docs so that `PodFailurePolicyRule` is an immutable field in CronJobs
**Page to Update:**
https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.29/#podfailurepolicyrule-v1-batch
Contributor guide
Assessment
This issue has not been assessed yet.