-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Describe the bug
[ERROR] Failed to execute goal org.jboss.redhat-fuse:openshift-maven-plugin:7.10.0.fuse-sb2-7_10_2-00011-redhat-00002:deploy (default-cli) on project hl7: Failed to create ConfigMap from openshift.yml. io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https:///api/v1/namespaces/idaas-v4/configmaps. Message: ConfigMap in version "v4" cannot be handled as a ConfigMap: no kind "ConfigMap" is registered for version "v4" in scheme "k8s.io/kubernetes/pkg/api/legacyscheme/scheme.go:30". Received status: Status(apiVersion=v1, code=400, details=null, kind=Status, message=ConfigMap in version "v4" cannot be handled as a ConfigMap: no kind "ConfigMap" is registered for version "v4" in scheme "k8s.io/kubernetes/pkg/api/legacyscheme/scheme.go:30", metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=BadRequest, status=Failure, additionalProperties={}).. ConfigMap(apiVersion=v4, binaryData=null, data={idaas.datatier.topic.name=datatier, idaas.deidentification.topic.name=deidentification, idaas.heda.topic.name=hedainbound, idaas.iot.integration.topic=iot, idaas.kafka.brokers=localhost:9092, idaas.publiccloud.topic.name=cloud, idaas.sdoh.topic.name=sdoh, idaas.terminology.topic.name=terminologies, idaas.ccdapost.topic.name=ccdapost, idaas.hl7post.topic.name=hl7post, idaas.hl7conversion.topic.name=fhir, idaas.ccdaconversion.topic.name=fhirbundle, idaas.port.adt=10001, idaas.port.mdm=10002, idaas.port.mfn=10003, idaas.port.orm=10004, idaas.port.oru=10005, idaas.port.rde=10006, idaas.port.sch=10007, idaas.port.vxu=10008, idaas.convert.CCDAtoFHIR=true, idaas.convert.HL7toFHIR=true, idaas.process.PublicCloud=true, idaas.process.Terminologies=true, idaas.process.Sdoh=true, idaas.process.Deidentification=false, idaas.process.Empi=false, idaas.process.DataTier=false, idaas.process.HEDA=false, idaas.api.deidentification=http://localhost:8001/api/deidentification, idaas.api.empi=http://localhost:8001/api/empi, idaas.api.cloud=urlendpoint}, immutable=null, kind=ConfigMap, metadata=ObjectMeta(annotations=null, clusterName=null, creationTimestamp=null, deletionGracePeriodSeconds=null, deletionTimestamp=null, finalizers=[], generateName=null, generation=null, labels={app=hl7, provider=jkube, version=0.0.2, group=io.integration_framework}, managedFields=[ManagedFieldsEntry(apiVersion=v1, fieldsType=FieldsV1, fieldsV1=FieldsV1(additionalProperties={}), manager=Mozilla, operation=null, time=null, additionalProperties={})], name=hl7, namespace=idaas-v4, ownerReferences=[], resourceVersion=null, selfLink=null, uid=null, additionalProperties={}), additionalProperties={}) -> [Help 1]
To Reproduce
cd //IntegrationFramework-HDF/hl7
Login into the OpenShift console, underneath the user account select the Copy Login Command
Select Display Token Link
Copy the key login details from the OpenShift console underneath the "Log in with this token" section
From a command line copy the entire command and press Enter. This will login you into the OpenShift specific environment
oc project hdf
mvn clean oc:deploy -P openshift -Djkube.generator.from=openshift/fuse7-java11-openshift:1.10 -Djkube.generator.fromMode=istag
Expected behavior
hl7 module of idaas to deploy on to openshift cluster
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Mac OS 13.4 M1 chip
Additional context
Add any other context about the problem here.