linkerd2/pkg
Alex Leong d6ef9ea460
Update ServiceProfile CRD to version v1alpha2 and remove validation (#3078)
The openAPIV3Schema validation in the ServiceProfiles CRD is very limited in what it can validate and is obviated by more sophisticated validation done by the validating admission controller.  Therefore, we would like to remove the openAPIV3Schema validation to reduce the size and complexity of the CRD object.

To do so, we must also bump the version of the ServiceProfile custom resource from v1alpha1 to v1alpha2.  This ensures that when the controller is upgraded, it will attempt to watch the v1alpha2 resource.  If it cannot (because, for example, the controller pod started before the ServiceProfile CRD was updated and therefore the v1alpha2 version does not exist) then it will go into a crash loop backoff until it can.  This essentially means that the controller will wait for the CRD to be upgraded to include v1alpha2 before it will start.  

Bumping the version is necessary because if we did not, it would be possible for the controller to start before the CRD is updated (removing the validation).  In this case, when the CRD is edited, the controller will lose its list watch on ServiceProfiles and will stop getting updates.

Signed-off-by: Alex Leong <alex@buoyant.io>
2019-07-23 11:46:31 -07:00
..
addr lint: Enable scopelint (#2364) 2019-02-24 08:59:51 -08:00
admin Add profiling endpoint for all control-plane components (#2739) 2019-04-24 09:59:38 -07:00
config Web server updated to read the UUID from the linkerd-config ConfigMap. (#2603) 2019-04-08 12:56:00 -07:00
filesonly Enable lint check for comments (#2023) 2019-01-02 14:03:59 -08:00
flags Set logrus timestamps on public-api and web startup (#2964) 2019-06-20 10:25:20 -07:00
healthcheck Update ServiceProfile CRD to version v1alpha2 and remove validation (#3078) 2019-07-23 11:46:31 -07:00
identity proxy-identity: Set a CommonName on CSRs (#2626) 2019-04-03 13:54:50 -07:00
inject Add `NET_RAW` capability to the proxy-init container (#2969) 2019-06-19 19:34:37 -07:00
k8s Update ServiceProfile CRD to version v1alpha2 and remove validation (#3078) 2019-07-23 11:46:31 -07:00
profiles Update ServiceProfile CRD to version v1alpha2 and remove validation (#3078) 2019-07-23 11:46:31 -07:00
prometheus Instrument k8s clients (#2243) 2019-02-18 09:10:02 -08:00
tls install: Introduce the Identity controller (#2526) 2019-03-19 17:04:11 -07:00
util Add go linting to CI config (#2018) 2018-12-20 15:33:09 -08:00
version Split proxy-init into separate repo (#2824) 2019-06-03 16:24:05 -05:00