Describe the bug
Starting from Kubernetes 1.27, this label controller-uid is deprecated. Kubernetes 1.27 and newer ignore this label and use the prefixed controller-uid label.
This is now using batch.kubernetes.io/controller-uid
https://kubernetes.io/docs/reference/labels-annotations-taints/#controller-uid
To Reproduce
Deploy helm version 1.6.3 to Kubernetes 1.28
Open ui/last_reports and click Logs of any reports
Expected behavior
Logs file downloaded with content
Screenshots


Version:
- Predator: 1.6.3
- Predator-runner: 1.6.2
- Database: sqlite
Additional context
|
const controllerUid = job.spec.selector.matchLabels['controller-uid']; |
Describe the bug
Starting from Kubernetes 1.27, this label
controller-uidis deprecated. Kubernetes 1.27 and newer ignore this label and use the prefixed controller-uid label.This is now using
batch.kubernetes.io/controller-uidhttps://kubernetes.io/docs/reference/labels-annotations-taints/#controller-uid
To Reproduce
Deploy helm version 1.6.3 to Kubernetes 1.28
Open
ui/last_reportsand clickLogsof any reportsExpected behavior
Logs file downloaded with content
Screenshots


Version:
Additional context
predator/src/jobs/models/kubernetes/jobConnector.js
Line 111 in ca9c1dd