Camel K API

camel.apache.org/v1

Package v1 contains API Schema definitions for the camel v1 API group

Resource Types

Build

Build is the Schema for the builds API

Field Description

apiVersion
string

camel.apache.org/v1

kind
string

Build

metadata
Kubernetes meta/v1.ObjectMeta

Refer to the Kubernetes API documentation for the fields of the metadata field.

spec
BuildSpec

status
BuildStatus

CamelCatalog

CamelCatalog represents the languages, components, data formats and capabilities enabled on a given runtime provider. The catalog may be statically generated.

Field Description

apiVersion
string

camel.apache.org/v1

kind
string

CamelCatalog

metadata
Kubernetes meta/v1.ObjectMeta

Refer to the Kubernetes API documentation for the fields of the metadata field.

status
CamelCatalogStatus

the actual state of the catalog

spec
CamelCatalogSpec

the desired state of the catalog

Integration

Integration is the Schema for the integrations API

Field Description

apiVersion
string

camel.apache.org/v1

kind
string

Integration

metadata
Kubernetes meta/v1.ObjectMeta

Refer to the Kubernetes API documentation for the fields of the metadata field.

spec
IntegrationSpec

the desired Integration specification

status
IntegrationStatus

the status of the Integration

IntegrationKit

IntegrationKit defines a container image and additional configuration needed to run an Integration. An IntegrationKit is a generic image generally built from the requirements of an Integration, but agnostic to it, in order to be reused by any other Integration which has the same required set of capabilities. An IntegrationKit may be used for other kits as a base container layer, when the incremental build option is enabled.

Field Description

apiVersion
string

camel.apache.org/v1

kind
string

IntegrationKit

metadata
Kubernetes meta/v1.ObjectMeta

Refer to the Kubernetes API documentation for the fields of the metadata field.

spec
IntegrationKitSpec

the desired configuration

status
IntegrationKitStatus

the actual status

IntegrationPlatform

IntegrationPlatform is the resource used to drive the Camel K operator behavior. It defines the behavior of all Custom Resources (IntegrationKit, Integration, Kamelet) in the given namespace. When the Camel K operator is installed in global mode, you will need to specify an IntegrationPlatform in each namespace where you want the Camel K operator to be executed

Field Description

apiVersion
string

camel.apache.org/v1

kind
string

IntegrationPlatform

metadata
Kubernetes meta/v1.ObjectMeta

Refer to the Kubernetes API documentation for the fields of the metadata field.

spec
IntegrationPlatformSpec

status
IntegrationPlatformStatus

Internal Types

Artifact

Appears on:

Artifact represents a materialized artifact (a jar dependency or in general a file used by the build)

Field Description

id
string

the identification (GAV for maven dependencies or file name for other file types)

location
string

where it is located in the builder Pod

target
string

the expected location in the runtime

checksum
string

a checksum (SHA1) of the content

BaseTask

Appears on:

BaseTask is a base for the struct hierarchy

Field Description

name
string

name of the task

BuildCondition

Appears on:

BuildCondition describes the state of a resource at a certain point.

Field Description

type
BuildConditionType

Type of integration condition.

status
Kubernetes core/v1.ConditionStatus

Status of the condition, one of True, False, Unknown.

lastUpdateTime
Kubernetes meta/v1.Time

The last time this condition was updated.

lastTransitionTime
Kubernetes meta/v1.Time

Last time the condition transitioned from one status to another.

reason
string

The reason for the condition’s last transition.

message
string

A human-readable message indicating details about the transition.

BuildConditionType(string alias)

Appears on:

BuildConditionType — 

BuildPhase(string alias)

Appears on:

BuildPhase — 

BuildSpec

Appears on:

BuildSpec defines the Build operation to be executed

Field Description

tasks
[]Task

The sequence of Build tasks to be performed as part of the Build execution.

strategy
BuildStrategy

The strategy that should be used to perform the Build.

timeout
Kubernetes meta/v1.Duration

Timeout defines the Build maximum execution duration. The Build deadline is set to the Build start time plus the Timeout duration. If the Build deadline is exceeded, the Build context is canceled, and its phase set to BuildPhaseFailed.

BuildStatus

Appears on:

BuildStatus defines the observed state of Build

