sip/config
Drew Walters 2a5dacae95 Add infra service type validation to SIP CR
Each infrastructure service in the SIPCluster custom resource should be
a descendant of a key that is a valid service type; however, errors in
the name of an infrastructure service type are only logged as info;
processing of the SIP CR continues even when an infrastructure service
type is invalid.

This change introduces up-front validation by adding a new field to the
infrastructure service config, serviceType. When a serviceType is
invalid, SIP will not begin processing the CR because the Kubernetes API
server will reject the SIPCluster resource. The key under which an
infrastructure service resides is now treated as an arbitrary value.

Signed-off-by: Drew Walters <andrew.walters@att.com>
Change-Id: I082dac7eae6893decfca12227caf0ea50bc1fa30
2021-02-01 21:13:48 +00:00
..
2020-11-18 14:13:01 -06:00
WIP
2020-10-25 16:31:55 -04:00
2021-01-22 18:06:31 +00:00