Add custom resource definition