ContainerImage.Pinniped/internal/controller/impersonatorconfig
Matt Moyer 1932b03c39
Refactor createOrUpdateService() method.
This updates the code to use a different mechanism for driving desired state:

- Read existing object
- If it does not exist, create desired object
- If it does exist, make a copy and set all the desired fields
- Do a deepequal to see if an update is necessary.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
2021-05-26 15:03:04 -05:00
..
impersonator_config_test.go Refactor createOrUpdateService() method. 2021-05-26 15:03:04 -05:00
impersonator_config.go Refactor createOrUpdateService() method. 2021-05-26 15:03:04 -05:00