Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.

Commit f342bfb

Browse files
committed
chore: #118 Adding the OLM resources for 1.10.0 operator
Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com>
1 parent 3786546 commit f342bfb

File tree

3 files changed

+299
-0
lines changed

3 files changed

+299
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
packageName: microcks
2+
channels:
3+
- name: alpha
4+
currentCSV: microcks-operator.v0.3.0
5+
- name: stable
6+
currentCSV: microcks-operator.v1.10.0
Lines changed: 271 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,271 @@
1+
apiVersion: operators.coreos.com/v1alpha1
2+
kind: ClusterServiceVersion
3+
metadata:
4+
name: microcks-operator.v1.10.0
5+
namespace: placeholder
6+
annotations:
7+
capabilities: Seamless Upgrades
8+
categories: "Integration & Delivery"
9+
description: "Open Source mocking and testing platform for API and microservices"
10+
certified: "false"
11+
containerImage: quay.io/microcks/microcks-ansible-operator:1.10.0
12+
createdAt: 2024-08-01T09:14:55Z
13+
support: microcks.github.io
14+
repository: https://github.com/microcks/microcks-ansible-operator
15+
alm-examples: |-
16+
[
17+
{
18+
"apiVersion": "microcks.github.io/v1alpha1",
19+
"kind": "MicrocksInstall",
20+
"metadata": {
21+
"name": "my-microcksinstall"
22+
},
23+
"spec": {
24+
"name": "my-microcksinstall",
25+
"version": "1.10.0",
26+
"microcks": {
27+
"replicas": 1
28+
},
29+
"postman": {
30+
"replicas": 1
31+
},
32+
"keycloak": {
33+
"install": true,
34+
"persistent": true,
35+
"volumeSize": "1Gi"
36+
},
37+
"mongodb": {
38+
"install": true,
39+
"persistent": true,
40+
"volumeSize": "2Gi"
41+
}
42+
}
43+
},
44+
{
45+
"apiVersion": "microcks.github.io/v1alpha1",
46+
"kind": "MicrocksInstall",
47+
"metadata": {
48+
"name": "my-microcksinstall-minikube"
49+
},
50+
"spec": {
51+
"name": "my-microcksinstall-minikube",
52+
"version": "1.10.0",
53+
"microcks": {
54+
"replicas": 2,
55+
"url": "microcks.192.168.99.100.nip.io"
56+
},
57+
"postman": {
58+
"replicas": 2
59+
},
60+
"keycloak": {
61+
"install": true,
62+
"persistent": true,
63+
"volumeSize": "1Gi",
64+
"url": "keycloak.192.168.99.100.nip.io"
65+
},
66+
"mongodb": {
67+
"install": true,
68+
"persistent": true,
69+
"volumeSize": "2Gi"
70+
}
71+
}
72+
}
73+
]
74+
spec:
75+
displayName: Microcks Operator
76+
version: 1.10.0
77+
description: >
78+
Microcks is an Open source tool for API and microservices mocking and testing. It provides a platform for referencing, deploying mocks and allow contract-testing of your APIs.
79+
It can also be considered as a Service Virtualization solution because it will allow you to provide fake API or Service implementation before development being actually done.
80+
It supports Async APIs, REST APIs, gRPC, GraphQL and SOAP WebServices. It perfectly integrates into an iterative, contract-first delivery process.
81+
82+
Microcks tries not reinventing the wheel and let you capitalize on already known tools of standards. It supports [AsyncAPI Specifications](https://asyncapi.com),
83+
[OpenAPI Specification](https://www.openapis.org/) `3.x`, [gRPC Protobuf](https://grpc.io/), [GraphQL Schema](https://graphql.org) out-of-the-box and can also relies on popular
84+
tools like [SoapUI](http://www.soapui.com) or [Postman](http://www.getpostman.io) to edit your API request / response samples as well as your test scripts.
85+
86+
### Operator features
87+
88+
* **Create/Destroy**: Easily launch Microcks installations (`MicrocksInstall` custom resource) for your Kubernetes namespace
89+
90+
### MicrocksInstall options
91+
92+
* **keycloak** component can be deployed as part of the install or you can reuse an existing instance. You can reference an existing `Secret` for providing TLS certificates for securing the `Ingress`,
93+
94+
* **mongodb** component can be deployed as part of the install or you can reuse an existing instance, You can reference an existing `Secret` for providing connection credentials,
95+
96+
* **features** component allow to activate optional features like the mocking of AsyncAPIs. In case you turn `features.async.enabled` to `true` and `features.async.kafka.install` to `true`, you must have the [Strimzi Operator](https://operatorhub.io/operator/strimzi-kafka-operator) already installed on your cluster/namespace.
97+
98+
### Documentation
99+
100+
Documentation to the current _master_ branch as well as all releases can be found on our [GitHub](https://github.com/microcks/microcks-ansible-operator).
101+
102+
### License
103+
104+
Microcks is licensed under the [Apache License, Version 2.0](https://github.com/microcks/microcks/blob/master/LICENSE).
105+
keywords: ['mock', 'test', 'API', 'microservice']
106+
maintainers:
107+
- name: lbroudoux
108+
email: laurent.broudoux@gmail.com
109+
provider:
110+
name: Microcks.io
111+
replaces: microcks-operator.v1.9.0
112+
maturity: alpha
113+
labels:
114+
name: microcks-operator
115+
selector:
116+
matchLabels:
117+
name: microcks-operator
118+
links:
119+
- name: Product Page
120+
url: https://microcks.io
121+
- name: Microcks Operator Source Code
122+
url: https://github.com/microcks/microcks-ansible-operator
123+
icon:
124+
- base64data: >-
125+
iVBORw0KGgoAAAANSUhEUgAAADIAAAAsCAYAAAAn4+taAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABQGAAAUBgHi2OFOAAAAB3RJTUUH4wIICQ4kTiFK0wAAC+hJREFUaN7NmXtwXNV9xz/n3Hv3od2Vrt52ETaywfgpr1yDbZIwMIEQktCQTJIJiUtInYZawJDQDCTT7kxm1M6UIdOUOghoxgxN8wS3NE5mOh1IjHExNrG1K8kYy7K1fsi2LOux2of2de89/UO7QpZW1iLMJOcvae7de37f8/3+nkewgNUeiREKmnBU8VR2xFUlcndL+BsX9sZrnbg/Y8mBCt05nMqLX+06Y776whcXJ0HwYa4P9PX2SGylQP2zg7g7ICyuycZ4baCCY1YlX1iVoTqd4PiIduDdmGv7rvsWRf77rXe5d8uqPx0g7ZEYwDXAKw7iplqRpS49zgt91RwZ97B2keL2G21sG5aoOGNjVrTByN1638dWDhwMd7OpteWqA5ELBCGA7Qpu8gmLhnyCn/eb9MbdeDSFEAoJOEBUVFFR7Wlu8No7j3YdrtrU2sLBcPcfD0hx81DQBNCBb0mgiRRvDHg4EvMgp/GrCmgligvCR69W84mUY/w7wIcB5opAno0MTv09XQ4T6Ncr8Jkix2jM4sB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HzzplKrCGJaXffTUNC8Hfg6sLOwx3t1lAZrFys+tdrCqfWLtNBXvdeMKuHAWElGVOZ/XU++sWJPR1/dLdrlb+wHHo+2Bd68Gtdlc7ClAa3AXcBWYCXT/HLm4bqxuVGNdchSt7fCc1eupSr95SZv/vlpv9sJbP2wQEwLDHYoaB4CnpwGJqKYDUIAXqxXVqmx75dk5Aev9vOdO5fxqZ8OG0fj7oCYrJLHgPzVZmA+H2qPxCTgBTYXxlO3FvJRt4Afflkde+n61s3O/wMfnCbOrAtg+wAAAABJRU5ErkJggg==
126+
mediatype: image/png
127+
installModes:
128+
- type: OwnNamespace
129+
supported: true
130+
- type: SingleNamespace
131+
supported: true
132+
- type: MultiNamespace
133+
supported: false
134+
- type: AllNamespaces
135+
supported: false
136+
install:
137+
strategy: deployment
138+
spec:
139+
permissions:
140+
- serviceAccountName: microcks-ansible-operator
141+
rules:
142+
- apiGroups:
143+
- ""
144+
resources:
145+
- pods
146+
- services
147+
- endpoints
148+
- persistentvolumeclaims
149+
- events
150+
- configmaps
151+
- secrets
152+
verbs:
153+
- '*'
154+
- apiGroups:
155+
- ""
156+
resources:
157+
- namespaces
158+
verbs:
159+
- get
160+
- apiGroups:
161+
- apps
162+
resources:
163+
- deployments
164+
- daemonsets
165+
- replicasets
166+
- statefulsets
167+
verbs:
168+
- '*'
169+
- apiGroups:
170+
- route.openshift.io
171+
resources:
172+
- routes
173+
verbs:
174+
- '*'
175+
- apiGroups:
176+
- route.openshift.io
177+
resources:
178+
- routes/custom-host
179+
verbs:
180+
- create
181+
- apiGroups:
182+
- networking.k8s.io
183+
resources:
184+
- ingresses
185+
verbs:
186+
- '*'
187+
- apiGroups:
188+
- monitoring.coreos.com
189+
resources:
190+
- servicemonitors
191+
verbs:
192+
- get
193+
- create
194+
- apiGroups:
195+
- kafka.strimzi.io
196+
resources:
197+
- kafkas
198+
- kafkatopics
199+
verbs:
200+
- '*'
201+
- apiGroups:
202+
- microcks.github.io
203+
resources:
204+
- '*'
205+
verbs:
206+
- '*'
207+
deployments:
208+
- name: microcks-ansible-operator
209+
spec:
210+
replicas: 1
211+
selector:
212+
matchLabels:
213+
name: microcks-ansible-operator
214+
template:
215+
metadata:
216+
labels:
217+
name: microcks-ansible-operator
218+
spec:
219+
serviceAccountName: microcks-ansible-operator
220+
containers:
221+
- name: microcks-ansible-operator
222+
image: quay.io/microcks/microcks-ansible-operator:1.10.0
223+
imagePullPolicy: Always
224+
env:
225+
- name: WATCH_NAMESPACE
226+
valueFrom:
227+
fieldRef:
228+
fieldPath: metadata.annotations['olm.targetNamespaces']
229+
- name: POD_NAME
230+
valueFrom:
231+
fieldRef:
232+
fieldPath: metadata.name
233+
- name: OPERATOR_NAME
234+
value: "microcks-ansible-operator"
235+
customresourcedefinitions:
236+
owned:
237+
- name: microcksinstalls.microcks.github.io
238+
version: v1alpha1
239+
kind: MicrocksInstall
240+
displayName: MicrocksInstall
241+
description: Represents a Microcks installation
242+
resources:
243+
- kind: Service
244+
name: ''
245+
version: v1
246+
- kind: Deployment
247+
name: ''
248+
version: v1
249+
- kind: Pod
250+
name: ''
251+
version: v1
252+
- kind: ConfigMap
253+
name: ''
254+
version: v1
255+
- kind: Secret
256+
name: ''
257+
version: v1
258+
- kind: PersistentVolumeClaim
259+
name: ''
260+
version: v1
261+
specDescriptors:
262+
- description: Name of your MicrocksInstall
263+
displayName: Name
264+
path: name
265+
x-descriptors:
266+
- 'urn:alm:descriptor:com.tectonic.ui:label'
267+
- description: Version of Microcks to install
268+
displayName: Version
269+
path: version
270+
x-descriptors:
271+
- 'urn:alm:descriptor:com.tectonic.ui:label'
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
name: microcksinstalls.microcks.github.io
5+
spec:
6+
group: microcks.github.io
7+
names:
8+
kind: MicrocksInstall
9+
listKind: MicrocksInstallList
10+
plural: microcksinstalls
11+
singular: microcksinstall
12+
scope: Namespaced
13+
versions:
14+
- name: v1alpha1
15+
served: true
16+
storage: true
17+
schema:
18+
openAPIV3Schema:
19+
type: object
20+
x-kubernetes-preserve-unknown-fields: true
21+
subresources:
22+
status: {}

0 commit comments

Comments
 (0)