-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: #113 Prepare OLM deployment files
Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com>
- Loading branch information
Showing
3 changed files
with
299 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
packageName: microcks | ||
channels: | ||
- name: alpha | ||
currentCSV: microcks-operator.v0.3.0 | ||
- name: stable | ||
currentCSV: microcks-operator.v1.9.0 |
271 changes: 271 additions & 0 deletions
271
deploy/olm/1.9.0/microcks-operator.v1.9.0.clusterserviceversion.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,271 @@ | ||
apiVersion: operators.coreos.com/v1alpha1 | ||
kind: ClusterServiceVersion | ||
metadata: | ||
name: microcks-operator.v1.9.0 | ||
namespace: placeholder | ||
annotations: | ||
capabilities: Seamless Upgrades | ||
categories: "Integration & Delivery" | ||
description: "Open Source mocking and testing platform for API and microservices" | ||
certified: "false" | ||
containerImage: quay.io/microcks/microcks-ansible-operator:1.9.0 | ||
createdAt: 2024-03-13T14:17:43Z | ||
support: microcks.github.io | ||
repository: https://github.com/microcks/microcks-ansible-operator | ||
alm-examples: |- | ||
[ | ||
{ | ||
"apiVersion": "microcks.github.io/v1alpha1", | ||
"kind": "MicrocksInstall", | ||
"metadata": { | ||
"name": "my-microcksinstall" | ||
}, | ||
"spec": { | ||
"name": "my-microcksinstall", | ||
"version": "1.9.0", | ||
"microcks": { | ||
"replicas": 1 | ||
}, | ||
"postman": { | ||
"replicas": 1 | ||
}, | ||
"keycloak": { | ||
"install": true, | ||
"persistent": true, | ||
"volumeSize": "1Gi" | ||
}, | ||
"mongodb": { | ||
"install": true, | ||
"persistent": true, | ||
"volumeSize": "2Gi" | ||
} | ||
} | ||
}, | ||
{ | ||
"apiVersion": "microcks.github.io/v1alpha1", | ||
"kind": "MicrocksInstall", | ||
"metadata": { | ||
"name": "my-microcksinstall-minikube" | ||
}, | ||
"spec": { | ||
"name": "my-microcksinstall-minikube", | ||
"version": "1.9.0", | ||
"microcks": { | ||
"replicas": 2, | ||
"url": "microcks.192.168.99.100.nip.io" | ||
}, | ||
"postman": { | ||
"replicas": 2 | ||
}, | ||
"keycloak": { | ||
"install": true, | ||
"persistent": true, | ||
"volumeSize": "1Gi", | ||
"url": "keycloak.192.168.99.100.nip.io" | ||
}, | ||
"mongodb": { | ||
"install": true, | ||
"persistent": true, | ||
"volumeSize": "2Gi" | ||
} | ||
} | ||
} | ||
] | ||
spec: | ||
displayName: Microcks Operator | ||
version: 1.9.0 | ||
description: > | ||
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. | ||
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. | ||
It supports Async APIs, REST APIs, gRPC, GraphQL and SOAP WebServices. It perfectly integrates into an iterative, contract-first delivery process. | ||
Microcks tries not reinventing the wheel and let you capitalize on already known tools of standards. It supports [AsyncAPI Specifications](https://asyncapi.com), | ||
[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 | ||
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. | ||
### Operator features | ||
* **Create/Destroy**: Easily launch Microcks installations (`MicrocksInstall` custom resource) for your Kubernetes namespace | ||
### MicrocksInstall options | ||
* **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`, | ||
* **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, | ||
* **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. | ||
### Documentation | ||
Documentation to the current _master_ branch as well as all releases can be found on our [GitHub](https://github.com/microcks/microcks-ansible-operator). | ||
### License | ||
Microcks is licensed under the [Apache License, Version 2.0](https://github.com/microcks/microcks/blob/master/LICENSE). | ||
keywords: ['mock', 'test', 'API', 'microservice'] | ||
maintainers: | ||
- name: lbroudoux | ||
email: laurent.broudoux@gmail.com | ||
provider: | ||
name: Microcks.io | ||
replaces: microcks-operator.v1.8.1 | ||
maturity: alpha | ||
labels: | ||
name: microcks-operator | ||
selector: | ||
matchLabels: | ||
name: microcks-operator | ||
links: | ||
- name: Product Page | ||
url: https://microcks.io | ||
- name: Microcks Operator Source Code | ||
url: https://github.com/microcks/microcks-ansible-operator | ||
icon: | ||
- base64data: >- | ||
iVBORw0KGgoAAAANSUhEUgAAADIAAAAsCAYAAAAn4+taAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABQGAAAUBgHi2OFOAAAAB3RJTUUH4wIICQ4kTiFK0wAAC+hJREFUaN7NmXtwXNV9xz/n3Hv3od2Vrt52ETaywfgpr1yDbZIwMIEQktCQTJIJiUtInYZawJDQDCTT7kxm1M6UIdOUOghoxgxN8wS3NE5mOh1IjHExNrG1K8kYy7K1fsi2LOux2of2de89/UO7QpZW1iLMJOcvae7de37f8/3+nkewgNUeiREKmnBU8VR2xFUlcndL+BsX9sZrnbg/Y8mBCt05nMqLX+06Y776whcXJ0HwYa4P9PX2SGylQP2zg7g7ICyuycZ4baCCY1YlX1iVoTqd4PiIduDdmGv7rvsWRf77rXe5d8uqPx0g7ZEYwDXAKw7iplqRpS49zgt91RwZ97B2keL2G21sG5aoOGNjV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yUNAcmDbJJxQ0pxJskexQ0IyHgubTQBOwvZCt01eshBVYjmI4q2t9CY/psvJVxWd5JGmh31jS4nBX18+/uL/5S7YSc3ljHHg22hb47kIvU6cDbI/EthZ8aA1QP+tgHeg5L4ic09jaHFOBes+xtNBXAkJDqRXEsiUZMV32q82+vD3HvOk08GgRxHzzplKrCGJaXffTUNC8Hfg6sLOwx3t1lAZrFys+tdrCqfWLtNBXvdeMKuHAWElGVOZ/XU++sWJPR1/dLdrlb+wHHo+2Bd68Gtdlc7ClAa3AXcBWYCXT/HLm4bqxuVGNdchSt7fCc1eupSr95SZv/vlpv9sJbP2wQEwLDHYoaB4CnpwGJqKYDUIAXqxXVqmx75dk5Aev9vOdO5fxqZ8OG0fj7oCYrJLHgPzVZmA+H2qPxCTgBTYXxlO3FvJRt4Afflkde+n61s3O/wMfnCbOrAtg+wAAAABJRU5ErkJggg== | ||
mediatype: image/png | ||
installModes: | ||
- type: OwnNamespace | ||
supported: true | ||
- type: SingleNamespace | ||
supported: true | ||
- type: MultiNamespace | ||
supported: false | ||
- type: AllNamespaces | ||
supported: false | ||
install: | ||
strategy: deployment | ||
spec: | ||
permissions: | ||
- serviceAccountName: microcks-ansible-operator | ||
rules: | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- pods | ||
- services | ||
- endpoints | ||
- persistentvolumeclaims | ||
- events | ||
- configmaps | ||
- secrets | ||
verbs: | ||
- '*' | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- namespaces | ||
verbs: | ||
- get | ||
- apiGroups: | ||
- apps | ||
resources: | ||
- deployments | ||
- daemonsets | ||
- replicasets | ||
- statefulsets | ||
verbs: | ||
- '*' | ||
- apiGroups: | ||
- route.openshift.io | ||
resources: | ||
- routes | ||
verbs: | ||
- '*' | ||
- apiGroups: | ||
- route.openshift.io | ||
resources: | ||
- routes/custom-host | ||
verbs: | ||
- create | ||
- apiGroups: | ||
- networking.k8s.io | ||
resources: | ||
- ingresses | ||
verbs: | ||
- '*' | ||
- apiGroups: | ||
- monitoring.coreos.com | ||
resources: | ||
- servicemonitors | ||
verbs: | ||
- get | ||
- create | ||
- apiGroups: | ||
- kafka.strimzi.io | ||
resources: | ||
- kafkas | ||
- kafkatopics | ||
verbs: | ||
- '*' | ||
- apiGroups: | ||
- microcks.github.io | ||
resources: | ||
- '*' | ||
verbs: | ||
- '*' | ||
deployments: | ||
- name: microcks-ansible-operator | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
name: microcks-ansible-operator | ||
template: | ||
metadata: | ||
labels: | ||
name: microcks-ansible-operator | ||
spec: | ||
serviceAccountName: microcks-ansible-operator | ||
containers: | ||
- name: microcks-ansible-operator | ||
image: quay.io/microcks/microcks-ansible-operator:1.9.0 | ||
imagePullPolicy: Always | ||
env: | ||
- name: WATCH_NAMESPACE | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.annotations['olm.targetNamespaces'] | ||
- name: POD_NAME | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.name | ||
- name: OPERATOR_NAME | ||
value: "microcks-ansible-operator" | ||
customresourcedefinitions: | ||
owned: | ||
- name: microcksinstalls.microcks.github.io | ||
version: v1alpha1 | ||
kind: MicrocksInstall | ||
displayName: MicrocksInstall | ||
description: Represents a Microcks installation | ||
resources: | ||
- kind: Service | ||
name: '' | ||
version: v1 | ||
- kind: Deployment | ||
name: '' | ||
version: v1 | ||
- kind: Pod | ||
name: '' | ||
version: v1 | ||
- kind: ConfigMap | ||
name: '' | ||
version: v1 | ||
- kind: Secret | ||
name: '' | ||
version: v1 | ||
- kind: PersistentVolumeClaim | ||
name: '' | ||
version: v1 | ||
specDescriptors: | ||
- description: Name of your MicrocksInstall | ||
displayName: Name | ||
path: name | ||
x-descriptors: | ||
- 'urn:alm:descriptor:com.tectonic.ui:label' | ||
- description: Version of Microcks to install | ||
displayName: Version | ||
path: version | ||
x-descriptors: | ||
- 'urn:alm:descriptor:com.tectonic.ui:label' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: microcksinstalls.microcks.github.io | ||
spec: | ||
group: microcks.github.io | ||
names: | ||
kind: MicrocksInstall | ||
listKind: MicrocksInstallList | ||
plural: microcksinstalls | ||
singular: microcksinstall | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true | ||
schema: | ||
openAPIV3Schema: | ||
type: object | ||
x-kubernetes-preserve-unknown-fields: true | ||
subresources: | ||
status: {} |