106 lines
3.7 KiB
YAML
106 lines
3.7 KiB
YAML
---
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
annotations:
|
|
controller-gen.kubebuilder.io/version: v0.17.2
|
|
name: networkconfigurations.unifi.engen.priv.no
|
|
spec:
|
|
group: unifi.engen.priv.no
|
|
names:
|
|
kind: Networkconfiguration
|
|
listKind: NetworkconfigurationList
|
|
plural: networkconfigurations
|
|
singular: networkconfiguration
|
|
scope: Namespaced
|
|
versions:
|
|
- name: v1beta1
|
|
schema:
|
|
openAPIV3Schema:
|
|
description: Networkconfiguration is the Schema for the networkconfigurations
|
|
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: NetworkconfigurationSpec defines the desired state of Networkconfiguration.
|
|
properties:
|
|
enabled:
|
|
description: Foo is an example field of Networkconfiguration. Edit
|
|
networkconfiguration_types.go to remove/update
|
|
type: boolean
|
|
firewall_zone:
|
|
type: string
|
|
gateway_type:
|
|
type: string
|
|
ip_subnet:
|
|
type: string
|
|
ipv6_interface_type:
|
|
type: string
|
|
ipv6_pd_auto_prefixid_enabled:
|
|
type: boolean
|
|
ipv6_ra_enabled:
|
|
type: boolean
|
|
ipv6_setting_preference:
|
|
type: string
|
|
ipv6_subnet:
|
|
type: string
|
|
name:
|
|
type: string
|
|
network_id:
|
|
type: string
|
|
networkgroup:
|
|
type: string
|
|
purpose:
|
|
type: string
|
|
setting_preference:
|
|
type: string
|
|
vlan:
|
|
format: int64
|
|
type: integer
|
|
vlan_enabled:
|
|
type: boolean
|
|
required:
|
|
- name
|
|
type: object
|
|
status:
|
|
description: NetworkconfigurationStatus defines the observed state of
|
|
Networkconfiguration.
|
|
properties:
|
|
firewall_zone_id:
|
|
description: |-
|
|
INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
|
|
Important: Run "make" to regenerate code after modifying this file
|
|
type: string
|
|
ipv6_subnet_status:
|
|
type: string
|
|
lastSyncTime:
|
|
description: LastSyncTime is the last time the object was synced
|
|
format: date-time
|
|
type: string
|
|
syncedWithUnifi:
|
|
description: SyncedWithUnifi indicates whether the addresses are successfully
|
|
pushed
|
|
type: boolean
|
|
type: object
|
|
type: object
|
|
served: true
|
|
storage: true
|
|
subresources:
|
|
status: {}
|