Skip to content

Unable to provision an OpenShift template from UI, when the CustomResource object in the OpenShift template has "spec.template" as a property defined #2136

@sharafcmr

Description

@sharafcmr

Unable to provision an OpenShift template from UI, when the CustomResource object in the OpenShift template has "spec.template" as a property defined

Describe the bug
Provisioning a cluster from OpenShift console is not proceeding after you click "create" button when you have "template" property(eg: Kafkaconnects2i.spec.template.pod.labels) defined in Kafkamirrormaker, Kafkaconnect or Kafkaconnects2i OpenShift templates. Provisioning works fine via oc process command.

To Reproduce
Steps to reproduce the behavior:

Create a Kafkaconnect/kafkamirrormaker/kafkaconnects2i template with custom pod/deployment/statefulset option which has template parameter configured in the CR object to add a label

Refer strimzi/strimzi-kafka-operator#1831 for an example template

Provision a kafkaconnects2i instance using above created template from UI. After clicking create button in the template provisioning window, it wont proceed to the creation of custom resource. Even after clicking "create" button multiple times, the provisioning window will still remain in the same stage.
See error
Expected behavior
It was expected to create a kafkaconnects2i custom resource and start a kafka connect pod

Environment

Strimzi version: 0.11.1-AMQ Streams 1.1.1
Kubernetes cluster: OpenShift 3.11
Infrastructure: GCP
Additional context

Add any other context about the problem here.

Provisioning succeeds when i use oc process command using the same template

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions