...

Text file src/edge-infra.dev/test/fixtures/crds/linkerd/policy.linkerd.io_server.yaml

Documentation: edge-infra.dev/test/fixtures/crds/linkerd

     1apiVersion: apiextensions.k8s.io/v1
     2kind: CustomResourceDefinition
     3metadata:
     4  name: servers.policy.linkerd.io
     5  labels:
     6    helm.sh/chart: linkerd2-0.1.0
     7    linkerd.io/control-plane-ns: linkerd
     8  annotations:
     9    linkerd.io/created-by: linkerd/cli stable-2.11.4
    10spec:
    11  group: policy.linkerd.io
    12  names:
    13    kind: Server
    14    plural: servers
    15    shortNames: [srv]
    16    singular: server
    17  scope: Namespaced
    18  versions:
    19  - name: v1alpha1
    20    deprecated: true
    21    deprecationWarning: "policy.linkerd.io/v1alpha1 Server is deprecated; use policy.linkerd.io/v1beta1 Server"
    22    schema:
    23      openAPIV3Schema:
    24        type: object
    25        properties:
    26          spec:
    27            type: object
    28            properties:
    29              port:
    30                description: >-
    31                  A port name or number. Must exist in a pod spec.
    32                x-kubernetes-int-or-string: true
    33              podSelector:
    34                type: object
    35                description: >-
    36                  Selects pods in the same namespace.
    37                oneOf:
    38                - required: [matchExpressions]
    39                - required: [matchLabels]
    40                properties:
    41                  matchExpressions:
    42                    type: array
    43                    items:
    44                      type: object
    45                      properties:
    46                        key:
    47                          type: string
    48                        operator:
    49                          type: string
    50                          enum: [In, NotIn, Exists, DoesNotExist]
    51                        values:
    52                          type: array
    53                          items:
    54                            type: string
    55                      required: [key, operator]
    56                  matchLabels:
    57                    type: object
    58                    x-kubernetes-preserve-unknown-fields: true
    59              proxyProtocol:
    60                type: string
    61                default: unknown
    62                description: >-
    63                  Configures protocol discovery for inbound connections.
    64
    65                  Supersedes the `config.linkerd.io/opaque-ports` annotation.
    66                enum:
    67                - unknown
    68                - HTTP/1
    69                - HTTP/2
    70                - gRPC
    71                - opaque
    72                - TLS
    73            required:
    74            - podSelector
    75            - port
    76        required: [spec]
    77    served: true
    78    storage: false
    79  - name: v1beta1
    80    additionalPrinterColumns:
    81    - name: Port
    82      type: string
    83      description: The port the server is listening on
    84      jsonPath: .spec.port
    85    - name: Protocol
    86      type: string
    87      description: The protocol of the server
    88      jsonPath: .spec.proxyProtocol
    89    schema:
    90      openAPIV3Schema:
    91        type: object
    92        properties:
    93          spec:
    94            type: object
    95            properties:
    96              port:
    97                description: >-
    98                  A port name or number. Must exist in a pod spec.
    99                x-kubernetes-int-or-string: true
   100              podSelector:
   101                type: object
   102                description: >-
   103                  Selects pods in the same namespace.
   104
   105                  The result of matchLabels and matchExpressions are ANDed. Selects all if empty.
   106                properties:
   107                  matchExpressions:
   108                    type: array
   109                    items:
   110                      type: object
   111                      properties:
   112                        key:
   113                          type: string
   114                        operator:
   115                          type: string
   116                          enum: [In, NotIn, Exists, DoesNotExist]
   117                        values:
   118                          type: array
   119                          items:
   120                            type: string
   121                      required: [key, operator]
   122                  matchLabels:
   123                    type: object
   124                    x-kubernetes-preserve-unknown-fields: true
   125              proxyProtocol:
   126                type: string
   127                default: unknown
   128                description: >-
   129                  Configures protocol discovery for inbound connections.
   130
   131                  Supersedes the `config.linkerd.io/opaque-ports` annotation.
   132                enum:
   133                - unknown
   134                - HTTP/1
   135                - HTTP/2
   136                - gRPC
   137                - opaque
   138                - TLS
   139            required:
   140            - podSelector
   141            - port
   142        required: [spec]
   143    served: true
   144    storage: true

View as plain text