This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 1b05c2cfe14fdd08635f3f941e5ea9523f0e37ae Author: Pasquale Congiusti <[email protected]> AuthorDate: Thu Dec 2 11:46:13 2021 +0100 doc: autogen --- docs/modules/traits/pages/container.adoc | 12 ++++++++++++ resources/traits.yaml | 14 ++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/docs/modules/traits/pages/container.adoc b/docs/modules/traits/pages/container.adoc index f5be96f..49d373b 100755 --- a/docs/modules/traits/pages/container.adoc +++ b/docs/modules/traits/pages/container.adoc @@ -81,6 +81,18 @@ The following configuration options are available: | PullPolicy | The pull policy: Always\|Never\|IfNotPresent +| container.configs +| []string +| A list of configuration pointing to configmap/secret. Syntax: [configmap\|secret\|file]:name[key], where name represents the local file path or the configmap/secret name and key optionally represents the configmap/secret key to be filtered + +| container.resources +| []string +| A list of resources pointing to configmap/secret. Syntax: [configmap\|secret\|file]:name[/key][@path], where name represents the local file path or the configmap/secret name, key optionally represents the configmap/secret key to be filtered and path represents the destination path + +| container.volumes +| []string +| A list of Persistent Volume Claims to be mounted. Syntax: [pvcname:/container/path] + | container.probes-enabled | bool | DeprecatedProbesEnabled enable/disable probes on the container (default `false`) diff --git a/resources/traits.yaml b/resources/traits.yaml index b2041ba..44fa3a0 100755 --- a/resources/traits.yaml +++ b/resources/traits.yaml @@ -132,6 +132,20 @@ traits: - name: image-pull-policy type: PullPolicy description: 'The pull policy: Always|Never|IfNotPresent' + - name: configs + type: '[]string' + description: 'A list of configuration pointing to configmap/secret. Syntax: [configmap|secret|file]:name[key], + where name represents the local file path or the configmap/secret name and key + optionally represents the configmap/secret key to be filtered' + - name: resources + type: '[]string' + description: 'A list of resources pointing to configmap/secret. Syntax: [configmap|secret|file]:name[/key][@path], + where name represents the local file path or the configmap/secret name, key + optionally represents the configmap/secret key to be filtered and path represents + the destination path' + - name: volumes + type: '[]string' + description: 'A list of Persistent Volume Claims to be mounted. Syntax: [pvcname:/container/path]' - name: probes-enabled type: bool description: 'DeprecatedProbesEnabled enable/disable probes on the container (default
