Chapter 42. ContainerTemplate schema reference
Used in: CruiseControlTemplate, EntityOperatorTemplate, JmxTransTemplate, KafkaBridgeTemplate, KafkaClusterTemplate, KafkaConnectTemplate, KafkaExporterTemplate, KafkaMirrorMakerTemplate, KafkaNodePoolTemplate, ZookeeperClusterTemplate
Full list of ContainerTemplate schema properties
You can set custom security context and environment variables for a container.
The environment variables are defined under the env property as a list of objects with name and value fields. The following example shows two custom environment variables and a custom security context set for the Kafka broker containers:
Environment variables prefixed with KAFKA_ are internal to AMQ Streams and should be avoided. If you set a custom environment variable that is already in use by AMQ Streams, it is ignored and a warning is recorded in the log.
42.1. ContainerTemplate schema properties Copy linkLink copied to clipboard!
| Property | Description |
|---|---|
| env | Environment variables which should be applied to the container. |
|
| |
| securityContext | Security context for the container. For more information, see the external documentation for core/v1 securitycontext. |