Adds the current file to the list of external schema specifications if it contains a CustomResourceDefinition.