crd/overlayextensionconfig/manifests/acn.azure.com_overlayextensionconfigs.yaml (82 lines of code) (raw):
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.3
name: overlayextensionconfigs.acn.azure.com
spec:
group: acn.azure.com
names:
kind: OverlayExtensionConfig
listKind: OverlayExtensionConfigList
plural: overlayextensionconfigs
shortNames:
- oec
singular: overlayextensionconfig
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .spec.extensionIPRange
name: OverlayExtensionConfig IP range
priority: 1
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: OverlayExtensionConfig is the Schema for the overlayextensionconfigs
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: OverlayExtensionConfigSpec defines the desired state of OverlayExtensionConfig.
properties:
extensionIPRange:
description: |-
ExtensionIPRange field defines a CIDR that should be able to reach routing domain ip addresses.
43 is max length of IPv6 CIDR string
maxLength: 43
type: string
x-kubernetes-validations:
- message: Value is immutable
rule: self == oldSelf
type: object
x-kubernetes-validations:
- message: ExtensionIPRange is required once set
rule: '!has(oldSelf.extensionIPRange) || has(self.extensionIPRange)'
status:
description: OverlayExtensionConfigStatus defines the observed state of
OverlayExtensionConfig
properties:
message:
type: string
state:
default: None
enum:
- None
- Pending
- Succeeded
- Failed
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}