AppDB security.certsSecretPrefix nil pointer dereference

After setup my OpsManager cluster, I tried to configure the tls for app and appdb but unfortunately the appdb setup fails with a nil pointer dereference. The app tls works fine.

│ spec:                                                                                                                                                                                            
│   adminCredentials: om-admin-secret                                                                                                                                                              
│   applicationDatabase:                                                                                                                                                                           
│     members: 3                                                                                                                                                                                   
│     security:                                                                                                                                                                                    
│       certsSecretPrefix: opsmanager                                                                                                                                                              
│     version: 5.0.1-ent                                                                                                                                                                           

the secret is named: opsmanager-opsmanager-db-cert.

operator logs:

{"level":"info","ts":1653904699.9838214,"caller":"operator/appdbreplicaset_controller.go:139","msg":"AppDB ReplicaSet.Reconcile","ReplicaSet (AppDB)":"mongodb-operator/opsmanager-db"}
{"level":"info","ts":1653904699.9838493,"caller":"operator/appdbreplicaset_controller.go:140","msg":"ReplicaSet.Spec","ReplicaSet (AppDB)":"mongodb-operator/opsmanager-db","spec":{"version":"5.0.1-ent","members":3,"podSpec":{"podAffinity":null,"nodeAffinity":null,"podTemplate":null},"security":{"authentication":{"enabled":false,"modes":["SCRAM"],"agents":{"mode":"","automationUserName":"","automationPasswordSecretRef":{"key":""},"automationLdapGroupDN":"","clientCertificateSecretRef":{"key":""}}},"certsSecretPrefix":"opsmanager"},"clusterDomain":"cluster.local","type":"ReplicaSet","additionalMongodConfig":{},"agent":{"startupOptions":null},"monitoringAgent":{"startupOptions":null}}}
{"level":"info","ts":1653904699.9839294,"caller":"operator/appdbreplicaset_controller.go:141","msg":"ReplicaSet.Status","ReplicaSet (AppDB)":"mongodb-operator/opsmanager-db","status":{"phase":"Reconciling","lastTransition":"2022-05-30T09:57:48Z","observedGeneration":10,"members":3,"version":"5.0.1-ent"}}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x150b347]

goroutine 556 [running]:
github.com/10gen/ops-manager-kubernetes/controllers/operator/certs.AppDBReplicaSetConfig({{{0x1604749, 0x11}, {0xc000878bb0, 0xe}}, {{0xc000878ac6, 0xa}, {0x0, 0x0}, {0xc000878ad0, 0x10}, ...}, ...})
	/go/src/github.com/10gen/ops-manager-kubernetes/controllers/operator/certs/cert_configurations.go:188 +0x6a7
github.com/10gen/ops-manager-kubernetes/controllers/operator.(*ReconcileAppDbReplicaSet).ensureTLSSecretAndCreatePEMIfNeeded(_, {{{0x1604749, 0x11}, {0xc000878bb0, 0xe}}, {{0xc000878ac6, 0xa}, {0x0, 0x0}, {0xc000878ad0, ...}, ...}, ...}, ...)
	/go/src/github.com/10gen/ops-manager-kubernetes/controllers/operator/appdbreplicaset_controller.go:366 +0x70d
github.com/10gen/ops-manager-kubernetes/controllers/operator.(*ReconcileAppDbReplicaSet).ReconcileAppDB(0xc000885850, 0xc0004cc000, {0xc00069fe80, 0xc})
	/go/src/github.com/10gen/ops-manager-kubernetes/controllers/operator/appdbreplicaset_controller.go:177 +0xbfd
github.com/10gen/ops-manager-kubernetes/controllers/operator.(*OpsManagerReconciler).Reconcile(0xc00039ec00, {0x1c68a28, 0xc00034eae0}, {{{0xc0006dbc50, 0x10}, {0xc0006dbc46, 0xa}}})
	/go/src/github.com/10gen/ops-manager-kubernetes/controllers/operator/mongodbopsmanager_controller.go:172 +0x18f4
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile(0xc0001d99a0, {0x1c68a28, 0xc00034ea20}, {{{0xc0006dbc50, 0x18099a0}, {0xc0006dbc46, 0xc0009e15c0}}})
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.3/pkg/internal/controller/controller.go:114 +0x222
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler(0xc0001d99a0, {0x1c68980, 0xc000362840}, {0x17a8fa0, 0xc00007e440})
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.3/pkg/internal/controller/controller.go:311 +0x2f2
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem(0xc0001d99a0, {0x1c68980, 0xc000362840})
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.3/pkg/internal/controller/controller.go:266 +0x205
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2()
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.3/pkg/internal/controller/controller.go:227 +0x85
created by sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.3/pkg/internal/controller/controller.go:223 +0x356