mirror of
https://github.com/kairos-io/osbuilder.git
synced 2025-04-27 11:11:44 +00:00
103 lines
3.5 KiB
YAML
103 lines
3.5 KiB
YAML
---
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
annotations:
|
|
controller-gen.kubebuilder.io/version: v0.9.0
|
|
creationTimestamp: null
|
|
name: osartifacts.build.kairos.io
|
|
spec:
|
|
group: build.kairos.io
|
|
names:
|
|
kind: OSArtifact
|
|
listKind: OSArtifactList
|
|
plural: osartifacts
|
|
singular: osartifact
|
|
scope: Namespaced
|
|
versions:
|
|
- name: v1alpha1
|
|
schema:
|
|
openAPIV3Schema:
|
|
description: OSArtifact is the Schema for the osartifacts 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: OSArtifactSpec defines the desired state of OSArtifact
|
|
properties:
|
|
bundles:
|
|
items:
|
|
type: string
|
|
type: array
|
|
cloudConfig:
|
|
description: 'TODO: treat cloudconfig as a secret, and take a secretRef
|
|
where to store it (optionally)'
|
|
type: string
|
|
grubConfig:
|
|
type: string
|
|
imageName:
|
|
description: Foo is an example field of OSArtifact. Edit osartifact_types.go
|
|
to remove/update
|
|
type: string
|
|
iso:
|
|
type: boolean
|
|
osRelease:
|
|
type: string
|
|
pull:
|
|
properties:
|
|
containerRegistryCredentials:
|
|
properties:
|
|
key:
|
|
type: string
|
|
name:
|
|
type: string
|
|
namespace:
|
|
type: string
|
|
required:
|
|
- name
|
|
type: object
|
|
type: object
|
|
push:
|
|
properties:
|
|
containerRegistryCredentials:
|
|
properties:
|
|
key:
|
|
type: string
|
|
name:
|
|
type: string
|
|
namespace:
|
|
type: string
|
|
required:
|
|
- name
|
|
type: object
|
|
imageName:
|
|
type: string
|
|
push:
|
|
type: boolean
|
|
type: object
|
|
type: object
|
|
status:
|
|
description: OSArtifactStatus defines the observed state of OSArtifact
|
|
properties:
|
|
phase:
|
|
description: 'INSERT ADDITIONAL STATUS FIELD - define observed state
|
|
of cluster Important: Run "make" to regenerate code after modifying
|
|
this file'
|
|
type: string
|
|
type: object
|
|
type: object
|
|
served: true
|
|
storage: true
|
|
subresources:
|
|
status: {}
|