You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Defining a Kafka cluster resource without a configurationInfo: section causes the provider-aws controller to panic with a nil pointer dereference, and strands the Kafka cluster deployment in the CannotInitializeManagedResource state. The configurationInfo block is also not marked as required on the CRD. MSK will use a default configuration for broker nodes if one is not defined per the aws docs and the terraform msk cluster resource from the aws terraform provider.
What happened?
Defining a Kafka
cluster
resource without aconfigurationInfo:
section causes the provider-aws controller to panic with a nil pointer dereference, and strands the Kafka cluster deployment in theCannotInitializeManagedResource
state. TheconfigurationInfo
block is also not marked as required on the CRD. MSK will use a default configuration for broker nodes if one is not defined per the aws docs and the terraform msk cluster resource from the aws terraform provider.The code throwing the panic is here: kafka/cluster/setup.go#L131-134
Panic Log
How can we reproduce it?
Example manifest of a minimal deployment of a Kafka cluster that results in a panic for the controller added below.
Example Manifest:
What environment did it happen in?
Crossplane version: v1.5.0
Provider-Aws Version: v0.28.0
Kubernetes Version: 1.21
Platform: EKS
The text was updated successfully, but these errors were encountered: