headscale-operator/config/crd/bases/headscale.barpilot.io_preauthkeys.yaml

77 lines
2.4 KiB
YAML
Raw Permalink Normal View History

2022-05-31 01:14:39 +00:00
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.0
creationTimestamp: null
name: preauthkeys.headscale.barpilot.io
spec:
group: headscale.barpilot.io
names:
kind: PreAuthKey
listKind: PreAuthKeyList
plural: preauthkeys
singular: preauthkey
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: PreAuthKey is the Schema for the preauthkeys 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: PreAuthKeySpec defines the desired state of PreAuthKey
properties:
duration:
type: string
ephemeral:
type: boolean
namespace:
type: string
reusable:
type: boolean
required:
- duration
- ephemeral
- namespace
- reusable
type: object
status:
description: PreAuthKeyStatus defines the observed state of PreAuthKey
properties:
createdAt:
type: string
expiration:
type: string
id:
type: string
key:
type: string
used:
type: boolean
required:
- createdAt
- expiration
- id
- key
- used
type: object
type: object
served: true
storage: true
subresources:
status: {}