How does my spouses discharge affect my clearance

Were you aware of her illegal drug use? If so, then it may be an issue. Have you reported this information to your security officer? If not, I would do so ASAP. The issue is that you cohabitate/associate with a drug user. What are you/have you done to resolve it?