mirror of https://git.rancher.io/rke2-charts
71 lines
2.6 KiB
YAML
71 lines
2.6 KiB
YAML
---
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
annotations:
|
|
controller-gen.kubebuilder.io/version: v0.14.0
|
|
name: ippools.whereabouts.cni.cncf.io
|
|
spec:
|
|
group: whereabouts.cni.cncf.io
|
|
names:
|
|
kind: IPPool
|
|
listKind: IPPoolList
|
|
plural: ippools
|
|
singular: ippool
|
|
scope: Namespaced
|
|
versions:
|
|
- name: v1alpha1
|
|
schema:
|
|
openAPIV3Schema:
|
|
description: IPPool is the Schema for the ippools 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: IPPoolSpec defines the desired state of IPPool
|
|
properties:
|
|
allocations:
|
|
additionalProperties:
|
|
description: IPAllocation represents metadata about the pod/container
|
|
owner of a specific IP
|
|
properties:
|
|
id:
|
|
type: string
|
|
ifname:
|
|
type: string
|
|
podref:
|
|
type: string
|
|
required:
|
|
- id
|
|
- podref
|
|
type: object
|
|
description: |-
|
|
Allocations is the set of allocated IPs for the given range. Its` indices are a direct mapping to the
|
|
IP with the same index/offset for the pool's range.
|
|
type: object
|
|
range:
|
|
description: Range is a RFC 4632/4291-style string that represents
|
|
an IP address and prefix length in CIDR notation
|
|
type: string
|
|
required:
|
|
- allocations
|
|
- range
|
|
type: object
|
|
type: object
|
|
served: true
|
|
storage: true |