linkerd2/controller/gen/apis/server/v1beta1
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
..
doc.go Add policy CRD APIs (#7095) 2021-10-22 15:54:09 -06:00
register.go Add policy CRD APIs (#7095) 2021-10-22 15:54:09 -06:00
types.go Allow `Server` CRD to have empty `PodSelector` (#7925) 2022-02-23 13:45:34 +00:00
zz_generated.deepcopy.go add mc crd to codegen (#7335) 2021-11-23 15:49:14 -07:00