linkerd2/controller/gen/apis
Alejandro Pedraza a268ff11c9
Allow `Server` CRD to have empty `PodSelector` (#7925)
Fixes #7904

Allow the `Server` CRD to have the `PodSelector` entry be an empty object, by removing the `omitempty` tag from its go type definition and the `oneof` section in the CRD. No update to the CRD version is required, as this is BC change -- The CRD overriding was tested fine.

Also added some unit tests to confirm podSelector conditions are ANDed, and some minor refactorings in the `Selector` constructors.

Co-authored-by: Oliver Gould <ver@buoyant.io>
2022-02-23 13:45:34 +00:00
..
link add mc crd to codegen (#7335) 2021-11-23 15:49:14 -07:00
server Allow `Server` CRD to have empty `PodSelector` (#7925) 2022-02-23 13:45:34 +00:00
serverauthorization add mc crd to codegen (#7335) 2021-11-23 15:49:14 -07:00
serviceprofile add mc crd to codegen (#7335) 2021-11-23 15:49:14 -07:00