getting started with kubebuilder

This commit is contained in:
2025-03-19 22:21:54 +01:00
parent 3b98f9aced
commit fbfe7b9986
69 changed files with 4066 additions and 217 deletions

View File

@ -0,0 +1,54 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.2
name: bitwardensecrets.lerentis.uploadfilter24.eu.lerentis.uploadfilter24.eu
spec:
group: lerentis.uploadfilter24.eu.lerentis.uploadfilter24.eu
names:
kind: BitwardenSecret
listKind: BitwardenSecretList
plural: bitwardensecrets
singular: bitwardensecret
scope: Namespaced
versions:
- name: v1
schema:
openAPIV3Schema:
description: BitwardenSecret is the Schema for the bitwardensecrets 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: BitwardenSecretSpec defines the desired state of BitwardenSecret.
properties:
foo:
description: Foo is an example field of BitwardenSecret. Edit bitwardensecret_types.go
to remove/update
type: string
type: object
status:
description: BitwardenSecretStatus defines the observed state of BitwardenSecret.
type: object
type: object
served: true
storage: true
subresources:
status: {}

View File

@ -0,0 +1,54 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.2
name: bitwardentemplates.lerentis.uploadfilter24.eu.lerentis.uploadfilter24.eu
spec:
group: lerentis.uploadfilter24.eu.lerentis.uploadfilter24.eu
names:
kind: BitwardenTemplate
listKind: BitwardenTemplateList
plural: bitwardentemplates
singular: bitwardentemplate
scope: Namespaced
versions:
- name: v1
schema:
openAPIV3Schema:
description: BitwardenTemplate is the Schema for the bitwardentemplates 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: BitwardenTemplateSpec defines the desired state of BitwardenTemplate.
properties:
foo:
description: Foo is an example field of BitwardenTemplate. Edit bitwardentemplate_types.go
to remove/update
type: string
type: object
status:
description: BitwardenTemplateStatus defines the observed state of BitwardenTemplate.
type: object
type: object
served: true
storage: true
subresources:
status: {}

View File

@ -0,0 +1,55 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.2
name: registrycredentials.lerentis.uploadfilter24.eu.lerentis.uploadfilter24.eu
spec:
group: lerentis.uploadfilter24.eu.lerentis.uploadfilter24.eu
names:
kind: RegistryCredential
listKind: RegistryCredentialList
plural: registrycredentials
singular: registrycredential
scope: Namespaced
versions:
- name: v1
schema:
openAPIV3Schema:
description: RegistryCredential is the Schema for the registrycredentials
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: RegistryCredentialSpec defines the desired state of RegistryCredential.
properties:
foo:
description: Foo is an example field of RegistryCredential. Edit registrycredential_types.go
to remove/update
type: string
type: object
status:
description: RegistryCredentialStatus defines the observed state of RegistryCredential.
type: object
type: object
served: true
storage: true
subresources:
status: {}