Is it possible to write a plugin that expects a nested key / value settings Map?
e.g.
kind: pipeline
type: docker
name: default
steps:
- name: "custom:plugin"
image: plugins/my-plugin
settings:
foo:
one: 1
two: "two"
three: 50.5
bar:
hello: 'world'
example: "true"
version: "v1.1.1"
If yes, what would the env var PLUGIN_FOO and PLUGIN_BAR contain? I would assume:
{ foo: 1, two: "two", three: 50.5 }
{ hello: 'world', example: "true", version: "v1.1.1" }