github.com/ferryproxy/api@v0.4.2/config/crd/bases/traffic.ferryproxy.io_routes.yaml (about)

     1  ---
     2  apiVersion: apiextensions.k8s.io/v1
     3  kind: CustomResourceDefinition
     4  metadata:
     5    annotations:
     6      controller-gen.kubebuilder.io/version: v0.9.2
     7    creationTimestamp: null
     8    name: routes.traffic.ferryproxy.io
     9  spec:
    10    group: traffic.ferryproxy.io
    11    names:
    12      kind: Route
    13      listKind: RouteList
    14      plural: routes
    15      singular: route
    16    scope: Namespaced
    17    versions:
    18    - additionalPrinterColumns:
    19      - jsonPath: .status.export
    20        name: export
    21        type: string
    22      - jsonPath: .status.way
    23        name: way
    24        type: string
    25      - jsonPath: .status.import
    26        name: import
    27        type: string
    28      - jsonPath: .status.phase
    29        name: status
    30        type: string
    31      - jsonPath: .status.lastSynchronizationTimestamp
    32        name: last-synchronization
    33        type: date
    34      - jsonPath: .metadata.creationTimestamp
    35        name: age
    36        type: date
    37      name: v1alpha2
    38      schema:
    39        openAPIV3Schema:
    40          description: Route is the Schema for the routes API
    41          properties:
    42            apiVersion:
    43              description: 'APIVersion defines the versioned schema of this representation
    44                of an object. Servers should convert recognized schemas to the latest
    45                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    46              type: string
    47            kind:
    48              description: 'Kind is a string value representing the REST resource this
    49                object represents. Servers may infer this from the endpoint the client
    50                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    51              type: string
    52            metadata:
    53              type: object
    54            spec:
    55              description: RouteSpec defines the desired state of Route
    56              properties:
    57                export:
    58                  description: Export is one of export of the Route
    59                  properties:
    60                    hubName:
    61                      description: HubName is specifies the name of the Hub
    62                      type: string
    63                    service:
    64                      description: Service is the service
    65                      properties:
    66                        name:
    67                          description: Name is the service name
    68                          type: string
    69                        namespace:
    70                          description: Namespace is the service namespace
    71                          type: string
    72                      required:
    73                      - name
    74                      - namespace
    75                      type: object
    76                  required:
    77                  - hubName
    78                  - service
    79                  type: object
    80                import:
    81                  description: Import is one of import of the Route
    82                  properties:
    83                    hubName:
    84                      description: HubName is specifies the name of the Hub
    85                      type: string
    86                    service:
    87                      description: Service is the service
    88                      properties:
    89                        name:
    90                          description: Name is the service name
    91                          type: string
    92                        namespace:
    93                          description: Namespace is the service namespace
    94                          type: string
    95                      required:
    96                      - name
    97                      - namespace
    98                      type: object
    99                  required:
   100                  - hubName
   101                  - service
   102                  type: object
   103              required:
   104              - export
   105              - import
   106              type: object
   107            status:
   108              description: RouteStatus defines the observed state of Route
   109              properties:
   110                conditions:
   111                  description: Conditions current service state
   112                  items:
   113                    description: "Condition contains details for one aspect of the current
   114                      state of this API Resource. --- This struct is intended for direct
   115                      use as an array at the field path .status.conditions.  For example,
   116                      type FooStatus struct{ // Represents the observations of a foo's
   117                      current state. // Known .status.conditions.type are: \"Available\",
   118                      \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
   119                      // +listType=map // +listMapKey=type Conditions []metav1.Condition
   120                      `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
   121                      protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
   122                    properties:
   123                      lastTransitionTime:
   124                        description: lastTransitionTime is the last time the condition
   125                          transitioned from one status to another. This should be when
   126                          the underlying condition changed.  If that is not known, then
   127                          using the time when the API field changed is acceptable.
   128                        format: date-time
   129                        type: string
   130                      message:
   131                        description: message is a human readable message indicating
   132                          details about the transition. This may be an empty string.
   133                        maxLength: 32768
   134                        type: string
   135                      observedGeneration:
   136                        description: observedGeneration represents the .metadata.generation
   137                          that the condition was set based upon. For instance, if .metadata.generation
   138                          is currently 12, but the .status.conditions[x].observedGeneration
   139                          is 9, the condition is out of date with respect to the current
   140                          state of the instance.
   141                        format: int64
   142                        minimum: 0
   143                        type: integer
   144                      reason:
   145                        description: reason contains a programmatic identifier indicating
   146                          the reason for the condition's last transition. Producers
   147                          of specific condition types may define expected values and
   148                          meanings for this field, and whether the values are considered
   149                          a guaranteed API. The value should be a CamelCase string.
   150                          This field may not be empty.
   151                        maxLength: 1024
   152                        minLength: 1
   153                        pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
   154                        type: string
   155                      status:
   156                        description: status of the condition, one of True, False, Unknown.
   157                        enum:
   158                        - "True"
   159                        - "False"
   160                        - Unknown
   161                        type: string
   162                      type:
   163                        description: type of condition in CamelCase or in foo.example.com/CamelCase.
   164                          --- Many .condition.type values are consistent across resources
   165                          like Available, but because arbitrary conditions can be useful
   166                          (see .node.status.conditions), the ability to deconflict is
   167                          important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
   168                        maxLength: 316
   169                        pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
   170                        type: string
   171                    required:
   172                    - lastTransitionTime
   173                    - message
   174                    - reason
   175                    - status
   176                    - type
   177                    type: object
   178                  type: array
   179                export:
   180                  description: Export is describe of the export
   181                  type: string
   182                import:
   183                  description: Import is describe of the import
   184                  type: string
   185                lastSynchronizationTimestamp:
   186                  description: LastSynchronizationTimestamp is the last time synchronization
   187                  format: date-time
   188                  type: string
   189                phase:
   190                  description: Phase is the phase of the Route
   191                  type: string
   192                way:
   193                  description: Way is describe of the way
   194                  type: string
   195              type: object
   196          type: object
   197      served: true
   198      storage: true
   199      subresources:
   200        status: {}