--- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: zonefiles.kubi.zone spec: group: kubi.zone names: categories: [] kind: ZoneFile plural: zonefiles shortNames: [] singular: zonefile scope: Namespaced versions: - additionalPrinterColumns: [] name: v1alpha1 schema: openAPIV3Schema: description: Auto-generated derived type for ZoneFileSpec via `CustomResource` properties: spec: description: A [`ZoneFile`] references an upstream [`Zone`](kubizone_crds::Zone) and (re)builds a configmap of the same name, whenever the zone changes, automatically incrementing serials as necessary. properties: configMapName: nullable: true type: string zoneRefs: description: Reference to a [`Zone`](kubizone_crds::Zone), optionally in a different namespace. items: properties: name: type: string namespace: nullable: true type: string required: - name type: object type: array required: - zoneRefs type: object status: description: Describes the current state of the [`ZoneFile`], tracks state of the upstream [`Zone`](kubizone_crds::Zone), to determine when the output `ConfigMap` should be re-generated. nullable: true properties: hash: additionalProperties: type: string description: |- Last observed hash of the upstream [`Zone`](kubizone_crds::Zone) Used by the zonefile controller to trigger configmap rebuilds and zone serial rotation. type: object serial: additionalProperties: format: uint32 minimum: 0.0 type: integer description: |- Serial of the latest generated zonefile. The zonefile controller will automatically increment this value whenever the zonefile configmap is rebuilt, in accordance with [RFC 1912](https://datatracker.ietf.org/doc/html/rfc1912#section-2.2) type: object required: - hash - serial type: object required: - spec title: ZoneFile type: object served: true storage: true subresources: status: {}