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.07 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:
              interfaceNumber:
                default: 10
                description: Interface number specifies how many interfaces the switch
                  should have predefined (if used with multus)
                type: integer
              networkController:
                description: The SDN Controller that manages the overlay network.
                  Must specify a domain and a name.
                properties:
                  domain:
                    description: Domain where the controller can be reached at. Must
                      be a valid IP Address or Domain name, reachable from all the
                      nodes where the switches are deployed at.
                    type: string
                  name: