mirror of
https://github.com/guilhem/headscale-operator.git
synced 2024-11-24 12:32:54 +00:00
77 lines
2.4 KiB
YAML
77 lines
2.4 KiB
YAML
---
|
|
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: {}
|