deploy-templates/crds/v2.edp.epam.com_jenkinsjobs.yaml (180 lines of code) (raw):
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
creationTimestamp: null
name: jenkinsjobs.v2.edp.epam.com
spec:
group: v2.edp.epam.com
names:
kind: JenkinsJob
listKind: JenkinsJobList
plural: jenkinsjobs
singular: jenkinsjob
scope: Namespaced
versions:
- name: v1
schema:
openAPIV3Schema:
description: JenkinsJob is the Schema for the jenkinsjob 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:
properties:
jenkinsFolder:
nullable: true
type: string
job:
properties:
autoTriggerPeriod:
format: int32
nullable: true
type: integer
config:
type: string
name:
type: string
required:
- config
- name
type: object
ownerName:
nullable: true
type: string
stageName:
nullable: true
type: string
required:
- job
type: object
status:
description: JenkinsJobStatus defines the observed state of JenkinsJob.
properties:
action:
type: string
available:
type: boolean
detailedMessage:
type: string
lastTimeUpdated:
format: date-time
type: string
result:
type: string
status:
type: string
username:
type: string
value:
type: string
required:
- action
- detailedMessage
- result
- username
- value
type: object
type: object
served: true
storage: true
subresources:
status: {}
- deprecated: true
name: v1alpha1
schema:
openAPIV3Schema:
description: JenkinsFolder is the Schema for the jenkins 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:
properties:
jenkinsFolder:
nullable: true
type: string
job:
properties:
autoTriggerPeriod:
format: int32
nullable: true
type: integer
config:
type: string
name:
type: string
required:
- config
- name
type: object
ownerName:
description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
Important: Run "operator-sdk generate k8s" to regenerate code after
modifying this file Add custom validation using kubebuilder tags:
https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html'
nullable: true
type: string
stageName:
nullable: true
type: string
required:
- job
type: object
status:
description: JenkinsFolderStatus defines the observed state of Jenkins
properties:
action:
type: string
available:
description: 'INSERT ADDITIONAL STATUS FIELD - define observed state
of cluster Important: Run "operator-sdk generate k8s" to regenerate
code after modifying this file Add custom validation using kubebuilder
tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html'
type: boolean
detailedMessage:
type: string
lastTimeUpdated:
format: date-time
type: string
result:
type: string
status:
type: string
username:
type: string
value:
type: string
required:
- action
- detailedMessage
- result
- username
- value
type: object
type: object
served: true
storage: false
subresources:
status: {}