InitContainerConfig

Updated at:

Parameter

Type

Description

Example

object

The init container configuration.

Name

string

The container name.

name

ImageUrl

string

The image URL.

registry.cn-hangzhou.aliyuncs.com/sae_test/ali_sae_test:0.0.1

Command

string

The image startup command.

echo

CommandArgs

string

The image startup command arguments.

[\"-c\",\"/bin/bash /home/admin/bin/start.sh\"]

Envs

string

The container environment variable parameters.

[{"name":"TEST_ENV_KEY","value":"TEST_ENV_VAR"}]

ConfigMapMountDesc

string

The ConfigMap mount description.

[{"configMapId":16,"key":"test","mountPath":"/tmp"}]

EmptyDirDesc

string

The EmptyDir mount description.

[{\"name\":\"workdir\",\"mountPath\":\"/usr/local/tomcat/webapps\"}]

SecretMountDesc

string

The Secret mount description.

[{"secretId":10,"key":"test","mountPath":"/tmp"}]