Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CronJob/Job false negative service account name in wrong place #285

Open
Szymen opened this issue Aug 8, 2024 · 0 comments
Open

CronJob/Job false negative service account name in wrong place #285

Szymen opened this issue Aug 8, 2024 · 0 comments

Comments

@Szymen
Copy link

Szymen commented Aug 8, 2024

I've found false negative when it comes to flagging errors regarding the syntax in jobs and cronjobs.
kubeconform says that file is ok, when in fact it's not.
Here are the results of kubeconform - using version 0.6.6 and 0.6.7
image

image
And what happens when I try to apply the manifest.
image
The placement of service account name is the key.

Manifests to reproduce attached below.
bad.txt
good.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant