-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add documentation for custom plugin #356
Conversation
Codecov Report
@@ Coverage Diff @@
## master #356 +/- ##
=======================================
Coverage 31.64% 31.64%
=======================================
Files 14 14
Lines 986 986
=======================================
Hits 312 312
Misses 623 623
Partials 51 51 Continue to review full report at Codecov.
|
alertKinds: | ||
- ClusterAlert | ||
arguments: | ||
vars: |
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.
Explain the spec.vars with more detailed examples.
@@ -0,0 +1,149 @@ | |||
--- |
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.
Move this into the webhook doc.
name: cert-demo-0 | ||
namespace: demo | ||
spec: | ||
check: cert |
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.
Create a Secret with a TLS cert and then use that name to check for expiration. Use onessl to issue the cert.
https://github.com/kubepack/onessl/releases/tag/0.3.0
# Conflicts: # docs/examples/plugins/check-command/event.conf # docs/examples/plugins/check-command/json-path.conf # docs/examples/plugins/check-command/node-exists.conf # docs/examples/plugins/check-command/node-status.conf # docs/examples/plugins/check-command/node-volume.conf # docs/examples/plugins/check-command/pod-exec.conf # docs/examples/plugins/check-command/pod-exists.conf
@aerokite , the plugin doc is missing the most important part. How we convert the vars to json format. There is no mention of that. |
No description provided.