values.yaml will look something like this:
image field specifies the Docker image that is used for your hook.
repository specifies Registry and Namespace and
tag defines the desired image tag.
These are the only mandatory fields for a hook to work.
ENVs and Volumes
If your hook needs some additional information like an URL (
webhookUrl) in the example above you need to provide an option to specify them in your
values.yaml (See: ScanCompletionHook | secureCodeBox).
Currently only ENVs are supported for hooks but we are working on supporting Volumes in the future as well.