This operator creates and manages custom resources for RHOAS cloud services
- Java 11+
- Maven
- A service-api token from console.redhat.com
- Access to a rhoas services instance.
mvn clean install;
cd rhoas;
mvn quarkus:dev;The operator source is in the rhoas module. The openapi module generates an API based on the services-api openapi manifest. rhoas has a dependency on openapi and therefor the parent project should be installed with mvn clean install before the operator is run.
mvn clean install;The operator uses quarkus and the java-operator-sdk.
You can start the operator in dev mode.
mvn quarkus:devOnce the operator has come online it will load deployed crds and deploy crds based on our model classes if no deployed crds are found. You can verify the operator is working by creating a KafkaConnection custom resource. And example follows :
apiVersion: rhoas.redhat.com/v1alpha1
kind: KafkaConnection
metadata:
name: rhosak-demo
spec:
kafkaId: 1mk2CcqHByUJCg0sZxiGv8f53Pz