apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: servers.policy.linkerd.io labels: helm.sh/chart: linkerd2-0.1.0 linkerd.io/control-plane-ns: linkerd annotations: linkerd.io/created-by: linkerd/cli stable-2.11.4 spec: group: policy.linkerd.io names: kind: Server plural: servers shortNames: [srv] singular: server scope: Namespaced versions: - name: v1alpha1 deprecated: true deprecationWarning: "policy.linkerd.io/v1alpha1 Server is deprecated; use policy.linkerd.io/v1beta1 Server" schema: openAPIV3Schema: type: object properties: spec: type: object properties: port: description: >- A port name or number. Must exist in a pod spec. x-kubernetes-int-or-string: true podSelector: type: object description: >- Selects pods in the same namespace. oneOf: - required: [matchExpressions] - required: [matchLabels] properties: matchExpressions: type: array items: type: object properties: key: type: string operator: type: string enum: [In, NotIn, Exists, DoesNotExist] values: type: array items: type: string required: [key, operator] matchLabels: type: object x-kubernetes-preserve-unknown-fields: true proxyProtocol: type: string default: unknown description: >- Configures protocol discovery for inbound connections. Supersedes the `config.linkerd.io/opaque-ports` annotation. enum: - unknown - HTTP/1 - HTTP/2 - gRPC - opaque - TLS required: - podSelector - port required: [spec] served: true storage: false - name: v1beta1 additionalPrinterColumns: - name: Port type: string description: The port the server is listening on jsonPath: .spec.port - name: Protocol type: string description: The protocol of the server jsonPath: .spec.proxyProtocol schema: openAPIV3Schema: type: object properties: spec: type: object properties: port: description: >- A port name or number. Must exist in a pod spec. x-kubernetes-int-or-string: true podSelector: type: object description: >- Selects pods in the same namespace. The result of matchLabels and matchExpressions are ANDed. Selects all if empty. properties: matchExpressions: type: array items: type: object properties: key: type: string operator: type: string enum: [In, NotIn, Exists, DoesNotExist] values: type: array items: type: string required: [key, operator] matchLabels: type: object x-kubernetes-preserve-unknown-fields: true proxyProtocol: type: string default: unknown description: >- Configures protocol discovery for inbound connections. Supersedes the `config.linkerd.io/opaque-ports` annotation. enum: - unknown - HTTP/1 - HTTP/2 - gRPC - opaque - TLS required: - podSelector - port required: [spec] served: true storage: true