-
Rohan CJ authored
- Implement exportable TolerationSet with the following differences: - Change map key to a string to ensure it is deterministic. The old key was a struct that included a pointer. - Sort the outputted list by this key to ensure the order is deterministic. - Get the tolerations from the deployment instead of the pod as pod tolerations are sometimes modified by the system. We only want user provided tolerations in our deployment. - Modify tests to try duplicate keys from different structs. The old way tested duplicate keys using the same structs. Signed-off-by:
Rohan CJ <rohantmp@gmail.com> (cherry picked from commit b16d55f4)
a7ccd2ba