Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
l2sm.l2sm.k8s.local_overlays.yaml 306.73 KiB
# Copyright 2024 Universidad Carlos III de Madrid
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.14.0
  name: overlays.l2sm.l2sm.k8s.local
spec:
  group: l2sm.l2sm.k8s.local
  names:
    kind: Overlay
    listKind: OverlayList
    plural: overlays
    singular: overlay
  scope: Namespaced
  versions:
  - name: v1
    schema:
      openAPIV3Schema:
        description: Overlay is the Schema for the overlays API
        properties:
          apiVersion:
            description: |-
              APIVersion defines the versioned schema of this representation of an object.
              Servers should convert recognized schemas to the latest internal value, and
              may reject unrecognized values.
              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
            type: string
          kind:
            description: |-
              Kind is a string value representing the REST resource this object represents.
              Servers may infer this from the endpoint the client submits requests to.
              Cannot be updated.
              In CamelCase.
              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
            type: string
          metadata:
            type: object
          spec:
            description: OverlaySpec defines the desired state of Overlay
            properties:
              neighbors:
                description: Field exclusive to the multi-domain overlay type. If
                  specified in other  types of overlays, the reosurce will launch
                  an error and won't be created.
                items:
                  properties:
                    domain:
                      description: |-
                        Domain where the neighbor's NED switch can be reached at. Must be a valid IP Address or Domain name, reachable from the node the NED
                        is going to be deployed at.
                      type: string
                    node:
                      description: Name of the cluster the link is going to be made
                        upon.
                      type: string