deploy-templates/crds/v2.edp.epam.com_jenkins.yaml (281 lines of code) (raw):
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
creationTimestamp: null
name: jenkins.v2.edp.epam.com
spec:
group: v2.edp.epam.com
names:
kind: Jenkins
listKind: JenkinsList
plural: jenkins
singular: jenkins
scope: Namespaced
versions:
- name: v1
schema:
openAPIV3Schema:
description: Jenkins 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:
description: JenkinsSpec defines the desired state of Jenkins.
properties:
basePath:
type: string
edpSpec:
properties:
dnsWildcard:
type: string
required:
- dnsWildcard
type: object
externalURL:
description: ExternalURL jenkins full external url for keycloak or
other integrations
type: string
keycloakSpec:
properties:
enabled:
type: boolean
isPrivate:
type: boolean
realm:
type: string
secretName:
type: string
required:
- enabled
type: object
restAPIUrl:
description: RestAPIUrl jenkins full rest api url
type: string
sharedLibraries:
items:
properties:
name:
type: string
secret:
nullable: true
type: string
tag:
type: string
type:
nullable: true
type: string
url:
type: string
required:
- name
- tag
- url
type: object
nullable: true
type: array
required:
- keycloakSpec
type: object
status:
description: JenkinsStatus defines the observed state of Jenkins.
properties:
adminSecretName:
type: string
available:
type: boolean
jobProvisions:
items:
properties:
name:
type: string
scope:
type: string
required:
- name
- scope
type: object
nullable: true
type: array
lastTimeUpdated:
format: date-time
type: string
slaves:
items:
properties:
name:
type: string
type: object
nullable: true
type: array
status:
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
- deprecated: true
name: v1alpha1
schema:
openAPIV3Schema:
description: Jenkins 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:
basePath:
type: string
edpSpec:
properties:
dnsWildcard:
type: string
required:
- dnsWildcard
type: object
image:
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'
type: string
imagePullSecrets:
items:
description: LocalObjectReference contains enough information to
let you locate the referenced object inside the same namespace.
properties:
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?'
type: string
type: object
nullable: true
type: array
initImage:
type: string
keycloakSpec:
properties:
enabled:
type: boolean
isPrivate:
type: boolean
realm:
type: string
secretName:
type: string
required:
- enabled
type: object
sharedLibraries:
items:
properties:
name:
type: string
secret:
nullable: true
type: string
tag:
type: string
type:
nullable: true
type: string
url:
type: string
required:
- name
- tag
- url
type: object
nullable: true
type: array
version:
type: string
volumes:
items:
properties:
capacity:
type: string
name:
type: string
storageClass:
type: string
required:
- capacity
- name
- storageClass
type: object
nullable: true
type: array
required:
- image
- initImage
- keycloakSpec
- version
type: object
status:
description: JenkinsStatus defines the observed state of Jenkins
properties:
adminSecretName:
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
jobProvisions:
items:
properties:
name:
type: string
scope:
type: string
required:
- name
- scope
type: object
nullable: true
type: array
lastTimeUpdated:
format: date-time
type: string
slaves:
items:
properties:
name:
type: string
type: object
nullable: true
type: array
status:
type: string
type: object
type: object
served: true
storage: false
subresources:
status: {}