Monokle plugins to supercharge your workflows
Monokle community plugins contains all our public validation plugins.
Plugins are written in Typescript (see example below) and can currently be used in the Monokle CLI and Monokle Cloud (see below).
Go to plugins.md for a list of currently available plugins.
Simply add the name of the validator to your Monokle-CLI configuration file.
We will take care of the rest!
# monokle.validation.yaml
plugins:
my-custom-plugin: true
rules:
my-custom-plugin/my-custom-rule: "err"
note: currently this always requires network connectivity to download the plugins. Please consider reaching out for us if you have use cases where you need the validators to be cached for offline usage.
Simply make sure your plugin is configured as described for the Monokle CLI above and the configuration is committed to GitHub. The Monokle GitHub Action will use this configuration and your plugin accordingly.
Monokle Cloud is a free web application where you can explore community plugins directly on public GitHub repositories.
Simply go the validation activity in the left sidebar and select any community plugin within the dropdown. Afterwards all rules and descriptions will appear in your application, toggle them to see their impact on your resources in real-time.
Validation plugins are currently written in Typescript (other formats may be supported in the future).
Head over to the Custom Plugin Documentation to learn how to easily create your own validation plugins that you can either use locally or share with other users as described below.
Plugins contributed to this repository will automatically be available to any user of Monokle CLI or Monokle Cloud.
Contribute to this repo as follows:
- Fork this repository
- Create a new plugin as described in the Custom Plugin Documentation
in the
/validation
folder - Create a pull-request back to the main repository, we'll review the code as soon as possible.
- Once approved and merged it will be published on plugins.monokle.com and become available for any user of Monokle CLI or Monokle Cloud - well done! Thank you for your time to make Kubernetes easier to use!
Have questions or issues? Either open an issue in this repo or head over to the #monokle-general
channel on our
Discord Server to get in touch.