-
Notifications
You must be signed in to change notification settings - Fork 101
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
Fix helm linting error for coredns.serviceType #615
Conversation
This is weird, serviceType is available within coredns for ages: coredns/helm@764e58c |
This happens when coredns dependency chart is not yet downloaded via |
Signed-off-by: Timofey Ilinykh <[email protected]>
79bc7d6
to
8092c9a
Compare
Had to fix kube-linter security context errors in the service-delete-hook helm template as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Do we know why kube-linter started to detect it only recently? the hook is in master for a while
I was wondering about the same thing. It passed without any errors on #614,
https://github.com/k8gb-io/k8gb/runs/3553924913?check_suite_focus=true#step:3:20 This warning is usually displayed when you point kube-linter to the directory without helm templates or kube manifests:
If the directory is valid and you have no issues, the message should be like this one:
Instead we only had the mentioned warning in the action logs until this time. |
That is interesting, I'v reproduced the kube-linter issue in master
|
Also confirming that this PR will solve terrascan scanning issues, great catch @somaritane |
stackrox/kube-linter#209 i've sent PR upstream |
possible (ugly) workaround on my fork - https://github.com/jkremser/k8gb/runs/4511876751?check_suite_focus=true#step:4:1 |
This PR fixes helm linting error for
coredns.serviceType
value when k8gb chart dependency (coredns) is not yet updated:It also fixes
kube-linter
security context errors in the service-delete-hook helm templateSigned-off-by: Timofey Ilinykh [email protected]