Group, Version, Kind, Meta

This is the initial section of your YAML file that you need to specify in all cases.

You need to add the following section to the top of each NiFi Registry CR you write. It defines the groupcfm.cloudera.com”, the versionv1alpha1”, the kindNifiRegistry”, and the name of your cluster and the nodes. It can also specify the namespace in which resources will be deployed. It is expected that a single NiFi cluster is deployed in a given namespace. You can also specify namespace during deployment, if that is what you want, omit namespace from the CR.

apiVersion: cfm.cloudera.com/v1alpha
kind: NifiRegistry
metadata:
  name:[***NIFI REGISTRY NAME***]