IntegrationPlatform

The IntegrationPlatform CR is the resource used to control the behavior of the Camel K Operator.

type IntegrationPlatform struct {
	Spec   IntegrationPlatformSpec   (1)
	Status IntegrationPlatformStatus (2)
}

type IntegrationPlatformSpec struct {
	Cluster       IntegrationPlatformCluster       (3)
	Profile       TraitProfile                     (4)
	Pipeline      IntegrationPlatformPipelineSpec  (5)
	Traits        map[string]TraitSpec             (6)
	Configuration []ConfigurationSpec              (6)
	Kamelet       []IntegrationPlatformKameletSpec (7)
}
1 The desired state
2 The status of the object at current time
3 The type of the Kubernetes Cluster (Kubernetes or OpenShift)
4 Configures the traits that have to be applied by default (Kubernetes, OpenShift, Knative)
5 Configuration options of the image build process such as the type of the builder, the container registry and the maven repositories that have to be configured in order retrieve the artifacts needed by the integrations.
6 The traits and configuration options (properties, secrets, configmaps) that have to be propagated to each integration.
7 Locations to look up Kamelet definitions

the full go definition can be found here

Upon start-up, the operator checks if the IntegrationPlatform is ready and if not, it executes all the steps required to be ready to operate:

life cycle