-
create application config
kubectl create configmap cos-fleetshard-operator-debezium-config \ --from-file=../etc/kubernetes/operator-debezium/base/app-config/application.properties
Importantthe provided
application.properties
is only a template, copy it somewhere and adapt the command above
Start Quarkus in dev mode and read the application configuration from the current namespace.
export KUBERNETES_NAMESPACE=$(oc project -q)
export COS_OPERATOR_ID=${some_value}
export COS_OPERATOR_VERSION==${some_value}
./mvnw -Dlocal
By default, the application searches for:
-
ConfigMap: cos-fleetshard-operator-debezium-config
To change the default values, use the following system properties: - quarkus.kubernetes-config.namespace - quarkus.kubernetes-config.config-maps