--- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.17.1 name: nbsetupkeys.netbird.io spec: group: netbird.io names: kind: NBSetupKey listKind: NBSetupKeyList plural: nbsetupkeys singular: nbsetupkey scope: Namespaced versions: - name: v1 schema: openAPIV3Schema: description: NBSetupKey is the Schema for the nbsetupkeys 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: NBSetupKeySpec defines the desired state of NBSetupKey. properties: managementURL: description: ManagementURL optional, override operator management URL type: string secretKeyRef: description: SecretKeyRef is a reference to the secret containing the setup key properties: key: description: The key of the secret to select from. Must be a valid secret key. type: string name: default: "" description: |- Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: description: Specify whether the Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic required: - secretKeyRef type: object status: description: NBSetupKeyStatus defines the observed state of NBSetupKey. properties: conditions: items: description: NBCondition defines a condition in NBSetupKey status. properties: lastProbeTime: description: Last time we probed the condition. format: date-time type: string lastTransitionTime: description: Last time the condition transitioned from one status to another. format: date-time type: string message: description: Human-readable message indicating details about last transition. type: string reason: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: description: |- Status is the status of the condition. Can be True, False, Unknown. type: string type: description: Type is the type of the condition. type: string required: - status - type type: object type: array type: object type: object served: true storage: true subresources: status: {}