-
Notifications
You must be signed in to change notification settings - Fork 345
/
camel-k.v0.3.3.clusterserviceversion.yaml
290 lines (283 loc) · 11.2 KB
/
camel-k.v0.3.3.clusterserviceversion.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
## ---------------------------------------------------------------------------
## Licensed to the Apache Software Foundation (ASF) under one or more
## contributor license agreements. See the NOTICE file distributed with
## this work for additional information regarding copyright ownership.
## The ASF licenses this file to You under the Apache License, Version 2.0
## (the "License"); you may not use this file except in compliance with
## the License. You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
## ---------------------------------------------------------------------------
apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
annotations:
capabilities: Basic Install
categories: "Integration & Delivery"
repository: https://github.com/apache/camel-k
containerImage: docker.io/apache/camel-k:0.3.3
support: Camel
createdAt: 2019-05-06T16:45:00Z
certified: "false"
description: |-
Apache Camel K (a.k.a. Kamel) is a lightweight integration framework built from Apache Camel that runs natively on Kubernetes and is specifically designed for serverless and microservice architectures.
alm-examples: |-
[{
"apiVersion": "camel.apache.org/v1alpha1",
"kind": "IntegrationPlatform",
"metadata": {
"name": "example"
},
"spec": {
"build": {
"buildStrategy": "pod"
},
"resources": {
"contexts": [
"jvm"
]
}
}
},
{
"apiVersion": "camel.apache.org/v1alpha1",
"kind": "Integration",
"metadata": {
"name": "example"
},
"spec": {
"source": {
"content": "// Add example Java code to create Integration",
"name": "Example.java"
}
}
},
{
"apiVersion": "camel.apache.org/v1alpha1",
"kind": "IntegrationContext",
"metadata": {
"name": "example"
}
},
{
"apiVersion": "camel.apache.org/v1alpha1",
"kind": "CamelCatalog",
"metadata": {
"name": "example"
}
},
{
"apiVersion": "camel.apache.org/v1alpha1",
"kind": "Build",
"metadata": {
"name": "example"
}
}]
name: camel-k-operator.v0.3.3
namespace: placeholder
spec:
displayName: Camel K Operator
version: 0.3.3
description: |
Apache Camel K
==============
Camel K (a.k.a Kamel) is a lightweight integration framework built from Apache Camel that runs natively on Kubernetes and is specifically designed for serverless and microservice architectures.
## Installation
To start using Camel K, install the operator and then create the following `IntegrationPlatform`:
```
apiVersion: camel.apache.org/v1alpha1
kind: IntegrationPlatform
metadata:
name: camel-k
labels:
app: "camel-k"
```
## Running an Integration
After the initial setup, you can run a Camel integration on the cluster by creating an example `Integration`:
```
apiVersion: camel.apache.org/v1alpha1
kind: Integration
metadata:
name: example
spec:
sources:
- content: |
import org.apache.camel.builder.RouteBuilder;
public class Example extends RouteBuilder {
@Override
public void configure() throws Exception {
from("timer:tick")
.setBody(constant("Hello World!"))
.to("log:info?skipBodyLineSeparator=false");
}
}
name: Example.java
```
keywords: ['apache', 'kamel', 'kubernetes', 'serverless', 'microservices']
maintainers:
- name: The Apache Software Foundation
email: users@camel.apache.org
provider:
name: The Apache Software Foundation
labels:
name: camel-k-operator
selector:
matchLabels:
name: camel-k-operator
links:
- name: Camel K source code repository
url: https://github.com/apache/camel-k
icon:
- base64data: PHN2ZyB2aWV3Qm94PSIwIDAgMTMwLjIxIDEzMC4wMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImEiIHgxPSIzMzMuNDgiIHgyPSI0NzciIHkxPSI3MDIuNiIgeTI9IjU2My43MyIgZ3JhZGllbnRUcmFuc2Zvcm09InRyYW5zbGF0ZSg5NC4wMzggMjc2LjA2KSBzY2FsZSguOTkyMDYpIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0Y2OTkyMyIgb2Zmc2V0PSIwIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0Y3OUEyMyIgb2Zmc2V0PSIuMTEiLz48c3RvcCBzdG9wLWNvbG9yPSIjRTk3ODI2IiBvZmZzZXQ9Ii45NDUiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgeDE9IjMzMy40OCIgeDI9IjQ3NyIgeTE9IjcwMi42IiB5Mj0iNTYzLjczIiBncmFkaWVudFRyYW5zZm9ybT0idHJhbnNsYXRlKDk0LjAzOCAyNzYuMDYpIHNjYWxlKC45OTIwNikiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBzdG9wLWNvbG9yPSIjRjY5OTIzIiBvZmZzZXQ9IjAiLz48c3RvcCBzdG9wLWNvbG9yPSIjRjc5QTIzIiBvZmZzZXQ9Ii4wOCIvPjxzdG9wIHN0b3AtY29sb3I9IiNFOTc4MjYiIG9mZnNldD0iLjQxOSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkP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NjMuMjUgNjIuNSAxNi44NzctMzIuNTEgNy4wNi02OS45MTktMjAuMjUtOTAuNjU2eiIgZmlsbD0iIzI4MTcwYiIgb3BhY2l0eT0iLjc1Ii8+PHBhdGggZD0iTTUwNC44ODkgODYyLjU0NmMtLjQ3Mi0uMDMyLS45MzIuMDI4LTEuMzc1LjI1LTUuNiAyLjgwMSAwIDE0IDAgMTQtMTYuODA3IDE0LjAwOS0xMy4yMzYgMzcuOTM4LTMyLjg0NCAzNy45MzgtMTAuNjg5IDAtMjEuMzIyLTEyLjI5My0zMi41MzEtMTkuODEyLS4xNDQgMS43NzMtLjI1IDMuNTY0LS4yNSA1LjM3NSAwIDI0LjUxNSAxMy41MSA0NS44NjMgMzMuNDY5IDU3LjA2MyA1LjU4My0uNzAzIDExLjE1OC0yLjExNCAxNS4zNDQtNC45MDYgMjEuOTkyLTE0LjY2MiAyNy40NTItNDIuNTU3IDM2LjQzOC01Ni4wMzEgNS41OTYtOC40MDcgMzEuODI0LTcuNjc3IDMzLjU5NC0xMS4yMiAyLjgwNC01LjYwMS01LjYwMi0xNC04LjQwNi0xNGgtMjIuNDA2Yy0xLjU2NiAwLTQuMDI1LTIuNzgtNS41OTQtMi43OGgtOC40MDZzLTMuNzI1LTUuNjUtNy4wMzEtNS44NzV6IiBmaWxsPSIjZmZmIi8+PC9nPjwvc3ZnPg==
mediatype: image/svg+xml
maturity: alpha
minKubeVersion: 1.11.0
customresourcedefinitions:
owned:
- kind: Build
name: builds.camel.apache.org
version: v1alpha1
displayName: Build
description: A Camel K build
- kind: CamelCatalog
name: camelcatalogs.camel.apache.org
version: v1alpha1
displayName: Camel Catalog
description: A Camel catalog
- kind: Integration
name: integrations.camel.apache.org
version: v1alpha1
displayName: Integration
description: A Camel K integration
- kind: IntegrationContext
name: integrationcontexts.camel.apache.org
displayName: Integration Context
description: A Camel K integration context
version: v1alpha1
- kind: IntegrationPlatform
name: integrationplatforms.camel.apache.org
version: v1alpha1
displayName: Integration Platform
description: A Camel K integration platform
install:
spec:
deployments:
- name: camel-k-operator
spec:
replicas: 1
selector:
matchLabels:
name: camel-k-operator
strategy:
type: Recreate
template:
metadata:
labels:
camel.apache.org/component: operator
name: camel-k-operator
spec:
containers:
- command:
- camel-k
env:
- name: WATCH_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.annotations['olm.targetNamespaces']
- name: OPERATOR_NAME
value: camel-k
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
image: docker.io/apache/camel-k:0.3.3
imagePullPolicy: IfNotPresent
name: camel-k-operator
serviceAccountName: camel-k-operator
permissions:
- rules:
- apiGroups:
- camel.apache.org
resources:
- '*'
verbs:
- '*'
- apiGroups:
- ""
resources:
- pods
- services
- endpoints
- persistentvolumeclaims
- configmaps
- secrets
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- events
verbs:
- get
- list
- watch
- apiGroups:
- apps
resources:
- deployments
- replicasets
- statefulsets
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
- update
- watch
- apiGroups:
- apps
resources:
- daemonsets
verbs:
- get
- list
- watch
- apiGroups:
- extensions
resources:
- ingresses
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
- update
- watch
serviceAccountName: camel-k-operator
strategy: deployment
installModes:
- supported: true
type: OwnNamespace
- supported: true
type: SingleNamespace
- supported: false
type: MultiNamespace
- supported: false
type: AllNamespaces