For completeness, I wondered how many cards would be required to give the complete set of patterns.
If we number the positions in the 5x5 grid such that the top row has positions 1-5, the second row has 6-10 and so on, the grid positions can be converted to a sequence and we can use the permutation formula to find the number of arrangements. To account for rotations, we can divide the final value by 4 since every arrangement can be rotated and is therefore valid.
Of the 25 cards, there are 7 white, 8 red, 8 blue, 1 black and 1 double agent that can be red or blue, also deciding which team goes first. We can treat this final card as one of a kind, then double the formula output to account for cases where it is swapped to the other team.
Permutations of a multiset has a standard formula [0] that calculates a result from these values (rolling in the double agent factor of 2 and rotation division factor of 4):
25! / (7!8!8!1!1! * 2) = 946,551,177,000
(edit: as pointed out, this is 9 times too large as the double agent can indistinguishably replace each of the other 8 cards - a corrected value is 105,172,353,000)
This is (edit: still) more layout cards than have ever been printed across all production runs of Codenames, and would probably not fit into the current box size.
[0] https://en.wikipedia.org/wiki/Multinomial_theorem#Number_of_...