Field Description

phase
BuildPhase

describes the phase

image
string

the image name built

digest
string

the digest from image

baseImage
string

the base image used for this build

artifacts
[]Artifact

a list of artifacts contained in the build

error
string

the error description (if any)

failure
Failure

the reason of the failure (if any)

startedAt
Kubernetes meta/v1.Time

the time when it started

conditions
[]BuildCondition

a list of conditions occurred during the build

duration
string

how long it took for the build Change to Duration / ISO 8601 when CRD uses OpenAPI spec v3 https://github.com/OAI/OpenAPI-Specification/issues/845

BuildStrategy(string alias)

Appears on:

BuildStrategy specifies how the Build should be executed. It will trigger a Maven process that will take care of producing the expected Camel/Camel-Quarkus runtime.

BuildahTask

Appears on:

BuildahTask is used to configure Buildah

Field Description

BaseTask
BaseTask

(Members of BaseTask are embedded into this type.)

PublishTask
PublishTask

(Members of PublishTask are embedded into this type.)

verbose
bool

log more information

BuilderTask

Appears on:

BuilderTask is the generic task in charge of building the application image

Field Description

BaseTask
BaseTask

(Members of BaseTask are embedded into this type.)

baseImage
string

the base image layer

runtime
RuntimeSpec

the configuration required for the runtime application

sources
[]SourceSpec

Deprecated: no longer in use the source code for the Route(s)

resources
[]ResourceSpec

Deprecated: no longer in use

dependencies
[]string

the list of dependencies to use for this build

steps
[]string

the list of steps to execute (see pkg/builder/)

maven
MavenBuildSpec

the configuration required by Maven for the application build phase

buildDir
string

workspace directory to use

CamelArtifact

Appears on:

CamelArtifact represent the configuration for a feature offered by Camel

Field Description

CamelArtifactDependency
CamelArtifactDependency

(Members of CamelArtifactDependency are embedded into this type.)

Base Camel Artifact dependency

schemes
[]CamelScheme

accepted URI schemes

languages
[]string

accepted languages

dataformats
[]string

accepted data formats

dependencies
[]CamelArtifactDependency

required dependencies

javaTypes
[]string

the Java types used by the artifact feature (ie, component, data format, …​)

CamelArtifactDependency

Appears on:

CamelArtifactDependency represent a maven’s dependency

Field Description

MavenArtifact
MavenArtifact

(Members of MavenArtifact are embedded into this type.)

the maven dependency

exclusions
[]CamelArtifactExclusion

provide a list of artifacts to exclude for this dependency

CamelArtifactExclusion

Appears on:

CamelArtifactExclusion represents an exclusion clause

Field Description

groupId
string

Maven Group

artifactId
string

Maven Artifact

CamelCatalogSpec

Appears on:

CamelCatalogSpec specify what features a Camel runtime provides

Field Description

runtime
RuntimeSpec

the runtime targeted for the catalog

artifacts
map[string]github.com/apache/camel-k/pkg/apis/camel/v1.CamelArtifact

artifacts required by this catalog

loaders
map[string]github.com/apache/camel-k/pkg/apis/camel/v1.CamelLoader

loaders required by this catalog

CamelCatalogStatus

Appears on:

CamelCatalogStatus defines the observed state of CamelCatalog. As the catalog is a static resource, we expect it to be empty.

CamelLoader

Appears on:

CamelLoader represents the configuration required to load a DSL

Field Description

MavenArtifact
MavenArtifact

(Members of MavenArtifact are embedded into this type.)

the base Maven artifact required

languages
[]string

a list of DSLs supported

dependencies
[]MavenArtifact

a list of additional dependencies required beside the base one

metadata
map[string]string

Deprecated: never used a set of general metadata for various purposes

CamelScheme

Appears on:

CamelScheme represents the scheme used to identify a component in a URI (ie, timer in a timer:xyz endpoint URI)

Field Description

id
string

the ID (ie, timer in a timer:xyz URI)

passive
bool

is a passive scheme

http
bool

is a HTTP based scheme

consumer
CamelSchemeScope

required scope for consumer

producer
CamelSchemeScope

required scope for producers

CamelSchemeScope

Appears on:

CamelSchemeScope contains scoped information about a scheme

Field Description

dependencies
[]CamelArtifactDependency

list of dependencies needed for this scope

Capability

Appears on:

Capability is a particular feature which requires a well known set of dependencies

Field Description

dependencies
[]MavenArtifact

metadata
map[string]string

Deprecated: not in use

Configurable

Configurable — 

ConfigurationSpec

Appears on:

ConfigurationSpec represents a generic configuration specification

Field Description

type
string

represents the type of configuration, ie: property, configmap, secret, …​

value
string

the value to assign to the configuration (syntax may vary depending on the Type)

resourceType
string

Deprecated: no longer used

resourceMountPoint
string

Deprecated: no longer used

resourceKey
string

Deprecated: no longer used

DataSpec

Appears on:

DataSpec represents the way the source is materialized in the running Pod

Field Description

name
string

the name of the specification

path
string

the path where the file is stored

content
string

the source code (plain text)

rawContent
[]byte

the source code (binary)

contentRef
string

the confimap reference holding the source content

contentKey
string

the confimap key holding the source content

contentType
string

the content type (tipically text or binary)

compression
bool

if the content is compressed (base64 encrypted)

Failure

Appears on:

Failure represent a message specifying the reason and the time of an event failure

Field Description

reason
string

a short text specifying the reason

time
Kubernetes meta/v1.Time

the time when the failure has happened

recovery
FailureRecovery

the recovery attempted for this failure

FailureRecovery

Appears on:

FailureRecovery defines the attempts to recover a failure

Field Description

attempt
int

attempt number

attemptMax
int

maximum number of attempts

attemptTime
Kubernetes meta/v1.Time

(Optional)

time of the attempt execution

Flow

Appears on:

Flow is an unstructured object representing a Camel Flow in YAML/JSON DSL

Field Description

RawMessage
RawMessage

(Members of RawMessage are embedded into this type.)

IntegrationCondition

Appears on:

IntegrationCondition describes the state of a resource at a certain point.

Field Description

type
IntegrationConditionType

Type of integration condition.

status
Kubernetes core/v1.ConditionStatus

Status of the condition, one of True, False, Unknown.

lastUpdateTime
Kubernetes meta/v1.Time

The last time this condition was updated.

lastTransitionTime
Kubernetes meta/v1.Time

Last time the condition transitioned from one status to another.

firstTruthyTime
Kubernetes meta/v1.Time

First time the condition status transitioned to True.

reason
string

The reason for the condition’s last transition.

message
string

A human-readable message indicating details about the transition.

IntegrationConditionType(string alias)

Appears on:

IntegrationConditionType — 

IntegrationKitCondition

Appears on:

IntegrationKitCondition describes the state of a resource at a certain point.

Field Description

type
IntegrationKitConditionType

Type of integration condition.

status
Kubernetes core/v1.ConditionStatus

Status of the condition, one of True, False, Unknown.

lastUpdateTime
Kubernetes meta/v1.Time

The last time this condition was updated.

lastTransitionTime
Kubernetes meta/v1.Time

Last time the condition transitioned from one status to another.

reason
string

The reason for the condition’s last transition.

message
string

A human-readable message indicating details about the transition.

IntegrationKitConditionType(string alias)

Appears on:

IntegrationKitConditionType — 

IntegrationKitPhase(string alias)

Appears on:

IntegrationKitPhase — 

IntegrationKitSpec

Appears on:

IntegrationKitSpec defines a container image and additional configurations required to kick off an Integration which certain features

Field Description

image
string

the container image as identify in the container registry

dependencies
[]string

a list of Camel dependecies used by this kit

profile
TraitProfile

the profile which is expected by this kit

traits
map[string]github.com/apache/camel-k/pkg/apis/camel/v1.TraitSpec

traits that the kit will execute

configuration
[]ConfigurationSpec

configuration used by the kit TODO: we should deprecate in future releases in favour of mount, openapi or camel traits

repositories
[]string

Maven repositories that can be used by the kit

IntegrationKitStatus

Appears on:

IntegrationKitStatus defines the observed state of IntegrationKit

Field Description

phase
IntegrationKitPhase

phase of the kit

baseImage
string

base image used by the kit

image
string

actual image name of the kit

