sonolark

command module
v0.0.0-...-91256e5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

Sonolark

Note: This plugin is currently a Work In Progress (WIP) and currently under development.

The goal of this plugin is to create offer a plugin which:

  • is highly (and easily) configurable
  • does not require the user to build/manage images
  • makes working with Kubernetes (k8s) resources easy
  • integrates easily with Sonobuoy

We accomplish this by providing a library of helper functions baked into a prebuilt image which the user calls via a Starlark script they provide.

How to make your own

Two main appraoches:

  • Start with plugin.yaml and simply edit the script.star which is provided via a configmap
  • Write your own script.star and use sonobuoy gen plugin along with the --configmap flag to target your script
sonobuoy gen plugin --name=sonolark --image=vmware-tanzu/sonolark:v0.0.1 --configmap=./script.star --format=manual -c "./sonolark" > plugin.yaml

The benefit of the latter approach is that your script.star file will have normal indentation instead of the extra padding caused by being placed into the yaml file.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
lib
buildinfo
Package buildinfo holds build-time information.
Package buildinfo holds build-time information.
env
log

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL