Hi,
I would like to design a multi modules maven project where the module A and module B contains each a Kubernetes/Openshift application.
the Integration tests will be designed under an IT module
ribbon
module-a
module-b
IT
IT module is packaged as a jar and the fabric8 maven plugin contains the dependencies toward module-a and module-b
Unfortunately, when I issue mvn fabric8:resource within module it, it generates this error
[ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:3.1.92:apply (apply) on project it: Failed to create DeploymentConfig from openshift.yml. io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://192.168.64.25:8443/oapi/v1/namespaces/test/deploymentconfigs. Message: DeploymentConfig "it" is invalid: spec.template.spec.containers: Required value. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=spec.template.spec.containers, message=Required value, reason=FieldValueRequired, additionalProperties={})], group=null, kind=DeploymentConfig, name=it, retryAfterSeconds=null, additionalProperties={}), kind=Status, message=DeploymentConfig "it" is invalid: spec.template.spec.containers
As module it doesn't include a kubernetes/openshift application, how can I say to fabric8 to just package module-a & module-b and not IT ?
Regards,
Charles