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
Describe the bug
If I use both Service and Endpoint manifests, Kube Linter raises :
/manifests/service-mt1.yaml: (object: service-mt1 /v1, Kind=Service) service has no selector specified (check: dangling-service, remediation: Confirm that your service's selector correctly matches the labels on one of your deployments.)
To Reproduce
Run Kube Linter with the below sample.
Sample YAML input
If applicable, sample YAML input which reproduces the issue.
System info:
Describe the bug
If I use both Service and Endpoint manifests, Kube Linter raises :
To Reproduce
Run Kube Linter with the below sample.
Sample YAML input
If applicable, sample YAML input which reproduces the issue.
Expected behavior
A clear and concise description of what you expected to happen.
Kube Linter should be aware that this Service is linked to the Endpoint and selector is not necessary, so no need to raise the error.
Screenshots
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: