You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of issue
If you have an incorrect API version specified in a healthCheck it can cause the controller to panic instead of generating an error message. The default validation process doesn't catch this either.
Expected behaviour
Error message generated logging the details of the issue.
Current behaviour
The healthCheck was defined on a Job type, but had the wrong apiVersion specified, this can be any simple Job you've got specified.
Details
Diff from the patch to the kustomization
timeout: 5m
healthChecks:
# make sure the neo4j bootstrap is ready
- - apiVersion: v1+ - apiVersion: batch/v1
kind: Job
name: neo4j-bootstrap
namespace: default
Description of issue
If you have an incorrect API version specified in a healthCheck it can cause the controller to panic instead of generating an error message. The default validation process doesn't catch this either.
Expected behaviour
Error message generated logging the details of the issue.
Current behaviour
The healthCheck was defined on a
Job
type, but had the wrongapiVersion
specified, this can be any simple Job you've got specified.Details
Diff from the patch to the kustomization
Full working kustomization
The panic output
version information:
List showing details of the # of restarts on the controller.
The text was updated successfully, but these errors were encountered: