This PR defines an optional environment file at /etc/optional-environment. The KUBE_ADMISSION_PLUGINS variable can be specified in this file and will be read by the kube-apiserver. Specified plugins will be enabled along with the default admission plugins.
Description
This PR defines an optional environment file at
/etc/optional-environment
. TheKUBE_ADMISSION_PLUGINS
variable can be specified in this file and will be read by the kube-apiserver. Specified plugins will be enabled along with the default admission plugins.Example:
Create an env file with custom admission plugins.
Create custom Planet image and copy env file to
/etc/optional-environment
file path.This mechanism can be used for future custom configuration options when creating custom Planet images.
Linked tickets and PRs