• Janet Kuo's avatar
    Add DaemonSet templateGeneration validation and tests, and fix a bunch of validation test errors · 076fd620
    Janet Kuo authored
    1. Validate that templateGeneration is increased when and only when template is changed
    2. Validate that templateGeneration is never decreased
    3. Added validation tests for templateGeneration
    4. Fix a bunch of errors in validate tests, for example, all validation test error cases failed
       on lack of resource version, or on name changes, not on the real validation we wanted to test
    076fd620
Name
Last commit
Last update
..
install Loading commit data...
v1beta1 Loading commit data...
validation Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
doc.go Loading commit data...
helpers.go Loading commit data...
helpers_test.go Loading commit data...
register.go Loading commit data...
types.go Loading commit data...
zz_generated.deepcopy.go Loading commit data...