digest
string

actual image digest of the kit

artifacts
[]Artifact

list of artifacts used by the kit

failure
Failure

failure reason (if any)

runtimeVersion
string

the runtime version for which this kit was configured

runtimeProvider
RuntimeProvider

the runtime provider for which this kit was configured

platform
string

the platform for which this kit was configured

version
string

the Camel K operator version for which this kit was configured

conditions
[]IntegrationKitCondition

a list of conditions which happened for the events related the kit

IntegrationPhase(string alias)

Appears on:

IntegrationPhase — 

IntegrationPlatformBuildPublishStrategy(string alias)

Appears on:

IntegrationPlatformBuildPublishStrategy defines the strategy used to package and publish an Integration base image

IntegrationPlatformBuildSpec

Appears on:

IntegrationPlatformBuildSpec contains platform related build information. This configuration can be used to tune the behavior of the Integration/IntegrationKit image builds. You can define the build strategy, the image registry to use and the Maven configuration to adopt.

Field Description

buildStrategy
BuildStrategy

the strategy to adopt for building an Integration base image

publishStrategy
IntegrationPlatformBuildPublishStrategy

the strategy to adopt for publishing an Integration base image

runtimeVersion
string

the Camel K Runtime dependency version

runtimeProvider
RuntimeProvider

the runtime used. Likely Camel Quarkus (we used to have main runtime which has been discontinued since version 1.5)

baseImage
string

a base image that can be used as base layer for all images. It can be useful if you want to provide some custom base image with further utility softwares

registry
RegistrySpec

the image registry used to push/pull Integration images

timeout
Kubernetes meta/v1.Duration

how much time to wait before time out the build process

maven
MavenSpec

Maven configuration used to build the Camel/Camel-Quarkus applications

kanikoBuildCache
bool

Deprecated: Use PublishStrategyOptions instead enables Kaniko publish strategy cache

persistentVolumeClaim
string

Deprecated: Use PublishStrategyOptions instead the Persistent Volume Claim used by Kaniko publish strategy, if cache is enabled

PublishStrategyOptions
map[string]string

IntegrationPlatformCluster(string alias)

Appears on:

IntegrationPlatformCluster is the kind of orchestration cluster the platform is installed into

IntegrationPlatformCondition

Appears on:

IntegrationPlatformCondition describes the state of a resource at a certain point.

Field Description

type
IntegrationPlatformConditionType

Type of integration condition.

status
Kubernetes core/v1.ConditionStatus

Status of the condition, one of True, False, Unknown.

lastUpdateTime
Kubernetes meta/v1.Time

The last time this condition was updated.

lastTransitionTime
Kubernetes meta/v1.Time

Last time the condition transitioned from one status to another.

reason
string

The reason for the condition’s last transition.

message
string

A human-readable message indicating details about the transition.

IntegrationPlatformConditionType(string alias)

Appears on:

IntegrationPlatformConditionType defines the type of condition

IntegrationPlatformKameletRepositorySpec

Appears on:

IntegrationPlatformKameletRepositorySpec defines the location of the Kamelet catalog to use

Field Description

uri
string

the remote repository in the format github:ORG/REPO/PATH_TO_KAMELETS_FOLDER

IntegrationPlatformKameletSpec

Appears on:

IntegrationPlatformKameletSpec define the behavior for all the Kamelets controller by the IntegrationPlatform

Field Description

repositories
[]IntegrationPlatformKameletRepositorySpec

remote repository used to retrieve Kamelet catalog

IntegrationPlatformPhase(string alias)

Appears on:

IntegrationPlatformPhase is the phase of an IntegrationPlatform

IntegrationPlatformResourcesSpec

Appears on:

IntegrationPlatformResourcesSpec contains platform related resources. Deprecated: not used

IntegrationPlatformSpec

Appears on:

IntegrationPlatformSpec defines the desired state of IntegrationPlatform

Field Description

cluster
IntegrationPlatformCluster

what kind of cluster you’re running (ie, plain Kubernetes or OpenShift)

profile
TraitProfile

the profile you wish to use. It will apply certain traits which are required by the specific profile chosen. It usually relates the Cluster with the optional definition of special profiles (ie, Knative)

build
IntegrationPlatformBuildSpec

specify how to build the Integration/IntegrationKits

resources
IntegrationPlatformResourcesSpec

Deprecated: not used

traits
map[string]github.com/apache/camel-k/pkg/apis/camel/v1.TraitSpec

list of traits to be executed for all the Integration/IntegrationKits built from this IntegrationPlatform

configuration
[]ConfigurationSpec

list of configuration properties to be attached to all the Integration/IntegrationKits built from this IntegrationPlatform

kamelet
IntegrationPlatformKameletSpec

configuration to be executed to all Kamelets controlled by this IntegrationPlatform

IntegrationPlatformStatus

Appears on:

IntegrationPlatformStatus defines the observed state of IntegrationPlatform

Field Description

IntegrationPlatformSpec
IntegrationPlatformSpec

(Members of IntegrationPlatformSpec are embedded into this type.)

phase
IntegrationPlatformPhase

defines in what phase the IntegrationPlatform is found

conditions
[]IntegrationPlatformCondition

which are the conditions met (particularly useful when in ERROR phase)

version
string

the Camel K operator version controlling this IntegrationPlatform

info
map[string]string

generic information related to the build of Camel K operator software

IntegrationSpec

Appears on:

IntegrationSpec specifies the configuration of an Integration. The Integration will be watched by the operator which will be in charge to run the related application, according to the configuration specified.

Field Description

replicas
int32

the number of Pods needed for the running Integration

sources
[]SourceSpec

the sources which contain the Camel routes to run

flows
[]Flow

a source in YAML DSL language which contain the routes to run

resources
[]ResourceSpec

Deprecated: Use container trait (container.resources) to manage resources Use openapi trait (openapi.configmaps) to manage OpenAPIs specifications

integrationKit
Kubernetes core/v1.ObjectReference

the reference of the IntegrationKit which is used for this Integration

dependencies
[]string

the list of Camel or Maven dependencies required by the Integration

profile
TraitProfile

the profile needed to run this Integration

traits
map[string]github.com/apache/camel-k/pkg/apis/camel/v1.TraitSpec

the traits needed to run this Integration

template
PodSpecTemplate

Pod template customization

configuration
[]ConfigurationSpec

Deprecated: Use camel trait (camel.properties) to manage properties Use container trait (mount.configs) to manage configs Use container trait (mount.resources) to manage resources Use container trait (mount.volumes) to manage volumes

repositories
[]string

additional Maven repositories to be used

serviceAccountName
string

custom SA to use for the Integration

IntegrationStatus

Appears on:

IntegrationStatus defines the observed state of Integration

Field Description

phase
IntegrationPhase

the actual phase

digest
string

the digest calculated for this Integration

image
string

the container image used

dependencies
[]string

a list of dependencies needed by the application

profile
TraitProfile

the profile needed to run this Integration

integrationKit
Kubernetes core/v1.ObjectReference

the reference of the IntegrationKit which is used for this Integration

platform
string

The IntegrationPlatform watching this Integration

generatedSources
[]SourceSpec

a list of sources generated for this Integration

generatedResources
[]ResourceSpec

Deprecated: a list of resources generated for this Integration

runtimeVersion
string

the runtime version targeted for this Integration

runtimeProvider
RuntimeProvider

the runtime provider targeted for this Integration

configuration
[]ConfigurationSpec

Deprecated: a list of configuration specification

conditions
[]IntegrationCondition

a list of events happened for the Integration

version
string

the operator version

replicas
int32

the number of replicas

selector
string

label selector

capabilities
[]string

features offered by the Integration

lastInitTimestamp
Kubernetes meta/v1.Time

the timestamp representing the last time when this integration was initialized.

KanikoTask

Appears on:

KanikoTask is used to configure Kaniko

Field Description

BaseTask
BaseTask

(Members of BaseTask are embedded into this type.)

PublishTask
PublishTask

(Members of PublishTask are embedded into this type.)

verbose
bool

log more information

cache
KanikoTaskCache

use a cache

KanikoTaskCache

Appears on:

KanikoTaskCache is used to configure Kaniko cache

Field Description

enabled
bool

true if a cache is enabled

persistentVolumeClaim
string

the PVC used to store the cache

Language(string alias)

Appears on:

Language represents a supported language (Camel DSL)

MavenArtifact

Appears on:

MavenArtifact defines a GAV (Group:Artifact:Version) Maven artifact

Field Description

groupId
string

Maven Group

artifactId
string

Maven Artifact

version
string

Maven Version

MavenBuildSpec

Appears on:

MavenBuildSpec defines the Maven configuration plus additional repositories to use

Field Description

MavenSpec
MavenSpec

(Members of MavenSpec are embedded into this type.)

base Maven specification

repositories
[]Repository

additional repositories

servers
[]Server

Servers (auth)

MavenSpec

Appears on:

MavenSpec — 

Field Description

localRepository
string

The path of the local Maven repository.

properties
map[string]string

The Maven properties.

settings
ValueSource

A reference to the ConfigMap or Secret key that contains the Maven settings.

caSecret
Kubernetes core/v1.SecretKeySelector

Deprecated: use CASecrets The Secret name and key, containing the CA certificate(s) used to connect to remote Maven repositories. It can contain X.509 certificates, and PKCS#7 formatted certificate chains. A JKS formatted keystore is automatically created to store the CA certificate(s), and configured to be used as a trusted certificate(s) by the Maven commands. Note that the root CA certificates are also imported into the created keystore.

caSecrets
[]Kubernetes core/v1.SecretKeySelector

The Secrets name and key, containing the CA certificate(s) used to connect to remote Maven repositories. It can contain X.509 certificates, and PKCS#7 formatted certificate chains. A JKS formatted keystore is automatically created to store the CA certificate(s), and configured to be used as a trusted certificate(s) by the Maven commands. Note that the root CA certificates are also imported into the created keystore.

extension
[]MavenArtifact

cliOptions
[]string

The CLI options that are appended to the list of arguments for Maven commands, e.g., -V,--no-transfer-progress,-Dstyle.color=never. See https://maven.apache.org/ref/3.8.4/maven-embedder/cli.html.

PodSpec

Appears on:

PodSpec defines a group of Kubernetes resources

Field Description

volumes
[]Kubernetes core/v1.Volume

Volumes

initContainers
[]Kubernetes core/v1.Container

InitContainers

containers
[]Kubernetes core/v1.Container

Containers

ephemeralContainers
[]Kubernetes core/v1.EphemeralContainer

EphemeralContainers

restartPolicy
Kubernetes core/v1.RestartPolicy

RestartPolicy

terminationGracePeriodSeconds
int64

TerminationGracePeriodSeconds

activeDeadlineSeconds
int64

ActiveDeadlineSeconds

dnsPolicy
Kubernetes core/v1.DNSPolicy

DNSPolicy

nodeSelector
map[string]string

NodeSelector

topologySpreadConstraints
[]Kubernetes core/v1.TopologySpreadConstraint

TopologySpreadConstraints

securityContext
Kubernetes core/v1.PodSecurityContext

PodSecurityContext

PodSpecTemplate

Appears on:

PodSpecTemplate represent a template used to deploy an Integration Pod

Field Description

spec
PodSpec

the specification

Properties(map[string]string alias)

Appears on:

PublishTask

Appears on:

PublishTask image publish configuration

Field Description

contextDir
string

can be useful to share info with other tasks

baseImage
string

base image layer

image
string

final image name

registry
RegistrySpec

where to publish the final image

RawMessage([]byte alias)

Appears on:

RawMessage is a raw encoded JSON value. It implements Marshaler and Unmarshaler and can be used to delay JSON decoding or precompute a JSON encoding.

RegistrySpec

Appears on:

RegistrySpec provides the configuration for the container registry

Field Description

insecure
bool

if the container registry is insecure (ie, http only)

address
string

the URI to access

secret
string

the secret where credentials are stored

ca
string

the configmap which stores the Certificate Authority

organization
string

the registry organization

Repository

Appears on:

Repository defines a Maven repository

Field Description

id
string

identifies the repository

name
string

name of the repository

url
string

location of the repository

snapshots
RepositoryPolicy

can use snapshot

releases
RepositoryPolicy

can use stable releases

RepositoryPolicy

Appears on:

RepositoryPolicy defines the policy associated to a Maven repository

Field Description

enabled
bool

