-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add bundle generation for Apicurio API Controller
- Loading branch information
Showing
10 changed files
with
278 additions
and
10 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
94 changes: 94 additions & 0 deletions
94
...r/controller/src/main/deploy/api-controller-csv/api-controller.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,94 @@ | ||
apiVersion: operators.coreos.com/v1alpha1 | ||
kind: ClusterServiceVersion | ||
metadata: | ||
annotations: | ||
alm-examples: '[]' | ||
capabilities: Basic Install | ||
categories: Integration & Delivery | ||
certified: 'false' | ||
description: Deploy and manage Apicurio API Controller on Kubernetes. | ||
features.operators.openshift.io/cnf: 'false' | ||
features.operators.openshift.io/cni: 'false' | ||
features.operators.openshift.io/csi: 'false' | ||
features.operators.openshift.io/disconnected: 'false' | ||
features.operators.openshift.io/fips-compliant: 'false' | ||
features.operators.openshift.io/proxy-aware: 'false' | ||
features.operators.openshift.io/tls-profiles: 'false' | ||
features.operators.openshift.io/token-auth-aws: 'false' | ||
features.operators.openshift.io/token-auth-azure: 'false' | ||
features.operators.openshift.io/token-auth-gcp: 'false' | ||
operators.openshift.io/infrastructure-features: '[]' | ||
repository: https://github.com/Apicurio/apicurio-registry/tree/main/operator | ||
support: Apicurio | ||
name: ${PLACEHOLDER_AC_PACKAGE_NAME}.v0.0.0 | ||
namespace: PLACEHOLDER_NAMESPACE | ||
spec: | ||
apiservicedefinitions: {} | ||
customresourcedefinitions: | ||
owned: | ||
- description: ApicurioRegistry3 represents an instance of Apicurio API Controller. | ||
displayName: Apicurio Registry 3 | ||
kind: ApicurioRegistry3 | ||
name: apicurioregistries3.registry.apicur.io | ||
version: v1 | ||
description: | | ||
## Apicurio API Controller | ||
Apicurio API Controller consists of 2 components: | ||
- Apicurio Registry 3 | ||
- Apicurio Studio | ||
Storage options: PostgreSQL, Kafka, MySQL, SQL Server, in-memory. | ||
## Apicurio API Controller Operator | ||
Provides a quick and easy way to deploy and manage Apicurio API Controller on Kubernetes. | ||
**Features** | ||
- Supports installation and configuration of Apicurio API Controller | ||
- Perform a rolling upgrade of Apicurio API Controller | ||
## Prerequisites | ||
This operator does not deploy storage for Apicurio API Controller. Therefore, some storage options require that the chosen persistence service is already set up. | ||
## License | ||
Apicurio API Controller and Apicurio API Controller Operator are licensed under the [Apache 2.0 license](https://github.com/Apicurio/apicurio-registry/blob/main/LICENSE) | ||
displayName: Apicurio API Controller | ||
icon: | ||
- base64data: PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2MwMDt9PC9zdHlsZT48L2RlZnM+PHBhdGggZD0ibTQ2Niw2MTEuOTdjLS40NSwwLS44Ny4xMS0xLjMyLjEzdi0uMTNjLTU3LjI2LTMuNzctMTA3LTY0LjItMTA3LjA2LTEwOC41Ljk2LTM0LjMxLDMuMDItNzUuNDYsNC44Ny04Mi4xOCwzMS44Ny0xNzguMjQsMTY1LjYzLTMyMS4xNSwzMzguOTYtMzY2LjEyLTYyLjAyLTMxLjk5LTEzMi4yOC01MC4xNy0yMDYuNzQtNTAuMTdDMjQ1LjA5LDUsNDIuMDIsMjA4LjA3LDQyLjAyLDQ1Ny42OXY0MDMuNjFjMCw4Ny4xLDcwLjYxLDE1Ny43LDE1Ny43MSwxNTcuN3MxNTcuNzEtNzAuNjEsMTU3LjcxLTE1Ny43di04N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yMi43OS0xNDEuODRaIi8+PC9nPjwvc3ZnPg== | ||
mediatype: image/svg+xml | ||
install: | ||
spec: | ||
deployments: null | ||
strategy: '' | ||
installModes: | ||
- supported: true | ||
type: OwnNamespace | ||
- supported: true | ||
type: SingleNamespace | ||
- supported: true | ||
type: MultiNamespace | ||
- supported: true | ||
type: AllNamespaces | ||
keywords: | ||
- API Management | ||
- Apicurio Registry | ||
- Apicurio Studio | ||
links: | ||
- name: Website | ||
url: https://www.apicur.io/ | ||
- name: GitHub | ||
url: https://github.com/Apicurio/apicurio-registry/ | ||
- name: Issues | ||
url: https://github.com/Apicurio/apicurio-registry/issues | ||
maintainers: | ||
- email: [email protected] | ||
name: Apicurio | ||
maturity: alpha | ||
provider: | ||
name: Apicurio | ||
selector: {} | ||
version: 0.0.0 | ||
minKubeVersion: 1.25.0 |
20 changes: 20 additions & 0 deletions
20
operator/controller/src/main/deploy/api-controller-csv/kustomization.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,20 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- ../rbac/cluster | ||
- ../crd | ||
- ../operator | ||
- ../api-controller-examples | ||
- api-controller.clusterserviceversion.yaml | ||
|
||
patches: | ||
- target: | ||
kind: ClusterServiceVersion | ||
patch: |- | ||
- op: add | ||
path: /metadata/annotations/createdAt | ||
value: ${PLACEHOLDER_DATE} | ||
- op: add | ||
path: /metadata/annotations/containerImage | ||
value: ${PLACEHOLDER_IMAGE} |
12 changes: 12 additions & 0 deletions
12
...c/main/deploy/api-controller-examples/example-registry-with-studio.apicurioregistry3.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,12 @@ | ||
apiVersion: registry.apicur.io/v1 | ||
kind: ApicurioRegistry3 | ||
metadata: | ||
name: example-registry-with-studio | ||
spec: | ||
app: | ||
host: example-registry-with-studio-app.apps.yourcluster.example | ||
ui: | ||
host: example-registry-with-studio-ui.apps.yourcluster.example | ||
studioUi: | ||
enabled: true | ||
host: example-registry-with-studio-studio-ui.apps.yourcluster.example |
5 changes: 5 additions & 0 deletions
5
operator/controller/src/main/deploy/api-controller-examples/kustomization.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,5 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- example-registry-with-studio.apicurioregistry3.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 |
---|---|---|
|
@@ -7,19 +7,19 @@ metadata: | |
categories: Streaming & Messaging | ||
certified: 'false' | ||
description: Deploy and manage Apicurio Registry 3 on Kubernetes. | ||
repository: https://github.com/Apicurio/apicurio-registry/tree/main/operator | ||
support: Apicurio | ||
operators.openshift.io/infrastructure-features: '[]' | ||
features.operators.openshift.io/cnf: 'false' | ||
features.operators.openshift.io/cni: 'false' | ||
features.operators.openshift.io/csi: 'false' | ||
features.operators.openshift.io/disconnected: 'false' # TODO: Support disconnected install | ||
features.operators.openshift.io/proxy-aware: 'false' | ||
features.operators.openshift.io/fips-compliant: 'false' | ||
features.operators.openshift.io/proxy-aware: 'false' | ||
features.operators.openshift.io/tls-profiles: 'false' | ||
features.operators.openshift.io/token-auth-aws: 'false' | ||
features.operators.openshift.io/token-auth-azure: 'false' | ||
features.operators.openshift.io/token-auth-gcp: 'false' | ||
features.operators.openshift.io/cnf: 'false' | ||
features.operators.openshift.io/cni: 'false' | ||
features.operators.openshift.io/csi: 'false' | ||
operators.openshift.io/infrastructure-features: '[]' | ||
repository: https://github.com/Apicurio/apicurio-registry/tree/main/operator | ||
support: Apicurio | ||
name: ${PLACEHOLDER_PACKAGE_NAME}.v0.0.0 | ||
namespace: PLACEHOLDER_NAMESPACE | ||
spec: | ||
|
@@ -64,7 +64,7 @@ spec: | |
Apicurio Registry 3 and Apicurio Registry 3 Operator are licensed under the [Apache 2.0 license](https://github.com/Apicurio/apicurio-registry/blob/main/LICENSE) | ||
displayName: Apicurio Registry 3 | ||
icon: | ||
- base64data: PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI3LjEuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAxODAgMjAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxODAgMjAwOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6Izc1OEVCRjt9Cgkuc3Qxe2VuYWJsZS1iYWNrZ3JvdW5kOm5ldyAgICA7fQo8L3N0eWxlPgo8cGF0aCBkPSJNODEuOCwxMTIuOGMtMC4xLDAtMC4yLDAtMC4yLDB2MGMtOS43LTAuNi0xOC4xLTEwLjktMTguMS0xOC40YzAuMi01LjgsMC41LTEyLjgsMC44LTEzLjljNS40LTMw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UsOS44NywwLDE5LjQ4LDEuMSwyOC43NywzLjA5LDgwLjQtNjIuNDcsMTgxLjM0LTk5Ljc0LDI5MS4wNC05OS43NFoiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Im05NTkuMTksMzE1Ljg1Yy00MC40OC0xMS4yMi04My4wOC0xNy4zNS0xMjcuMTQtMTcuMzUtNzguMTIsMC0xNTEuNzksMTguOTItMjE2Ljc5LDUyLjMzLDMxLjI0LDI1LjE4LDUxLjMsNjMuNyw1MS4zLDEwNi44NnY0NS43NmMtLjA0LDQ0LjMtNDkuOCwxMDQuNzUtMTA3LjA2LDEwOC41MnYuMTNjLS40NS0uMDItLjg3LS4xMy0xLjMyLS4xMy0xMy44MSwwLTI1LjAxLDExLjItMjUuMDEsMjUuMDFzMTEuMiwyNS4wMSwyNS4wMSwyNS4wMWMuNDUsMCwuODctLjExLDEuMzItLjEzdi4xNGM1OC4wMywzLjgyLDEwMy45NSw1MC40NCwxMDcuMDYsMTA4LjY0djkwLjY1YzAsODcuMSw3MC42MSwxNTcuNywxNTcuNzEsMTU3LjdzMTU3LjcxLTcwLjYxLDE1Ny43MS0xNTcuN3YtNDAzLjYxYzAtNDkuNTMtOC4wMS05Ny4yMS0yMi43OS0xNDEuODRaIi8+PC9nPjwvc3ZnPg== | ||
mediatype: image/svg+xml | ||
install: | ||
spec: | ||
|
@@ -95,8 +95,6 @@ spec: | |
url: https://github.com/Apicurio/apicurio-registry/ | ||
- name: Issues | ||
url: https://github.com/Apicurio/apicurio-registry/issues | ||
- name: Twitter | ||
url: https://twitter.com/Apicurio | ||
maintainers: | ||
- email: [email protected] | ||
name: Apicurio | ||
|
13 changes: 13 additions & 0 deletions
13
operator/olm-tests/src/test/deploy/api-controller-catalog/catalog-source.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,13 @@ | ||
apiVersion: operators.coreos.com/v1alpha1 | ||
kind: CatalogSource | ||
metadata: | ||
name: api-controller-operator-catalog | ||
namespace: ${PLACEHOLDER_CATALOG_NAMESPACE} | ||
spec: | ||
sourceType: grpc | ||
displayName: API Controller Catalog | ||
publisher: Apicurio | ||
image: ${PLACEHOLDER_AC_CATALOG_IMAGE} | ||
updateStrategy: | ||
registryPoll: | ||
interval: 30s # Development value |
13 changes: 13 additions & 0 deletions
13
operator/olm-tests/src/test/deploy/api-controller-catalog/catalog.template.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,13 @@ | ||
schema: olm.template.basic | ||
entries: | ||
- schema: olm.package | ||
name: ${PLACEHOLDER_AC_PACKAGE_NAME} | ||
defaultChannel: 0.x | ||
- schema: olm.channel | ||
package: ${PLACEHOLDER_AC_PACKAGE_NAME} | ||
name: 0.x | ||
entries: | ||
- name: ${PLACEHOLDER_AC_PACKAGE} | ||
# TODO: Replaces | ||
- schema: olm.bundle | ||
image: ${PLACEHOLDER_AC_BUNDLE_IMAGE} |
8 changes: 8 additions & 0 deletions
8
operator/olm-tests/src/test/deploy/api-controller-catalog/operator-group.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,8 @@ | ||
apiVersion: operators.coreos.com/v1 | ||
kind: OperatorGroup | ||
metadata: | ||
name: api-controller-operator-group | ||
namespace: ${PLACEHOLDER_NAMESPACE} | ||
spec: | ||
targetNamespaces: | ||
- ${PLACEHOLDER_NAMESPACE} |
Oops, something went wrong.