diff --git a/app/components/container/form-volumes/component.js b/app/components/container/form-volumes/component.js index 592ce9a89..0b04add88 100644 --- a/app/components/container/form-volumes/component.js +++ b/app/components/container/form-volumes/component.js @@ -315,7 +315,7 @@ export default Component.extend({ } } else { found = store.all('namespacedSecret').findBy('type', secretName); - if ( get(found, 'type') === 'namespacedCertificate' ) { + if ( found && get(found, 'type') === 'namespacedCertificate' ) { return C.VOLUME_TYPES.CERTIFICATE; } }