Skip to main content
Version: 3.11-dev

Codebase Operator API

Packages:

v2.edp.epam.com/v1

Resource Types:

CDStageDeploy​

↩ Parent

CDStageDeploy is the Schema for the CDStageDeployments API.

NameTypeDescriptionRequired
apiVersionstringv2.edp.epam.com/v1true
kindstringCDStageDeploytrue
metadataobjectRefer to the Kubernetes API documentation for the fields of the metadata field.true
specobject

CDStageDeploySpec defines the desired state of CDStageDeploy.

false
statusobject

CDStageDeployStatus defines the observed state of CDStageDeploy.


Default: map[status:pending]

false

CDStageDeploy.spec​

↩ Parent

CDStageDeploySpec defines the desired state of CDStageDeploy.

NameTypeDescriptionRequired
pipelinestring

Name of related pipeline

true
stagestring

Name of related stage

true
tagobject

Specifies a latest available tag

true
tags[]object

A list of available tags

true

CDStageDeploy.spec.tag​

↩ Parent

Specifies a latest available tag

NameTypeDescriptionRequired
codebasestring
true
tagstring
true

CDStageDeploy.spec.tags[index]​

↩ Parent
NameTypeDescriptionRequired
codebasestring
true
tagstring
true

CDStageDeploy.status​

↩ Parent

CDStageDeployStatus defines the observed state of CDStageDeploy.

NameTypeDescriptionRequired
messagestring

Descriptive message for current status.

false
statusenum

Specifies a current status of CDStageDeploy.


Enum: failed, running, pending, completed, in-queue
Default: pending

false

CodebaseBranch​

↩ Parent

CodebaseBranch is the Schema for the CodebaseBranches API.

NameTypeDescriptionRequired
apiVersionstringv2.edp.epam.com/v1true
kindstringCodebaseBranchtrue
metadataobjectRefer to the Kubernetes API documentation for the fields of the metadata field.true
specobject

CodebaseBranchSpec defines the desired state of CodebaseBranch.

false
statusobject

CodebaseBranchStatus defines the observed state of CodebaseBranch.

false

CodebaseBranch.spec​

↩ Parent

CodebaseBranchSpec defines the desired state of CodebaseBranch.

NameTypeDescriptionRequired
branchNamestring

Name of a branch.

true
codebaseNamestring

Name of Codebase associated with.

true
fromCommitstring

The new branch will be created starting from the selected commit hash.

true
releaseboolean

Flag if branch is used as "release" branch.

true
pipelinesmap[string]string

Pipelines is a map of pipelines related to the branch.

false
versionstring
false

CodebaseBranch.status​

↩ Parent

CodebaseBranchStatus defines the observed state of CodebaseBranch.

NameTypeDescriptionRequired
actionstring

The last Action was performed.

true
failureCountinteger

Amount of times, operator fail to serve with existing CR.


Format: int64

true
lastTimeUpdatedstring

Information when the last time the action were performed.


Format: date-time

true
resultenum

A result of an action which were performed.

  • "success": action where performed successfully;
  • "error": error has occurred;

Enum: success, error

true
statusstring

Specifies a current status of CodebaseBranch.

true
usernamestring

Name of user who made a last change.

true
valuestring

Specifies a current state of CodebaseBranch.

true
buildstring
false
detailedMessagestring

Detailed information regarding action result which were performed

false
gitstring

Specifies a status of action for git.

false
lastSuccessfulBuildstring
false
versionHistory[]string
false

CodebaseImageStream​

↩ Parent

CodebaseImageStream is the Schema for the CodebaseImageStreams API.

NameTypeDescriptionRequired
apiVersionstringv2.edp.epam.com/v1true
kindstringCodebaseImageStreamtrue
metadataobjectRefer to the Kubernetes API documentation for the fields of the metadata field.true
specobject

CodebaseImageStreamSpec defines the desired state of CodebaseImageStream.

false
statusobject

CodebaseImageStreamStatus defines the observed state of CodebaseImageStream.

false

CodebaseImageStream.spec​

↩ Parent

CodebaseImageStreamSpec defines the desired state of CodebaseImageStream.

NameTypeDescriptionRequired
codebasestring

Name of Codebase associated with.

true
imageNamestring

Docker container name without tag, e.g. registry-name/path/name.

true
tags[]object

A list of docker image tags available for ImageName and their creation date.

false

CodebaseImageStream.spec.tags[index]​

↩ Parent
NameTypeDescriptionRequired
createdstring
true
namestring
true

CodebaseImageStream.status​

↩ Parent

CodebaseImageStreamStatus defines the observed state of CodebaseImageStream.

NameTypeDescriptionRequired
failureCountinteger

Amount of times, operator fail to serve with existing CR.


Format: int64

true
detailed_messagestring

Detailed information regarding action result which were performed

false

Codebase​

↩ Parent

Codebase is the Schema for the Codebases API.

NameTypeDescriptionRequired
apiVersionstringv2.edp.epam.com/v1true
kindstringCodebasetrue
metadataobjectRefer to the Kubernetes API documentation for the fields of the metadata field.true
specobject

CodebaseSpec defines the desired state of Codebase.

false
statusobject

CodebaseStatus defines the observed state of Codebase.

false

Codebase.spec​

↩ Parent

CodebaseSpec defines the desired state of Codebase.

NameTypeDescriptionRequired
buildToolstring

A build tool which is used on codebase.

true
defaultBranchstring

Name of default branch.

true
emptyProjectboolean

A flag indicating how project should be provisioned. Default: false

true
frameworkstring

A framework used in codebase.

true
gitServerstring

A name of git server which will be used as VCS. Example: "gerrit".

true
gitUrlPathstring

A relative path for git repository. Should start from /. Example: /company/api-app.

true
langstring

Programming language used in codebase.

true
strategyenum

integration strategy for a codebase, e.g. clone, import, etc.


Enum: create, clone, import

true
typestring

Type of codebase. E.g. application, autotest or library.

true
versioningobject
true
branchToCopyInDefaultBranchstring

While we clone new codebase we can select specific branch to clone. Selected branch will become a default branch for a new codebase (e.g. master, main).

false
ciToolstring

A name of tool which should be used as CI.


Default: tekton

false
commitMessagePatternstring
false
deploymentScriptstring

Default: helm-chart

false
descriptionstring

A short description of codebase.

false
disablePutDeployTemplatesboolean

Controller must skip step "put deploy templates" in action chain.

false
jiraIssueMetadataPayloadstring
false
jiraServerstring
false
repositoryobject
false
testReportFrameworkstring
false
ticketNamePatternstring
false

Codebase.spec.versioning​

↩ Parent
NameTypeDescriptionRequired
typestring
true
startFromstring

StartFrom is required when versioning type is not default.

false

Codebase.spec.repository​

↩ Parent
NameTypeDescriptionRequired
urlstring
true

Codebase.status​

↩ Parent

CodebaseStatus defines the observed state of Codebase.

NameTypeDescriptionRequired
actionstring

The last Action was performed.

true
availableboolean

This flag indicates neither Codebase are initialized and ready to work. Defaults to false.

true
failureCountinteger

Amount of times, operator fail to serve with existing CR.


Format: int64

true
gitstring

Specifies a status of action for git.

true
lastTimeUpdatedstring

Information when the last time the action were performed.


Format: date-time

true
resultenum

A result of an action which were performed.

  • "success": action where performed successfully;
  • "error": error has occurred;

Enum: success, error

true
statusstring

Specifies a current status of Codebase.

true
usernamestring

Name of user who made a last change.

true
valuestring

Specifies a current state of Codebase.

true
detailedMessagestring

Detailed information regarding action result which were performed

false
gitWebUrlstring

Stores GitWebUrl of codebase.

false
webHookIDinteger

Stores ID of webhook which was created for a codebase.

false

GitServer​

↩ Parent

GitServer is the Schema for the gitservers API.

NameTypeDescriptionRequired
apiVersionstringv2.edp.epam.com/v1true
kindstringGitServertrue
metadataobjectRefer to the Kubernetes API documentation for the fields of the metadata field.true
specobject

GitServerSpec defines the desired state of GitServer.

false
statusobject

GitServerStatus defines the observed state of GitServer.

false

GitServer.spec​

↩ Parent

GitServerSpec defines the desired state of GitServer.

NameTypeDescriptionRequired
gitHoststring
true
httpsPortinteger

Format: int32

true
nameSshKeySecretstring
true
sshPortinteger

Format: int32

true
gitProviderenum

GitProvider is a git provider type. It can be gerrit, github or gitlab. Default value is gerrit.


Enum: gerrit, gitlab, github
Default: gerrit

false
gitUserstring

GitUser is a user name for git server.


Default: git

false
skipWebhookSSLVerificationboolean

SkipWebhookSSLVerification is a flag to skip webhook tls verification.

false
webhookUrlstring

WebhookUrl is a URL for webhook that will be created in the git provider. If not set, a new EventListener and Ingress will be created and used for webhooks.

false

GitServer.status​

↩ Parent

GitServerStatus defines the observed state of GitServer.

NameTypeDescriptionRequired
connectedboolean

Connected shows if operator is connected to git server.

false
errorstring

Error represents error message if something went wrong.

false
statusstring

Status indicates the current status of the GitServer. Possible values are: ok, failed.

false

JiraIssueMetadata​

↩ Parent

JiraIssueMetadata is the Schema for the JiraIssueMetadatas API.

NameTypeDescriptionRequired
apiVersionstringv2.edp.epam.com/v1true
kindstringJiraIssueMetadatatrue
metadataobjectRefer to the Kubernetes API documentation for the fields of the metadata field.true
specobject

JiraIssueMetadataSpec defines the desired state of JiraIssueMetadata.

false
statusobject

JiraIssueMetadataStatus defines the observed state of JiraIssueMetadata.

false

JiraIssueMetadata.spec​

↩ Parent

JiraIssueMetadataSpec defines the desired state of JiraIssueMetadata.

NameTypeDescriptionRequired
codebaseNamestring

Name of Codebase associated with.

true
commits[]string
false
payloadstring

JSON payload

false
tickets[]string
false

JiraIssueMetadata.status​

↩ Parent

JiraIssueMetadataStatus defines the observed state of JiraIssueMetadata.

NameTypeDescriptionRequired
failureCountinteger

Amount of times, operator fail to serve with existing CR.


Format: int64

true
last_time_updatedstring

Information when the last time the action were performed.


Format: date-time

true
statusstring

Specifies a current status of JiraIssueMetadata.

true
detailed_messagestring

Detailed information regarding action result which were performed

false

JiraServer​

↩ Parent

JiraServer is the Schema for the JiraServers API.

NameTypeDescriptionRequired
apiVersionstringv2.edp.epam.com/v1true
kindstringJiraServertrue
metadataobjectRefer to the Kubernetes API documentation for the fields of the metadata field.true
specobject

JiraServerSpec defines the desired state of JiraServer.

false
statusobject

JiraServerStatus defines the observed state of JiraServer.

false

JiraServer.spec​

↩ Parent

JiraServerSpec defines the desired state of JiraServer.

NameTypeDescriptionRequired
apiUrlstring
true
credentialNamestring
true
rootUrlstring
true

JiraServer.status​

↩ Parent

JiraServerStatus defines the observed state of JiraServer.

NameTypeDescriptionRequired
availableboolean

This flag indicates neither JiraServer are initialized and ready to work. Defaults to false.

true
last_time_updatedstring

Information when the last time the action were performed.


Format: date-time

true
statusstring

Specifies a current status of JiraServer.

true
detailed_messagestring

Detailed information regarding action result which were performed

false
↩ Parent

QuickLink is the Schema for the quicklinks API.

NameTypeDescriptionRequired
apiVersionstringv2.edp.epam.com/v1true
kindstringQuickLinktrue
metadataobjectRefer to the Kubernetes API documentation for the fields of the metadata field.true
specobject

QuickLinkSpec defines the desired state of QuickLink.

false
statusobject

QuickLinkStatus defines the observed state of QuickLink.

false

QuickLink.spec​

↩ Parent

QuickLinkSpec defines the desired state of QuickLink.

NameTypeDescriptionRequired
iconstring

Icon is a base64 encoded SVG icon of the component.

true
typeenum

Type is a quicklink type. It can be default or system. Default value is default.


Enum: default, system
Default: default

true
urlstring

Url specifies a link to the component.


Default:

true
visibleboolean

Visible specifies whether a component is visible. The default value is true.


Default: true

true

v2.edp.epam.com/v1alpha1

Resource Types:

Template​

↩ Parent

Template is the Schema for the templates API.

NameTypeDescriptionRequired
apiVersionstringv2.edp.epam.com/v1alpha1true
kindstringTemplatetrue
metadataobjectRefer to the Kubernetes API documentation for the fields of the metadata field.true
specobject

TemplateSpec defines the desired state of Template.

false
statusobject

TemplateStatus defines the observed state of Template.

false

Template.spec​

↩ Parent

TemplateSpec defines the desired state of Template.

NameTypeDescriptionRequired
buildToolstring

The build tool used to build the component from the template.

true
descriptionstring

The description of the template.

true
displayNamestring

The name of the template.

true
frameworkstring

The framework used to build the component from the template.

true
languagestring

The programming language used to build the component from the template.

true
sourcestring

A repository containing the source code for the template.

true
typestring

The type of the template, e.g application, library, autotest, infrastructure, etc.

true
versionstring

Version is the version of the template.

true
categorystring

Category is the category of the template.

false
icon[]object

The icon for this template.

false
keywords[]string

A list of keywords describing the template.

false
maintainers[]object

A list of organizational entities maintaining the Template.

false
maturityenum

The level of maturity the template has achieved at this version. Options include planning, pre-alpha, alpha, beta, stable, mature, inactive, and deprecated.


Enum: planning, pre-alpha, alpha, beta, stable, mature, inactive, deprecated

false
minEDPVersionstring

MinEDPVersion is the minimum EDP version that this template is compatible with.

false

Template.spec.icon[index]​

↩ Parent
NameTypeDescriptionRequired
base64datastring

A base64 encoded PNG, JPEG or SVG image.

true
mediatypestring

The media type of the image. E.g image/svg+xml, image/png, image/jpeg.

true

Template.spec.maintainers[index]​

↩ Parent
NameTypeDescriptionRequired
emailstring
true
namestring
true