It probably depends on how you respond to changing squat/deadlift frequency and/or using different variations. One option is to focus on deadlifts and the muscles that build the deadlift (can include squat variations) without worrying about squat strength. A second option is to keep the comp squat if it has great carryover to your deadlift.
It depends on what works best for you. It also depends on whether you want to put up the biggest deadlift possible or just manage a deadlift PR while sticking to the main goal of getting your total up (even though it's only a push/pull meet) - that can even be the same goal.
For your knee issue, it depends what range of motion or type of movement affects it. Are you able to do front squats, high bar squats, zercher squats, pin squats, leg presses, leg extensions etc. without stressing it too much. And if so, how heavy can you go?
Personally I would just focus on deadlifts to allow my knees to recover. If I were deadlifting 2-4 times a week I might not need much assistance work. If I were only deadlifting once a week I would make sure to stimulate the muscle groups that aren't being trained enough when deadlifting, which can include anterior dominant or posterior dominant work depending on strengths (if muscle aren't getting enough volume) or weaknesses (if muscles aren't getting enough volume). IMO, all muscles need to be trained.
To maintain technique in any lift, I found that working up to a few reps at around 80% once each week is enough.