is the policy activated or not

updatePolicy
string

This element specifies how often updates should attempt to occur. Maven will compare the local POM’s timestamp (stored in a repository’s maven-metadata file) to the remote. The choices are: always, daily (default), interval:X (where X is an integer in minutes) or never

checksumPolicy
string

When Maven deploys files to the repository, it also deploys corresponding checksum files. Your options are to ignore, fail, or warn on missing or incorrect checksums.

ResourceCondition

ResourceCondition is a common type for all conditions

ResourceSpec

Appears on:

ResourceSpec represent an attached resource which will be materialized as a file on the running Pod TODO: we should deprecate in future releases in favour of mount, openapi or camel traits

Field Description

DataSpec
DataSpec

(Members of DataSpec are embedded into this type.)

the content of the resource

type
ResourceType

the kind of data to expect

mountPath
string

the mount path on destination Pod

ResourceType(string alias)

Appears on:

ResourceType defines a kind of resource

RuntimeProvider(string alias)

Appears on:

RuntimeProvider is the provider chosen for the runtime

RuntimeSpec

Appears on:

RuntimeSpec represents the configuration for the Java runtime in charge to execute the Camel application

Field Description

version
string

Camel K Runtime version

provider
RuntimeProvider

Camel main application provider, ie, Camel Quarkus

applicationClass
string

application entry point (main) to be executed

dependencies
[]MavenArtifact

list of dependencies needed to run the application

metadata
map[string]string

set of metadata

capabilities
map[string]github.com/apache/camel-k/pkg/apis/camel/v1.Capability

features offered by this runtime

S2iTask

Appears on:

S2iTask is used to configure S2I

Field Description

BaseTask
BaseTask

(Members of BaseTask are embedded into this type.)

contextDir
string

can be useful to share info with other tasks

tag
string

used by the ImageStream

Server

Appears on:

Field Description

-
encoding/xml.Name

id
string

username
string

password
string

configuration
Properties

SourceSpec

Appears on:

SourceSpec defines the configuration for one or more routes to be executed in a certain Camel DSL language

Field Description

DataSpec
DataSpec

(Members of DataSpec are embedded into this type.)

contains configuration related to the source code

language
Language

specify which is the language (Camel DSL) used to interpret this source code

loader
string

Loader is an optional id of the org.apache.camel.k.RoutesLoader that will interpret this source at runtime

interceptors
[]string

Interceptors are optional identifiers the org.apache.camel.k.RoutesLoader uses to pre/post process sources

type
SourceType

Type defines the kind of source described by this object

property-names
[]string

List of property names defined in the source (e.g. if type is "template")

SourceType(string alias)

Appears on:

SourceType represents an available source type

SpectrumTask

Appears on:

SpectrumTask is used to configure Spectrum

Field Description

BaseTask
BaseTask

(Members of BaseTask are embedded into this type.)

PublishTask
PublishTask

(Members of PublishTask are embedded into this type.)

Task

Appears on:

Task represents the abstract task. Only one of the task should be configured to represent the specific task chosen.

Field Description

builder
BuilderTask

a BuilderTask (base task)

buildah
BuildahTask

a BuildahTask, for Buildah strategy

kaniko
KanikoTask

a KanikoTask, for Kaniko strategy

spectrum
SpectrumTask

a SpectrumTask, for Spectrum strategy

s2i
S2iTask

a S2iTask, for S2I strategy

TraitConfiguration

Appears on:

TraitConfiguration represents the expected configuration for a given trait parameter

Field Description

RawMessage
RawMessage

(Members of RawMessage are embedded into this type.)

generic raw message, tipically a map containing the keys (trait parameters) and the values (either single text or array)

TraitProfile(string alias)

Appears on:

TraitProfile represents lists of traits that are enabled for the specific installation/integration

TraitSpec

Appears on:

A TraitSpec contains the configuration of a trait

Field Description

configuration
TraitConfiguration

TraitConfiguration parameters configuration

ValueSource

Appears on:

ValueSource — 

Field Description

configMapKeyRef
Kubernetes core/v1.ConfigMapKeySelector

Selects a key of a ConfigMap.

secretKeyRef
Kubernetes core/v1.SecretKeySelector

Selects a key of a secret.