split-horizon-operator/config/crd/bases/dns.mayers.cloud_technitiumauthorities.yaml
2025-04-11 16:23:52 +02:00

103 lines
3.6 KiB
YAML

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
name: technitiumauthorities.dns.mayers.cloud
spec:
group: dns.mayers.cloud
names:
kind: TechnitiumAuthority
listKind: TechnitiumAuthorityList
plural: technitiumauthorities
singular: technitiumauthority
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: TechnitiumAuthority is the Schema for the technitiumauthorities
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: TechnitiumAuthoritySpec defines the desired state of TechnitiumAuthority
properties:
dnsApp.config:
type: string
primary:
description: AuthorityEndpoint defines the API endpoint and credentials
properties:
apiKeySecretRef:
description: SecretKeySelector defines the reference to a key
inside a Kubernetes Secret
properties:
key:
type: string
name:
type: string
required:
- key
- name
type: object
endpoint:
type: string
required:
- apiKeySecretRef
- endpoint
type: object
secondaries:
items:
description: AuthorityEndpoint defines the API endpoint and credentials
properties:
apiKeySecretRef:
description: SecretKeySelector defines the reference to a key
inside a Kubernetes Secret
properties:
key:
type: string
name:
type: string
required:
- key
- name
type: object
endpoint:
type: string
required:
- apiKeySecretRef
- endpoint
type: object
type: array
zone:
type: string
required:
- dnsApp.config
- primary
- zone
type: object
status:
description: TechnitiumAuthorityStatus defines the observed state of TechnitiumAuthority
type: object
type: object
served: true
storage: true
subresources:
status: {}