-
-
Notifications
You must be signed in to change notification settings - Fork 289
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
Spinach documentation #293
Comments
@howardjones Tx for this issue! Sorry for the confusion. I'll correct the example but I think the docs are correct. popeye:
excludes:
linters:
secrets:
instances:
# the deploys namespace contains a load of unreferenced secrets and that's OK
# all the secrets named sh.helm.release.v1.* are OK too
- fqns: [rx:^deploys]
codes: [400]
- fqns: [rx:sh.helm.release]
codes: [400] |
I have two questions then:
|
@howardjones Indeed! I'll add a new example for this. I wanted to show deltas between namespaced and non namespaced resources. Good point regarding linter names, I'll add a check. |
Let's see if we're happier on v0.20.0 |
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I thought it would be simple to exclude some specific alerts, but the combination of incomplete docs and (maybe) out-of-date examples makes creating a spinach.yaml harder than necessary.
Describe the solution you'd like
Actual documentation for the spinach.yaml file. For example:
gvrs
key that is not acceptedfqns
which seems to be namespaces (all the examples are matching namespaces, anyway).fqn
is also accepted but not mentioned in the docs.Some kind of debug logging to show if excludes are being hit would also help.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
My simple use-case is:
is not the answer though.
The text was updated successfully, but these errors were encountered: