diff --git a/PROJECT b/PROJECT index d60438d0..b43f1634 100644 --- a/PROJECT +++ b/PROJECT @@ -11,15 +11,6 @@ plugins: projectName: edp-codebase-operator repo: github.com/epam/edp-codebase-operator resources: -- api: - crdVersion: v1 - namespaced: true - controller: true - domain: edp.epam.com - group: v2 - kind: CDStageDeploy - path: github.com/epam/edp-codebase-operator/api/v1alpha1 - version: v1alpha1 - api: crdVersion: v1 namespaced: true @@ -29,15 +20,6 @@ resources: kind: CDStageDeploy path: github.com/epam/edp-codebase-operator/api/v1 version: v1 -- api: - crdVersion: v1 - namespaced: true - controller: true - domain: edp.epam.com - group: v2 - kind: CodebaseBranch - path: github.com/epam/edp-codebase-operator/api/v1alpha1 - version: v1alpha1 - api: crdVersion: v1 namespaced: true @@ -47,15 +29,6 @@ resources: kind: CodebaseBranch path: github.com/epam/edp-codebase-operator/api/v1 version: v1 -- api: - crdVersion: v1 - namespaced: true - controller: true - domain: edp.epam.com - group: v2 - kind: CodebaseImageStream - path: github.com/epam/edp-codebase-operator/api/v1alpha1 - version: v1alpha1 - api: crdVersion: v1 namespaced: true @@ -65,15 +38,6 @@ resources: kind: CodebaseImageStream path: github.com/epam/edp-codebase-operator/api/v1 version: v1 -- api: - crdVersion: v1 - namespaced: true - controller: true - domain: edp.epam.com - group: v2 - kind: Codebase - path: github.com/epam/edp-codebase-operator/api/v1alpha1 - version: v1alpha1 - api: crdVersion: v1 namespaced: true @@ -86,15 +50,6 @@ resources: webhooks: validation: true webhookVersion: v1 -- api: - crdVersion: v1 - namespaced: true - controller: true - domain: edp.epam.com - group: v2 - kind: GitServer - path: github.com/epam/edp-codebase-operator/api/v1alpha1 - version: v1alpha1 - api: crdVersion: v1 namespaced: true @@ -104,15 +59,6 @@ resources: kind: GitServer path: github.com/epam/edp-codebase-operator/api/v1 version: v1 -- api: - crdVersion: v1 - namespaced: true - controller: true - domain: edp.epam.com - group: v2 - kind: JiraIssueMetadata - path: github.com/epam/edp-codebase-operator/api/v1alpha1 - version: v1alpha1 - api: crdVersion: v1 namespaced: true @@ -122,15 +68,6 @@ resources: kind: JiraIssueMetadata path: github.com/epam/edp-codebase-operator/api/v1 version: v1 -- api: - crdVersion: v1 - namespaced: true - controller: true - domain: edp.epam.com - group: v2 - kind: JiraServer - path: github.com/epam/edp-codebase-operator/api/v1alpha1 - version: v1alpha1 - api: crdVersion: v1 namespaced: true diff --git a/api/v1alpha1/cdstagedeploy_types.go b/api/v1alpha1/cdstagedeploy_types.go deleted file mode 100644 index 4b32c065..00000000 --- a/api/v1alpha1/cdstagedeploy_types.go +++ /dev/null @@ -1,76 +0,0 @@ -package v1alpha1 - -import ( - metaV1 "k8s.io/apimachinery/pkg/apis/meta/v1" -) - -// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized. - -const ( - failed = "failed" -) - -// CDStageDeploySpec defines the desired state of CDStageDeploy. -type CDStageDeploySpec struct { - // Name of related pipeline - Pipeline string `json:"pipeline"` - - // Name of related stage - Stage string `json:"stage"` - - // Specifies a latest available tag - Tag CodebaseTag `json:"tag"` - - // A list of available tags - Tags []CodebaseTag `json:"tags"` -} - -type CodebaseTag struct { - Codebase string `json:"codebase"` - Tag string `json:"tag"` -} - -// CDStageDeployStatus defines the observed state of CDStageDeploy. -type CDStageDeployStatus struct { - // Specifies a current status of CDStageDeploy. - Status string `json:"status"` - - // Descriptive message for current status. - Message string `json:"message"` - - // Amount of times, operator fail to serve with existing CR. - FailureCount int64 `json:"failureCount"` -} - -// +kubebuilder:object:root=true -// +kubebuilder:subresource:status -// +kubebuilder:resource:shortName=csd,path=cdstagedeployments -// +kubebuilder:deprecatedversion - -// CDStageDeploy is the Schema for the CDStageDeployments API. -type CDStageDeploy struct { - metaV1.TypeMeta `json:",inline"` - metaV1.ObjectMeta `json:"metadata,omitempty"` - - Spec CDStageDeploySpec `json:"spec,omitempty"` - Status CDStageDeployStatus `json:"status,omitempty"` -} - -func (in *CDStageDeploy) SetFailedStatus(err error) { - in.Status.Status = failed - in.Status.Message = err.Error() -} - -// +kubebuilder:object:root=true - -// CDStageDeployList contains a list of CDStageDeploy. -type CDStageDeployList struct { - metaV1.TypeMeta `json:",inline"` - metaV1.ListMeta `json:"metadata,omitempty"` - - Items []CDStageDeploy `json:"items"` -} - -func init() { - SchemeBuilder.Register(&CDStageDeploy{}, &CDStageDeployList{}) -} diff --git a/api/v1alpha1/codebase_types.go b/api/v1alpha1/codebase_types.go deleted file mode 100644 index 474a3bc7..00000000 --- a/api/v1alpha1/codebase_types.go +++ /dev/null @@ -1,201 +0,0 @@ -package v1alpha1 - -import ( - metaV1 "k8s.io/apimachinery/pkg/apis/meta/v1" -) - -// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized. - -// Strategy describes integration strategy for a codebase. -// +kubebuilder:validation:Enum=create;clone;import -type Strategy string - -const ( - // Create a new codebase. - Create Strategy = "create" - - // Clone an existing codebase. - Clone Strategy = "clone" - - // Import existing codebase. - Import Strategy = "import" -) - -type VersioningType string - -const ( - Default VersioningType = "default" -) - -type Versioning struct { - Type VersioningType `json:"type"` - - // +nullable - // +optional - StartFrom *string `json:"startFrom,omitempty"` -} - -type Repository struct { - Url string `json:"url"` -} - -// CodebaseSpec defines the desired state of Codebase. -type CodebaseSpec struct { - // Programming language used in codebase. - Lang string `json:"lang"` - - // A short description of codebase. - // +nullable - // +optional - Description *string `json:"description,omitempty"` - - // A framework used in codebase. - // +nullable - // +optional - Framework *string `json:"framework,omitempty"` - - // A build tool which is used on codebase. - BuildTool string `json:"buildTool"` - - // integration strategy for a codebase, e.g. clone, import, etc. - Strategy Strategy `json:"strategy"` - - // +nullable - // +optional - Repository *Repository `json:"repository,omitempty"` - - // +nullable - // +optional - TestReportFramework *string `json:"testReportFramework,omitempty"` - - // Type of codebase. E.g. application, autotest or library. - Type string `json:"type"` - - // A name of git server which will be used as VCS. - // Example: "gerrit". - GitServer string `json:"gitServer"` - - // A link to external git server, used for "import" strategy. - // +nullable - // +optional - GitUrlPath *string `json:"gitUrlPath,omitempty"` - - // +optional - DeploymentScript string `json:"deploymentScript,omitempty"` - - Versioning Versioning `json:"versioning"` - - // +nullable - // +optional - JiraServer *string `json:"jiraServer,omitempty"` - - // +nullable - // +optional - CommitMessagePattern *string `json:"commitMessagePattern,omitempty"` - - // +nullable - // +optional - TicketNamePattern *string `json:"ticketNamePattern"` - - // A name of tool which should be used as CI. - CiTool string `json:"ciTool"` - - // Name of default branch. - DefaultBranch string `json:"defaultBranch"` - - // +nullable - // +optional - JiraIssueMetadataPayload *string `json:"jiraIssueMetadataPayload"` - - // A flag indicating how project should be provisioned. Default: false - EmptyProject bool `json:"emptyProject"` - - // 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). - // +optional - BranchToCopyInDefaultBranch string `json:"branchToCopyInDefaultBranch,omitempty"` - - // Controller must skip step "put deploy templates" in action chain. - // +optional - DisablePutDeployTemplates bool `json:"disablePutDeployTemplates,omitempty"` -} - -type ActionType string - -// Result describes how action were performed. -// Once action ended, we record a result of this action. -// +kubebuilder:validation:Enum=success;error -type Result string - -const ( - // Success result of operation. - Success Result = "success" - - // Error result point to unsuccessful operation. - Error Result = "error" -) - -// CodebaseStatus defines the observed state of Codebase. -type CodebaseStatus struct { - // This flag indicates neither Codebase are initialized and ready to work. Defaults to false. - Available bool `json:"available"` - - // Information when the last time the action were performed. - LastTimeUpdated metaV1.Time `json:"lastTimeUpdated"` - - // Specifies a current status of Codebase. - Status string `json:"status"` - - // Name of user who made a last change. - Username string `json:"username"` - - // The last Action was performed. - Action ActionType `json:"action"` - - // A result of an action which were performed. - // - "success": action where performed successfully; - // - "error": error has occurred; - Result Result `json:"result"` - - // Detailed information regarding action result - // which were performed - // +optional - DetailedMessage string `json:"detailedMessage,omitempty"` - - // Specifies a current state of Codebase. - Value string `json:"value"` - - // Amount of times, operator fail to serve with existing CR. - FailureCount int64 `json:"failureCount"` - - // Specifies a status of action for git. - Git string `json:"git"` -} - -// +kubebuilder:object:root=true -// +kubebuilder:subresource:status -// +kubebuilder:resource:shortName=cdbs -// +kubebuilder:deprecatedversion - -// Codebase is the Schema for the Codebases API. -type Codebase struct { - metaV1.TypeMeta `json:",inline"` - metaV1.ObjectMeta `json:"metadata,omitempty"` - - Spec CodebaseSpec `json:"spec,omitempty"` - Status CodebaseStatus `json:"status,omitempty"` -} - -// +kubebuilder:object:root=true - -// CodebaseList contains a list of Codebases. -type CodebaseList struct { - metaV1.TypeMeta `json:",inline"` - metaV1.ListMeta `json:"metadata,omitempty"` - - Items []Codebase `json:"items"` -} - -func init() { - SchemeBuilder.Register(&Codebase{}, &CodebaseList{}) -} diff --git a/api/v1alpha1/codebasebranch_types.go b/api/v1alpha1/codebasebranch_types.go deleted file mode 100644 index d78e2c68..00000000 --- a/api/v1alpha1/codebasebranch_types.go +++ /dev/null @@ -1,101 +0,0 @@ -package v1alpha1 - -import ( - metaV1 "k8s.io/apimachinery/pkg/apis/meta/v1" -) - -// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized. - -// CodebaseBranchSpec defines the desired state of CodebaseBranch. -type CodebaseBranchSpec struct { - // Name of Codebase associated with. - CodebaseName string `json:"codebaseName"` - - // Name of a branch. - BranchName string `json:"branchName"` - - // The new branch will be created starting from the selected commit hash. - FromCommit string `json:"fromCommit"` - - // +nullable - // +optional - Version *string `json:"version,omitempty"` - - // Flag if branch is used as "release" branch. - Release bool `json:"release"` - - // +nullable - // +optional - ReleaseJobParams map[string]string `json:"releaseJobParams,omitempty"` -} - -// CodebaseBranchStatus defines the observed state of CodebaseBranch. -type CodebaseBranchStatus struct { - // Information when the last time the action were performed. - LastTimeUpdated metaV1.Time `json:"lastTimeUpdated"` - - // +nullable - // +optional - VersionHistory []string `json:"versionHistory,omitempty"` - - // +nullable - // +optional - LastSuccessfulBuild *string `json:"lastSuccessfulBuild,omitempty"` - - // +nullable - // +optional - Build *string `json:"build,omitempty"` - - // Specifies a current status of CodebaseBranch. - Status string `json:"status"` - - // Name of user who made a last change. - Username string `json:"username"` - - // The last Action was performed. - Action ActionType `json:"action"` - - // A result of an action which were performed. - // - "success": action where performed successfully; - // - "error": error has occurred; - Result Result `json:"result"` - - // Detailed information regarding action result - // which were performed - // +optional - DetailedMessage string `json:"detailedMessage,omitempty"` - - // Specifies a current state of CodebaseBranch. - Value string `json:"value"` - - // Amount of times, operator fail to serve with existing CR. - FailureCount int64 `json:"failureCount"` -} - -// +kubebuilder:object:root=true -// +kubebuilder:subresource:status -// +kubebuilder:resource:shortName=cb -// +kubebuilder:deprecatedversion - -// CodebaseBranch is the Schema for the CodebaseBranches API. -type CodebaseBranch struct { - metaV1.TypeMeta `json:",inline"` - metaV1.ObjectMeta `json:"metadata,omitempty"` - - Spec CodebaseBranchSpec `json:"spec,omitempty"` - Status CodebaseBranchStatus `json:"status,omitempty"` -} - -// +kubebuilder:object:root=true - -// CodebaseBranchList contains a list of CodebaseBranch. -type CodebaseBranchList struct { - metaV1.TypeMeta `json:",inline"` - metaV1.ListMeta `json:"metadata,omitempty"` - - Items []CodebaseBranch `json:"items"` -} - -func init() { - SchemeBuilder.Register(&CodebaseBranch{}, &CodebaseBranchList{}) -} diff --git a/api/v1alpha1/codebaseimagestream_types.go b/api/v1alpha1/codebaseimagestream_types.go deleted file mode 100644 index 76a6af81..00000000 --- a/api/v1alpha1/codebaseimagestream_types.go +++ /dev/null @@ -1,65 +0,0 @@ -package v1alpha1 - -import ( - metaV1 "k8s.io/apimachinery/pkg/apis/meta/v1" -) - -// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized. - -// CodebaseImageStreamSpec defines the desired state of CodebaseImageStream. -type CodebaseImageStreamSpec struct { - // Name of Codebase associated with. - Codebase string `json:"codebase"` - - // Docker container name without tag, e.g. registry-name/path/name. - ImageName string `json:"imageName"` - - // A list of docker image tags available for ImageName and their creation date. - // +nullable - // +optional - Tags []Tag `json:"tags,omitempty"` -} - -type Tag struct { - Name string `json:"name"` - Created string `json:"created"` -} - -// CodebaseImageStreamStatus defines the observed state of CodebaseImageStream. -type CodebaseImageStreamStatus struct { - // Detailed information regarding action result - // which were performed - // +optional - DetailedMessage string `json:"detailed_message"` - - // Amount of times, operator fail to serve with existing CR. - FailureCount int64 `json:"failureCount"` -} - -// +kubebuilder:object:root=true -// +kubebuilder:subresource:status -// +kubebuilder:resource:shortName=cbis -// +kubebuilder:deprecatedversion - -// CodebaseImageStream is the Schema for the CodebaseImageStreams API. -type CodebaseImageStream struct { - metaV1.TypeMeta `json:",inline"` - metaV1.ObjectMeta `json:"metadata,omitempty"` - - Spec CodebaseImageStreamSpec `json:"spec,omitempty"` - Status CodebaseImageStreamStatus `json:"status,omitempty"` -} - -// +kubebuilder:object:root=true - -// CodebaseImageStreamList contains a list of CodebaseImageStreams. -type CodebaseImageStreamList struct { - metaV1.TypeMeta `json:",inline"` - metaV1.ListMeta `json:"metadata,omitempty"` - - Items []CodebaseImageStream `json:"items"` -} - -func init() { - SchemeBuilder.Register(&CodebaseImageStream{}, &CodebaseImageStreamList{}) -} diff --git a/api/v1alpha1/git_server_types.go b/api/v1alpha1/git_server_types.go deleted file mode 100644 index 06a976b2..00000000 --- a/api/v1alpha1/git_server_types.go +++ /dev/null @@ -1,81 +0,0 @@ -package v1alpha1 - -import ( - metaV1 "k8s.io/apimachinery/pkg/apis/meta/v1" -) - -// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized. - -// GitServerSpec defines the desired state of GitServer. -type GitServerSpec struct { - GitHost string `json:"gitHost"` - - GitUser string `json:"gitUser"` - - HttpsPort int32 `json:"httpsPort"` - - SshPort int32 `json:"sshPort"` - - NameSshKeySecret string `json:"nameSshKeySecret"` - - // +optional - CreateCodeReviewPipeline bool `json:"createCodeReviewPipeline,omitempty"` -} - -// GitServerStatus defines the observed state of GitServer. -type GitServerStatus struct { - // This flag indicates neither JiraServer are initialized and ready to work. Defaults to false. - Available bool `json:"available"` - - // Information when the last time the action were performed. - LastTimeUpdated metaV1.Time `json:"last_time_updated"` - - // Specifies a current status of GitServer. - Status string `json:"status"` - - // Name of user who made a last change. - Username string `json:"username"` - - // The last Action was performed. - Action string `json:"action"` - - // A result of an action which were performed. - // - "success": action where performed successfully; - // - "error": error has occurred; - Result string `json:"result"` - - // Detailed information regarding action result - // which were performed - // +optional - DetailedMessage string `json:"detailed_message,omitempty"` - - // Specifies a current state of GitServer. - Value string `json:"value"` -} - -// +kubebuilder:object:root=true -// +kubebuilder:subresource:status -// +kubebuilder:resource:shortName=gs -// +kubebuilder:deprecatedversion - -// GitServer is the Schema for the gitservers API. -type GitServer struct { - metaV1.TypeMeta `json:",inline"` - metaV1.ObjectMeta `json:"metadata,omitempty"` - - Spec GitServerSpec `json:"spec,omitempty"` - Status GitServerStatus `json:"status,omitempty"` -} - -// +kubebuilder:object:root=true - -// GitServerList contains a list of GitServer. -type GitServerList struct { - metaV1.TypeMeta `json:",inline"` - metaV1.ListMeta `json:"metadata,omitempty"` - Items []GitServer `json:"items"` -} - -func init() { - SchemeBuilder.Register(&GitServer{}, &GitServerList{}) -} diff --git a/api/v1alpha1/jiraissuemetadata_types.go b/api/v1alpha1/jiraissuemetadata_types.go deleted file mode 100644 index 2f62e58d..00000000 --- a/api/v1alpha1/jiraissuemetadata_types.go +++ /dev/null @@ -1,73 +0,0 @@ -package v1alpha1 - -import ( - metaV1 "k8s.io/apimachinery/pkg/apis/meta/v1" -) - -// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized. - -// JiraIssueMetadataSpec defines the desired state of JiraIssueMetadata. -type JiraIssueMetadataSpec struct { - // Name of Codebase associated with. - CodebaseName string `json:"codebaseName"` - - // JSON payload - // +optional - Payload string `json:"payload,omitempty"` - - // +nullable - // +optional - Commits []string `json:"commits,omitempty"` - - // +nullable - // +optional - Tickets []string `json:"tickets,omitempty"` -} - -// JiraIssueMetadataStatus defines the observed state of JiraIssueMetadata. -type JiraIssueMetadataStatus struct { - // Information when the last time the action were performed. - LastTimeUpdated metaV1.Time `json:"last_time_updated"` - - // Specifies a current status of JiraIssueMetadata. - Status string `json:"status"` - - // Detailed information regarding action result - // which were performed - // +optional - DetailedMessage string `json:"detailed_message,omitempty"` - - // Amount of times, operator fail to serve with existing CR. - FailureCount int64 `json:"failureCount"` - - // ErrorStrings store the string values of the errors obtained during the reconciliation. - ErrorStrings []string `json:"-"` -} - -// +kubebuilder:object:root=true -// +kubebuilder:subresource:status -// +kubebuilder:resource:shortName=jim,path=jiraissuemetadatas -// +kubebuilder:deprecatedversion - -// JiraIssueMetadata is the Schema for the JiraIssueMetadatas API. -type JiraIssueMetadata struct { - metaV1.TypeMeta `json:",inline"` - metaV1.ObjectMeta `json:"metadata,omitempty"` - - Spec JiraIssueMetadataSpec `json:"spec,omitempty"` - Status JiraIssueMetadataStatus `json:"status,omitempty"` -} - -// +kubebuilder:object:root=true - -// JiraIssueMetadataList contains a list of JiraIssueMetadata. -type JiraIssueMetadataList struct { - metaV1.TypeMeta `json:",inline"` - metaV1.ListMeta `json:"metadata,omitempty"` - - Items []JiraIssueMetadata `json:"items"` -} - -func init() { - SchemeBuilder.Register(&JiraIssueMetadata{}, &JiraIssueMetadataList{}) -} diff --git a/api/v1alpha1/jiraserver_types.go b/api/v1alpha1/jiraserver_types.go deleted file mode 100644 index 24fe5f22..00000000 --- a/api/v1alpha1/jiraserver_types.go +++ /dev/null @@ -1,61 +0,0 @@ -package v1alpha1 - -import ( - metaV1 "k8s.io/apimachinery/pkg/apis/meta/v1" -) - -// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized. - -// JiraServerSpec defines the desired state of JiraServer. -type JiraServerSpec struct { - ApiUrl string `json:"apiUrl"` - - RootUrl string `json:"rootUrl"` - - CredentialName string `json:"credentialName"` -} - -// JiraServerStatus defines the observed state of JiraServer. -type JiraServerStatus struct { - // This flag indicates neither JiraServer are initialized and ready to work. Defaults to false. - Available bool `json:"available"` - - // Information when the last time the action were performed. - LastTimeUpdated metaV1.Time `json:"last_time_updated"` - - // Specifies a current status of JiraServer. - Status string `json:"status"` - - // Detailed information regarding action result - // which were performed - // +optional - DetailedMessage string `json:"detailed_message,omitempty"` -} - -// +kubebuilder:object:root=true -// +kubebuilder:subresource:status -// +kubebuilder:resource:shortName=jrs -// +kubebuilder:deprecatedversion - -// JiraServer is the Schema for the JiraServers API. -type JiraServer struct { - metaV1.TypeMeta `json:",inline"` - metaV1.ObjectMeta `json:"metadata,omitempty"` - - Spec JiraServerSpec `json:"spec,omitempty"` - Status JiraServerStatus `json:"status,omitempty"` -} - -// +kubebuilder:object:root=true - -// JiraServerList contains a list of JiraServers. -type JiraServerList struct { - metaV1.TypeMeta `json:",inline"` - metaV1.ListMeta `json:"metadata,omitempty"` - - Items []JiraServer `json:"items"` -} - -func init() { - SchemeBuilder.Register(&JiraServer{}, &JiraServerList{}) -} diff --git a/api/v1alpha1/zz_generated.deepcopy.go b/api/v1alpha1/zz_generated.deepcopy.go index 66ea23b2..09a42359 100644 --- a/api/v1alpha1/zz_generated.deepcopy.go +++ b/api/v1alpha1/zz_generated.deepcopy.go @@ -8,553 +8,6 @@ import ( runtime "k8s.io/apimachinery/pkg/runtime" ) -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CDStageDeploy) DeepCopyInto(out *CDStageDeploy) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - out.Status = in.Status -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDStageDeploy. -func (in *CDStageDeploy) DeepCopy() *CDStageDeploy { - if in == nil { - return nil - } - out := new(CDStageDeploy) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *CDStageDeploy) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CDStageDeployList) DeepCopyInto(out *CDStageDeployList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]CDStageDeploy, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDStageDeployList. -func (in *CDStageDeployList) DeepCopy() *CDStageDeployList { - if in == nil { - return nil - } - out := new(CDStageDeployList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *CDStageDeployList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CDStageDeploySpec) DeepCopyInto(out *CDStageDeploySpec) { - *out = *in - out.Tag = in.Tag - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make([]CodebaseTag, len(*in)) - copy(*out, *in) - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDStageDeploySpec. -func (in *CDStageDeploySpec) DeepCopy() *CDStageDeploySpec { - if in == nil { - return nil - } - out := new(CDStageDeploySpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CDStageDeployStatus) DeepCopyInto(out *CDStageDeployStatus) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDStageDeployStatus. -func (in *CDStageDeployStatus) DeepCopy() *CDStageDeployStatus { - if in == nil { - return nil - } - out := new(CDStageDeployStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Codebase) DeepCopyInto(out *Codebase) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Codebase. -func (in *Codebase) DeepCopy() *Codebase { - if in == nil { - return nil - } - out := new(Codebase) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Codebase) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodebaseBranch) DeepCopyInto(out *CodebaseBranch) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodebaseBranch. -func (in *CodebaseBranch) DeepCopy() *CodebaseBranch { - if in == nil { - return nil - } - out := new(CodebaseBranch) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *CodebaseBranch) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodebaseBranchList) DeepCopyInto(out *CodebaseBranchList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]CodebaseBranch, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodebaseBranchList. -func (in *CodebaseBranchList) DeepCopy() *CodebaseBranchList { - if in == nil { - return nil - } - out := new(CodebaseBranchList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *CodebaseBranchList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodebaseBranchSpec) DeepCopyInto(out *CodebaseBranchSpec) { - *out = *in - if in.Version != nil { - in, out := &in.Version, &out.Version - *out = new(string) - **out = **in - } - if in.ReleaseJobParams != nil { - in, out := &in.ReleaseJobParams, &out.ReleaseJobParams - *out = make(map[string]string, len(*in)) - for key, val := range *in { - (*out)[key] = val - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodebaseBranchSpec. -func (in *CodebaseBranchSpec) DeepCopy() *CodebaseBranchSpec { - if in == nil { - return nil - } - out := new(CodebaseBranchSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodebaseBranchStatus) DeepCopyInto(out *CodebaseBranchStatus) { - *out = *in - in.LastTimeUpdated.DeepCopyInto(&out.LastTimeUpdated) - if in.VersionHistory != nil { - in, out := &in.VersionHistory, &out.VersionHistory - *out = make([]string, len(*in)) - copy(*out, *in) - } - if in.LastSuccessfulBuild != nil { - in, out := &in.LastSuccessfulBuild, &out.LastSuccessfulBuild - *out = new(string) - **out = **in - } - if in.Build != nil { - in, out := &in.Build, &out.Build - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodebaseBranchStatus. -func (in *CodebaseBranchStatus) DeepCopy() *CodebaseBranchStatus { - if in == nil { - return nil - } - out := new(CodebaseBranchStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodebaseImageStream) DeepCopyInto(out *CodebaseImageStream) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - out.Status = in.Status -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodebaseImageStream. -func (in *CodebaseImageStream) DeepCopy() *CodebaseImageStream { - if in == nil { - return nil - } - out := new(CodebaseImageStream) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *CodebaseImageStream) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodebaseImageStreamList) DeepCopyInto(out *CodebaseImageStreamList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]CodebaseImageStream, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodebaseImageStreamList. -func (in *CodebaseImageStreamList) DeepCopy() *CodebaseImageStreamList { - if in == nil { - return nil - } - out := new(CodebaseImageStreamList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *CodebaseImageStreamList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodebaseImageStreamSpec) DeepCopyInto(out *CodebaseImageStreamSpec) { - *out = *in - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make([]Tag, len(*in)) - copy(*out, *in) - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodebaseImageStreamSpec. -func (in *CodebaseImageStreamSpec) DeepCopy() *CodebaseImageStreamSpec { - if in == nil { - return nil - } - out := new(CodebaseImageStreamSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodebaseImageStreamStatus) DeepCopyInto(out *CodebaseImageStreamStatus) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodebaseImageStreamStatus. -func (in *CodebaseImageStreamStatus) DeepCopy() *CodebaseImageStreamStatus { - if in == nil { - return nil - } - out := new(CodebaseImageStreamStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodebaseList) DeepCopyInto(out *CodebaseList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]Codebase, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodebaseList. -func (in *CodebaseList) DeepCopy() *CodebaseList { - if in == nil { - return nil - } - out := new(CodebaseList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *CodebaseList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodebaseSpec) DeepCopyInto(out *CodebaseSpec) { - *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Framework != nil { - in, out := &in.Framework, &out.Framework - *out = new(string) - **out = **in - } - if in.Repository != nil { - in, out := &in.Repository, &out.Repository - *out = new(Repository) - **out = **in - } - if in.TestReportFramework != nil { - in, out := &in.TestReportFramework, &out.TestReportFramework - *out = new(string) - **out = **in - } - if in.GitUrlPath != nil { - in, out := &in.GitUrlPath, &out.GitUrlPath - *out = new(string) - **out = **in - } - in.Versioning.DeepCopyInto(&out.Versioning) - if in.JiraServer != nil { - in, out := &in.JiraServer, &out.JiraServer - *out = new(string) - **out = **in - } - if in.CommitMessagePattern != nil { - in, out := &in.CommitMessagePattern, &out.CommitMessagePattern - *out = new(string) - **out = **in - } - if in.TicketNamePattern != nil { - in, out := &in.TicketNamePattern, &out.TicketNamePattern - *out = new(string) - **out = **in - } - if in.JiraIssueMetadataPayload != nil { - in, out := &in.JiraIssueMetadataPayload, &out.JiraIssueMetadataPayload - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodebaseSpec. -func (in *CodebaseSpec) DeepCopy() *CodebaseSpec { - if in == nil { - return nil - } - out := new(CodebaseSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodebaseStatus) DeepCopyInto(out *CodebaseStatus) { - *out = *in - in.LastTimeUpdated.DeepCopyInto(&out.LastTimeUpdated) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodebaseStatus. -func (in *CodebaseStatus) DeepCopy() *CodebaseStatus { - if in == nil { - return nil - } - out := new(CodebaseStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CodebaseTag) DeepCopyInto(out *CodebaseTag) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodebaseTag. -func (in *CodebaseTag) DeepCopy() *CodebaseTag { - if in == nil { - return nil - } - out := new(CodebaseTag) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GitServer) DeepCopyInto(out *GitServer) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - out.Spec = in.Spec - in.Status.DeepCopyInto(&out.Status) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitServer. -func (in *GitServer) DeepCopy() *GitServer { - if in == nil { - return nil - } - out := new(GitServer) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *GitServer) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GitServerList) DeepCopyInto(out *GitServerList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]GitServer, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitServerList. -func (in *GitServerList) DeepCopy() *GitServerList { - if in == nil { - return nil - } - out := new(GitServerList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *GitServerList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GitServerSpec) DeepCopyInto(out *GitServerSpec) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitServerSpec. -func (in *GitServerSpec) DeepCopy() *GitServerSpec { - if in == nil { - return nil - } - out := new(GitServerSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *GitServerStatus) DeepCopyInto(out *GitServerStatus) { - *out = *in - in.LastTimeUpdated.DeepCopyInto(&out.LastTimeUpdated) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitServerStatus. -func (in *GitServerStatus) DeepCopy() *GitServerStatus { - if in == nil { - return nil - } - out := new(GitServerStatus) - in.DeepCopyInto(out) - return out -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Icon) DeepCopyInto(out *Icon) { *out = *in @@ -570,201 +23,6 @@ func (in *Icon) DeepCopy() *Icon { return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JiraIssueMetadata) DeepCopyInto(out *JiraIssueMetadata) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JiraIssueMetadata. -func (in *JiraIssueMetadata) DeepCopy() *JiraIssueMetadata { - if in == nil { - return nil - } - out := new(JiraIssueMetadata) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *JiraIssueMetadata) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JiraIssueMetadataList) DeepCopyInto(out *JiraIssueMetadataList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]JiraIssueMetadata, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JiraIssueMetadataList. -func (in *JiraIssueMetadataList) DeepCopy() *JiraIssueMetadataList { - if in == nil { - return nil - } - out := new(JiraIssueMetadataList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *JiraIssueMetadataList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JiraIssueMetadataSpec) DeepCopyInto(out *JiraIssueMetadataSpec) { - *out = *in - if in.Commits != nil { - in, out := &in.Commits, &out.Commits - *out = make([]string, len(*in)) - copy(*out, *in) - } - if in.Tickets != nil { - in, out := &in.Tickets, &out.Tickets - *out = make([]string, len(*in)) - copy(*out, *in) - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JiraIssueMetadataSpec. -func (in *JiraIssueMetadataSpec) DeepCopy() *JiraIssueMetadataSpec { - if in == nil { - return nil - } - out := new(JiraIssueMetadataSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JiraIssueMetadataStatus) DeepCopyInto(out *JiraIssueMetadataStatus) { - *out = *in - in.LastTimeUpdated.DeepCopyInto(&out.LastTimeUpdated) - if in.ErrorStrings != nil { - in, out := &in.ErrorStrings, &out.ErrorStrings - *out = make([]string, len(*in)) - copy(*out, *in) - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JiraIssueMetadataStatus. -func (in *JiraIssueMetadataStatus) DeepCopy() *JiraIssueMetadataStatus { - if in == nil { - return nil - } - out := new(JiraIssueMetadataStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JiraServer) DeepCopyInto(out *JiraServer) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - out.Spec = in.Spec - in.Status.DeepCopyInto(&out.Status) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JiraServer. -func (in *JiraServer) DeepCopy() *JiraServer { - if in == nil { - return nil - } - out := new(JiraServer) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *JiraServer) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JiraServerList) DeepCopyInto(out *JiraServerList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]JiraServer, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JiraServerList. -func (in *JiraServerList) DeepCopy() *JiraServerList { - if in == nil { - return nil - } - out := new(JiraServerList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *JiraServerList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JiraServerSpec) DeepCopyInto(out *JiraServerSpec) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JiraServerSpec. -func (in *JiraServerSpec) DeepCopy() *JiraServerSpec { - if in == nil { - return nil - } - out := new(JiraServerSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JiraServerStatus) DeepCopyInto(out *JiraServerStatus) { - *out = *in - in.LastTimeUpdated.DeepCopyInto(&out.LastTimeUpdated) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JiraServerStatus. -func (in *JiraServerStatus) DeepCopy() *JiraServerStatus { - if in == nil { - return nil - } - out := new(JiraServerStatus) - in.DeepCopyInto(out) - return out -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Maintainer) DeepCopyInto(out *Maintainer) { *out = *in @@ -780,36 +38,6 @@ func (in *Maintainer) DeepCopy() *Maintainer { return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Repository) DeepCopyInto(out *Repository) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository. -func (in *Repository) DeepCopy() *Repository { - if in == nil { - return nil - } - out := new(Repository) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Tag) DeepCopyInto(out *Tag) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tag. -func (in *Tag) DeepCopy() *Tag { - if in == nil { - return nil - } - out := new(Tag) - in.DeepCopyInto(out) - return out -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Template) DeepCopyInto(out *Template) { *out = *in @@ -913,23 +141,3 @@ func (in *TemplateStatus) DeepCopy() *TemplateStatus { in.DeepCopyInto(out) return out } - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Versioning) DeepCopyInto(out *Versioning) { - *out = *in - if in.StartFrom != nil { - in, out := &in.StartFrom, &out.StartFrom - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Versioning. -func (in *Versioning) DeepCopy() *Versioning { - if in == nil { - return nil - } - out := new(Versioning) - in.DeepCopyInto(out) - return out -} diff --git a/config/crd/bases/v2.edp.epam.com_cdstagedeployments.yaml b/config/crd/bases/v2.edp.epam.com_cdstagedeployments.yaml index c4c33e35..322684a5 100644 --- a/config/crd/bases/v2.edp.epam.com_cdstagedeployments.yaml +++ b/config/crd/bases/v2.edp.epam.com_cdstagedeployments.yaml @@ -101,89 +101,3 @@ spec: storage: true subresources: status: {} - - deprecated: true - name: v1alpha1 - schema: - openAPIV3Schema: - description: CDStageDeploy is the Schema for the CDStageDeployments 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: CDStageDeploySpec defines the desired state of CDStageDeploy. - properties: - pipeline: - description: Name of related pipeline - type: string - stage: - description: Name of related stage - type: string - tag: - description: Specifies a latest available tag - properties: - codebase: - type: string - tag: - type: string - required: - - codebase - - tag - type: object - tags: - description: A list of available tags - items: - properties: - codebase: - type: string - tag: - type: string - required: - - codebase - - tag - type: object - type: array - required: - - pipeline - - stage - - tag - - tags - type: object - status: - description: CDStageDeployStatus defines the observed state of CDStageDeploy. - properties: - failureCount: - description: Amount of times, operator fail to serve with existing - CR. - format: int64 - type: integer - message: - description: Descriptive message for current status. - type: string - status: - description: Specifies a current status of CDStageDeploy. - type: string - required: - - failureCount - - message - - status - type: object - type: object - served: true - storage: false - subresources: - status: {} diff --git a/config/crd/bases/v2.edp.epam.com_codebasebranches.yaml b/config/crd/bases/v2.edp.epam.com_codebasebranches.yaml index f6b2f2a9..5840fb97 100644 --- a/config/crd/bases/v2.edp.epam.com_codebasebranches.yaml +++ b/config/crd/bases/v2.edp.epam.com_codebasebranches.yaml @@ -151,119 +151,3 @@ spec: storage: true subresources: status: {} - - deprecated: true - name: v1alpha1 - schema: - openAPIV3Schema: - description: CodebaseBranch is the Schema for the CodebaseBranches 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: CodebaseBranchSpec defines the desired state of CodebaseBranch. - properties: - branchName: - description: Name of a branch. - type: string - codebaseName: - description: Name of Codebase associated with. - type: string - fromCommit: - description: The new branch will be created starting from the selected - commit hash. - type: string - release: - description: Flag if branch is used as "release" branch. - type: boolean - releaseJobParams: - additionalProperties: - type: string - nullable: true - type: object - version: - nullable: true - type: string - required: - - branchName - - codebaseName - - fromCommit - - release - type: object - status: - description: CodebaseBranchStatus defines the observed state of CodebaseBranch. - properties: - action: - description: The last Action was performed. - type: string - build: - nullable: true - type: string - detailedMessage: - description: |- - Detailed information regarding action result - which were performed - type: string - failureCount: - description: Amount of times, operator fail to serve with existing - CR. - format: int64 - type: integer - lastSuccessfulBuild: - nullable: true - type: string - lastTimeUpdated: - description: Information when the last time the action were performed. - format: date-time - type: string - result: - description: |- - A result of an action which were performed. - - "success": action where performed successfully; - - "error": error has occurred; - enum: - - success - - error - type: string - status: - description: Specifies a current status of CodebaseBranch. - type: string - username: - description: Name of user who made a last change. - type: string - value: - description: Specifies a current state of CodebaseBranch. - type: string - versionHistory: - items: - type: string - nullable: true - type: array - required: - - action - - failureCount - - lastTimeUpdated - - result - - status - - username - - value - type: object - type: object - served: true - storage: false - subresources: - status: {} diff --git a/config/crd/bases/v2.edp.epam.com_codebaseimagestreams.yaml b/config/crd/bases/v2.edp.epam.com_codebaseimagestreams.yaml index e491a265..bc777a73 100644 --- a/config/crd/bases/v2.edp.epam.com_codebaseimagestreams.yaml +++ b/config/crd/bases/v2.edp.epam.com_codebaseimagestreams.yaml @@ -93,76 +93,3 @@ spec: storage: true subresources: status: {} - - deprecated: true - name: v1alpha1 - schema: - openAPIV3Schema: - description: CodebaseImageStream is the Schema for the CodebaseImageStreams - 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: CodebaseImageStreamSpec defines the desired state of CodebaseImageStream. - properties: - codebase: - description: Name of Codebase associated with. - type: string - imageName: - description: Docker container name without tag, e.g. registry-name/path/name. - type: string - tags: - description: A list of docker image tags available for ImageName and - their creation date. - items: - properties: - created: - type: string - name: - type: string - required: - - created - - name - type: object - nullable: true - type: array - required: - - codebase - - imageName - type: object - status: - description: CodebaseImageStreamStatus defines the observed state of CodebaseImageStream. - properties: - detailed_message: - description: |- - Detailed information regarding action result - which were performed - type: string - failureCount: - description: Amount of times, operator fail to serve with existing - CR. - format: int64 - type: integer - required: - - failureCount - type: object - type: object - served: true - storage: false - subresources: - status: {} diff --git a/config/crd/bases/v2.edp.epam.com_codebases.yaml b/config/crd/bases/v2.edp.epam.com_codebases.yaml index d936fa8b..6687b110 100644 --- a/config/crd/bases/v2.edp.epam.com_codebases.yaml +++ b/config/crd/bases/v2.edp.epam.com_codebases.yaml @@ -232,189 +232,3 @@ spec: storage: true subresources: status: {} - - deprecated: true - name: v1alpha1 - schema: - openAPIV3Schema: - description: Codebase is the Schema for the Codebases 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: CodebaseSpec defines the desired state of Codebase. - properties: - branchToCopyInDefaultBranch: - description: |- - 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). - type: string - buildTool: - description: A build tool which is used on codebase. - type: string - ciTool: - description: A name of tool which should be used as CI. - type: string - commitMessagePattern: - nullable: true - type: string - defaultBranch: - description: Name of default branch. - type: string - deploymentScript: - type: string - description: - description: A short description of codebase. - nullable: true - type: string - disablePutDeployTemplates: - description: Controller must skip step "put deploy templates" in action - chain. - type: boolean - emptyProject: - description: 'A flag indicating how project should be provisioned. - Default: false' - type: boolean - framework: - description: A framework used in codebase. - nullable: true - type: string - gitServer: - description: |- - A name of git server which will be used as VCS. - Example: "gerrit". - type: string - gitUrlPath: - description: A link to external git server, used for "import" strategy. - nullable: true - type: string - jiraIssueMetadataPayload: - nullable: true - type: string - jiraServer: - nullable: true - type: string - lang: - description: Programming language used in codebase. - type: string - repository: - nullable: true - properties: - url: - type: string - required: - - url - type: object - strategy: - description: integration strategy for a codebase, e.g. clone, import, - etc. - enum: - - create - - clone - - import - type: string - testReportFramework: - nullable: true - type: string - ticketNamePattern: - nullable: true - type: string - type: - description: Type of codebase. E.g. application, autotest or library. - type: string - versioning: - properties: - startFrom: - nullable: true - type: string - type: - type: string - required: - - type - type: object - required: - - buildTool - - ciTool - - defaultBranch - - emptyProject - - gitServer - - lang - - strategy - - type - - versioning - type: object - status: - description: CodebaseStatus defines the observed state of Codebase. - properties: - action: - description: The last Action was performed. - type: string - available: - description: This flag indicates neither Codebase are initialized - and ready to work. Defaults to false. - type: boolean - detailedMessage: - description: |- - Detailed information regarding action result - which were performed - type: string - failureCount: - description: Amount of times, operator fail to serve with existing - CR. - format: int64 - type: integer - git: - description: Specifies a status of action for git. - type: string - lastTimeUpdated: - description: Information when the last time the action were performed. - format: date-time - type: string - result: - description: |- - A result of an action which were performed. - - "success": action where performed successfully; - - "error": error has occurred; - enum: - - success - - error - type: string - status: - description: Specifies a current status of Codebase. - type: string - username: - description: Name of user who made a last change. - type: string - value: - description: Specifies a current state of Codebase. - type: string - required: - - action - - available - - failureCount - - git - - lastTimeUpdated - - result - - status - - username - - value - type: object - type: object - served: true - storage: false - subresources: - status: {} diff --git a/config/crd/bases/v2.edp.epam.com_gitservers.yaml b/config/crd/bases/v2.edp.epam.com_gitservers.yaml index ff84163a..0f2524cc 100644 --- a/config/crd/bases/v2.edp.epam.com_gitservers.yaml +++ b/config/crd/bases/v2.edp.epam.com_gitservers.yaml @@ -113,98 +113,3 @@ spec: storage: true subresources: status: {} - - deprecated: true - name: v1alpha1 - schema: - openAPIV3Schema: - description: GitServer is the Schema for the gitservers 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: GitServerSpec defines the desired state of GitServer. - properties: - createCodeReviewPipeline: - type: boolean - gitHost: - type: string - gitUser: - type: string - httpsPort: - format: int32 - type: integer - nameSshKeySecret: - type: string - sshPort: - format: int32 - type: integer - required: - - gitHost - - gitUser - - httpsPort - - nameSshKeySecret - - sshPort - type: object - status: - description: GitServerStatus defines the observed state of GitServer. - properties: - action: - description: The last Action was performed. - type: string - available: - description: This flag indicates neither JiraServer are initialized - and ready to work. Defaults to false. - type: boolean - detailed_message: - description: |- - Detailed information regarding action result - which were performed - type: string - last_time_updated: - description: Information when the last time the action were performed. - format: date-time - type: string - result: - description: |- - A result of an action which were performed. - - "success": action where performed successfully; - - "error": error has occurred; - type: string - status: - description: Specifies a current status of GitServer. - type: string - username: - description: Name of user who made a last change. - type: string - value: - description: Specifies a current state of GitServer. - type: string - required: - - action - - available - - last_time_updated - - result - - status - - username - - value - type: object - type: object - served: true - storage: false - subresources: - status: {} diff --git a/config/crd/bases/v2.edp.epam.com_jiraissuemetadatas.yaml b/config/crd/bases/v2.edp.epam.com_jiraissuemetadatas.yaml index 6eefd852..75f05f4e 100644 --- a/config/crd/bases/v2.edp.epam.com_jiraissuemetadatas.yaml +++ b/config/crd/bases/v2.edp.epam.com_jiraissuemetadatas.yaml @@ -90,78 +90,3 @@ spec: storage: true subresources: status: {} - - deprecated: true - name: v1alpha1 - schema: - openAPIV3Schema: - description: JiraIssueMetadata is the Schema for the JiraIssueMetadatas 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: JiraIssueMetadataSpec defines the desired state of JiraIssueMetadata. - properties: - codebaseName: - description: Name of Codebase associated with. - type: string - commits: - items: - type: string - nullable: true - type: array - payload: - description: JSON payload - type: string - tickets: - items: - type: string - nullable: true - type: array - required: - - codebaseName - type: object - status: - description: JiraIssueMetadataStatus defines the observed state of JiraIssueMetadata. - properties: - detailed_message: - description: |- - Detailed information regarding action result - which were performed - type: string - failureCount: - description: Amount of times, operator fail to serve with existing - CR. - format: int64 - type: integer - last_time_updated: - description: Information when the last time the action were performed. - format: date-time - type: string - status: - description: Specifies a current status of JiraIssueMetadata. - type: string - required: - - failureCount - - last_time_updated - - status - type: object - type: object - served: true - storage: false - subresources: - status: {} diff --git a/config/crd/bases/v2.edp.epam.com_jiraservers.yaml b/config/crd/bases/v2.edp.epam.com_jiraservers.yaml index 7d96df32..2de567c5 100644 --- a/config/crd/bases/v2.edp.epam.com_jiraservers.yaml +++ b/config/crd/bases/v2.edp.epam.com_jiraservers.yaml @@ -86,69 +86,3 @@ spec: storage: true subresources: status: {} - - deprecated: true - name: v1alpha1 - schema: - openAPIV3Schema: - description: JiraServer is the Schema for the JiraServers 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: JiraServerSpec defines the desired state of JiraServer. - properties: - apiUrl: - type: string - credentialName: - type: string - rootUrl: - type: string - required: - - apiUrl - - credentialName - - rootUrl - type: object - status: - description: JiraServerStatus defines the observed state of JiraServer. - properties: - available: - description: This flag indicates neither JiraServer are initialized - and ready to work. Defaults to false. - type: boolean - detailed_message: - description: |- - Detailed information regarding action result - which were performed - type: string - last_time_updated: - description: Information when the last time the action were performed. - format: date-time - type: string - status: - description: Specifies a current status of JiraServer. - type: string - required: - - available - - last_time_updated - - status - type: object - type: object - served: true - storage: false - subresources: - status: {} diff --git a/config/samples/kustomization.yaml b/config/samples/kustomization.yaml index 82b68d83..02dbf639 100644 --- a/config/samples/kustomization.yaml +++ b/config/samples/kustomization.yaml @@ -1,12 +1,12 @@ ## Append samples you want in your CSV to this file as resources ## resources: -- v2.edp.epam.com_v1alpha1_cdstagedeploy.yaml -- v2.edp.epam.com_v1alpha1_codebasebranch.yaml -- v2.edp.epam.com_v1alpha1_codebaseimagestream.yaml -- v2.edp.epam.com_v1alpha1_codebase.yaml -- v2.edp.epam.com_v1alpha1_gitserver.yaml -- v2.edp.epam.com_v1alpha1_jiraissuemetadata.yaml -- v2.edp.epam.com_v1alpha1_jiraserver.yaml +- v2.edp.epam.com_v1_cdstagedeploy.yaml +- v2.edp.epam.com_v1_codebasebranch.yaml +- v2.edp.epam.com_v1_codebaseimagestream.yaml +- v2.edp.epam.com_v1_codebase.yaml +- v2.edp.epam.com_v1_gitserver.yaml +- v2.edp.epam.com_v1_jiraissuemetadata.yaml +- v2.edp.epam.com_v1_jiraserver.yaml - v2_v1alpha1_template.yaml - v2_v1_quicklink.yaml #+kubebuilder:scaffold:manifestskustomizesamples diff --git a/config/samples/v2.edp.epam.com_v1alpha1_cdstagedeploy.yaml b/config/samples/v2.edp.epam.com_v1_cdstagedeploy.yaml similarity index 90% rename from config/samples/v2.edp.epam.com_v1alpha1_cdstagedeploy.yaml rename to config/samples/v2.edp.epam.com_v1_cdstagedeploy.yaml index 9a60d78e..1affbb3c 100644 --- a/config/samples/v2.edp.epam.com_v1alpha1_cdstagedeploy.yaml +++ b/config/samples/v2.edp.epam.com_v1_cdstagedeploy.yaml @@ -1,4 +1,4 @@ -apiVersion: v2.edp.epam.com/v1alpha1 +apiVersion: v2.edp.epam.com/v1 kind: CDStageDeploy metadata: labels: diff --git a/config/samples/v2.edp.epam.com_v1alpha1_codebase.yaml b/config/samples/v2.edp.epam.com_v1_codebase.yaml similarity index 90% rename from config/samples/v2.edp.epam.com_v1alpha1_codebase.yaml rename to config/samples/v2.edp.epam.com_v1_codebase.yaml index bf6c5616..a5a2ab21 100644 --- a/config/samples/v2.edp.epam.com_v1alpha1_codebase.yaml +++ b/config/samples/v2.edp.epam.com_v1_codebase.yaml @@ -1,4 +1,4 @@ -apiVersion: v2.edp.epam.com/v1alpha1 +apiVersion: v2.edp.epam.com/v1 kind: Codebase metadata: labels: diff --git a/config/samples/v2.edp.epam.com_v1alpha1_codebasebranch.yaml b/config/samples/v2.edp.epam.com_v1_codebasebranch.yaml similarity index 90% rename from config/samples/v2.edp.epam.com_v1alpha1_codebasebranch.yaml rename to config/samples/v2.edp.epam.com_v1_codebasebranch.yaml index dd5bca92..c4c34fbc 100644 --- a/config/samples/v2.edp.epam.com_v1alpha1_codebasebranch.yaml +++ b/config/samples/v2.edp.epam.com_v1_codebasebranch.yaml @@ -1,4 +1,4 @@ -apiVersion: v2.edp.epam.com/v1alpha1 +apiVersion: v2.edp.epam.com/v1 kind: CodebaseBranch metadata: labels: diff --git a/config/samples/v2.edp.epam.com_v1alpha1_codebaseimagestream.yaml b/config/samples/v2.edp.epam.com_v1_codebaseimagestream.yaml similarity index 91% rename from config/samples/v2.edp.epam.com_v1alpha1_codebaseimagestream.yaml rename to config/samples/v2.edp.epam.com_v1_codebaseimagestream.yaml index 721fa6f5..8ff1a363 100644 --- a/config/samples/v2.edp.epam.com_v1alpha1_codebaseimagestream.yaml +++ b/config/samples/v2.edp.epam.com_v1_codebaseimagestream.yaml @@ -1,4 +1,4 @@ -apiVersion: v2.edp.epam.com/v1alpha1 +apiVersion: v2.edp.epam.com/v1 kind: CodebaseImageStream metadata: labels: diff --git a/config/samples/v2.edp.epam.com_v1alpha1_gitserver.yaml b/config/samples/v2.edp.epam.com_v1_gitserver.yaml similarity index 90% rename from config/samples/v2.edp.epam.com_v1alpha1_gitserver.yaml rename to config/samples/v2.edp.epam.com_v1_gitserver.yaml index 720920d7..0c237f59 100644 --- a/config/samples/v2.edp.epam.com_v1alpha1_gitserver.yaml +++ b/config/samples/v2.edp.epam.com_v1_gitserver.yaml @@ -1,4 +1,4 @@ -apiVersion: v2.edp.epam.com/v1alpha1 +apiVersion: v2.edp.epam.com/v1 kind: GitServer metadata: labels: diff --git a/config/samples/v2.edp.epam.com_v1alpha1_jiraissuemetadata.yaml b/config/samples/v2.edp.epam.com_v1_jiraissuemetadata.yaml similarity index 90% rename from config/samples/v2.edp.epam.com_v1alpha1_jiraissuemetadata.yaml rename to config/samples/v2.edp.epam.com_v1_jiraissuemetadata.yaml index d94f5afd..005772de 100644 --- a/config/samples/v2.edp.epam.com_v1alpha1_jiraissuemetadata.yaml +++ b/config/samples/v2.edp.epam.com_v1_jiraissuemetadata.yaml @@ -1,4 +1,4 @@ -apiVersion: v2.edp.epam.com/v1alpha1 +apiVersion: v2.edp.epam.com/v1 kind: JiraIssueMetadata metadata: labels: diff --git a/config/samples/v2.edp.epam.com_v1alpha1_jiraserver.yaml b/config/samples/v2.edp.epam.com_v1_jiraserver.yaml similarity index 90% rename from config/samples/v2.edp.epam.com_v1alpha1_jiraserver.yaml rename to config/samples/v2.edp.epam.com_v1_jiraserver.yaml index 1247852d..abb0197f 100644 --- a/config/samples/v2.edp.epam.com_v1alpha1_jiraserver.yaml +++ b/config/samples/v2.edp.epam.com_v1_jiraserver.yaml @@ -1,4 +1,4 @@ -apiVersion: v2.edp.epam.com/v1alpha1 +apiVersion: v2.edp.epam.com/v1 kind: JiraServer metadata: labels: diff --git a/deploy-templates/crds/v2.edp.epam.com_cdstagedeployments.yaml b/deploy-templates/crds/v2.edp.epam.com_cdstagedeployments.yaml index c4c33e35..322684a5 100644 --- a/deploy-templates/crds/v2.edp.epam.com_cdstagedeployments.yaml +++ b/deploy-templates/crds/v2.edp.epam.com_cdstagedeployments.yaml @@ -101,89 +101,3 @@ spec: storage: true subresources: status: {} - - deprecated: true - name: v1alpha1 - schema: - openAPIV3Schema: - description: CDStageDeploy is the Schema for the CDStageDeployments 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: CDStageDeploySpec defines the desired state of CDStageDeploy. - properties: - pipeline: - description: Name of related pipeline - type: string - stage: - description: Name of related stage - type: string - tag: - description: Specifies a latest available tag - properties: - codebase: - type: string - tag: - type: string - required: - - codebase - - tag - type: object - tags: - description: A list of available tags - items: - properties: - codebase: - type: string - tag: - type: string - required: - - codebase - - tag - type: object - type: array - required: - - pipeline - - stage - - tag - - tags - type: object - status: - description: CDStageDeployStatus defines the observed state of CDStageDeploy. - properties: - failureCount: - description: Amount of times, operator fail to serve with existing - CR. - format: int64 - type: integer - message: - description: Descriptive message for current status. - type: string - status: - description: Specifies a current status of CDStageDeploy. - type: string - required: - - failureCount - - message - - status - type: object - type: object - served: true - storage: false - subresources: - status: {} diff --git a/deploy-templates/crds/v2.edp.epam.com_codebasebranches.yaml b/deploy-templates/crds/v2.edp.epam.com_codebasebranches.yaml index f6b2f2a9..5840fb97 100644 --- a/deploy-templates/crds/v2.edp.epam.com_codebasebranches.yaml +++ b/deploy-templates/crds/v2.edp.epam.com_codebasebranches.yaml @@ -151,119 +151,3 @@ spec: storage: true subresources: status: {} - - deprecated: true - name: v1alpha1 - schema: - openAPIV3Schema: - description: CodebaseBranch is the Schema for the CodebaseBranches 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: CodebaseBranchSpec defines the desired state of CodebaseBranch. - properties: - branchName: - description: Name of a branch. - type: string - codebaseName: - description: Name of Codebase associated with. - type: string - fromCommit: - description: The new branch will be created starting from the selected - commit hash. - type: string - release: - description: Flag if branch is used as "release" branch. - type: boolean - releaseJobParams: - additionalProperties: - type: string - nullable: true - type: object - version: - nullable: true - type: string - required: - - branchName - - codebaseName - - fromCommit - - release - type: object - status: - description: CodebaseBranchStatus defines the observed state of CodebaseBranch. - properties: - action: - description: The last Action was performed. - type: string - build: - nullable: true - type: string - detailedMessage: - description: |- - Detailed information regarding action result - which were performed - type: string - failureCount: - description: Amount of times, operator fail to serve with existing - CR. - format: int64 - type: integer - lastSuccessfulBuild: - nullable: true - type: string - lastTimeUpdated: - description: Information when the last time the action were performed. - format: date-time - type: string - result: - description: |- - A result of an action which were performed. - - "success": action where performed successfully; - - "error": error has occurred; - enum: - - success - - error - type: string - status: - description: Specifies a current status of CodebaseBranch. - type: string - username: - description: Name of user who made a last change. - type: string - value: - description: Specifies a current state of CodebaseBranch. - type: string - versionHistory: - items: - type: string - nullable: true - type: array - required: - - action - - failureCount - - lastTimeUpdated - - result - - status - - username - - value - type: object - type: object - served: true - storage: false - subresources: - status: {} diff --git a/deploy-templates/crds/v2.edp.epam.com_codebaseimagestreams.yaml b/deploy-templates/crds/v2.edp.epam.com_codebaseimagestreams.yaml index e491a265..bc777a73 100644 --- a/deploy-templates/crds/v2.edp.epam.com_codebaseimagestreams.yaml +++ b/deploy-templates/crds/v2.edp.epam.com_codebaseimagestreams.yaml @@ -93,76 +93,3 @@ spec: storage: true subresources: status: {} - - deprecated: true - name: v1alpha1 - schema: - openAPIV3Schema: - description: CodebaseImageStream is the Schema for the CodebaseImageStreams - 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: CodebaseImageStreamSpec defines the desired state of CodebaseImageStream. - properties: - codebase: - description: Name of Codebase associated with. - type: string - imageName: - description: Docker container name without tag, e.g. registry-name/path/name. - type: string - tags: - description: A list of docker image tags available for ImageName and - their creation date. - items: - properties: - created: - type: string - name: - type: string - required: - - created - - name - type: object - nullable: true - type: array - required: - - codebase - - imageName - type: object - status: - description: CodebaseImageStreamStatus defines the observed state of CodebaseImageStream. - properties: - detailed_message: - description: |- - Detailed information regarding action result - which were performed - type: string - failureCount: - description: Amount of times, operator fail to serve with existing - CR. - format: int64 - type: integer - required: - - failureCount - type: object - type: object - served: true - storage: false - subresources: - status: {} diff --git a/deploy-templates/crds/v2.edp.epam.com_codebases.yaml b/deploy-templates/crds/v2.edp.epam.com_codebases.yaml index d936fa8b..6687b110 100644 --- a/deploy-templates/crds/v2.edp.epam.com_codebases.yaml +++ b/deploy-templates/crds/v2.edp.epam.com_codebases.yaml @@ -232,189 +232,3 @@ spec: storage: true subresources: status: {} - - deprecated: true - name: v1alpha1 - schema: - openAPIV3Schema: - description: Codebase is the Schema for the Codebases 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: CodebaseSpec defines the desired state of Codebase. - properties: - branchToCopyInDefaultBranch: - description: |- - 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). - type: string - buildTool: - description: A build tool which is used on codebase. - type: string - ciTool: - description: A name of tool which should be used as CI. - type: string - commitMessagePattern: - nullable: true - type: string - defaultBranch: - description: Name of default branch. - type: string - deploymentScript: - type: string - description: - description: A short description of codebase. - nullable: true - type: string - disablePutDeployTemplates: - description: Controller must skip step "put deploy templates" in action - chain. - type: boolean - emptyProject: - description: 'A flag indicating how project should be provisioned. - Default: false' - type: boolean - framework: - description: A framework used in codebase. - nullable: true - type: string - gitServer: - description: |- - A name of git server which will be used as VCS. - Example: "gerrit". - type: string - gitUrlPath: - description: A link to external git server, used for "import" strategy. - nullable: true - type: string - jiraIssueMetadataPayload: - nullable: true - type: string - jiraServer: - nullable: true - type: string - lang: - description: Programming language used in codebase. - type: string - repository: - nullable: true - properties: - url: - type: string - required: - - url - type: object - strategy: - description: integration strategy for a codebase, e.g. clone, import, - etc. - enum: - - create - - clone - - import - type: string - testReportFramework: - nullable: true - type: string - ticketNamePattern: - nullable: true - type: string - type: - description: Type of codebase. E.g. application, autotest or library. - type: string - versioning: - properties: - startFrom: - nullable: true - type: string - type: - type: string - required: - - type - type: object - required: - - buildTool - - ciTool - - defaultBranch - - emptyProject - - gitServer - - lang - - strategy - - type - - versioning - type: object - status: - description: CodebaseStatus defines the observed state of Codebase. - properties: - action: - description: The last Action was performed. - type: string - available: - description: This flag indicates neither Codebase are initialized - and ready to work. Defaults to false. - type: boolean - detailedMessage: - description: |- - Detailed information regarding action result - which were performed - type: string - failureCount: - description: Amount of times, operator fail to serve with existing - CR. - format: int64 - type: integer - git: - description: Specifies a status of action for git. - type: string - lastTimeUpdated: - description: Information when the last time the action were performed. - format: date-time - type: string - result: - description: |- - A result of an action which were performed. - - "success": action where performed successfully; - - "error": error has occurred; - enum: - - success - - error - type: string - status: - description: Specifies a current status of Codebase. - type: string - username: - description: Name of user who made a last change. - type: string - value: - description: Specifies a current state of Codebase. - type: string - required: - - action - - available - - failureCount - - git - - lastTimeUpdated - - result - - status - - username - - value - type: object - type: object - served: true - storage: false - subresources: - status: {} diff --git a/deploy-templates/crds/v2.edp.epam.com_gitservers.yaml b/deploy-templates/crds/v2.edp.epam.com_gitservers.yaml index ff84163a..0f2524cc 100644 --- a/deploy-templates/crds/v2.edp.epam.com_gitservers.yaml +++ b/deploy-templates/crds/v2.edp.epam.com_gitservers.yaml @@ -113,98 +113,3 @@ spec: storage: true subresources: status: {} - - deprecated: true - name: v1alpha1 - schema: - openAPIV3Schema: - description: GitServer is the Schema for the gitservers 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: GitServerSpec defines the desired state of GitServer. - properties: - createCodeReviewPipeline: - type: boolean - gitHost: - type: string - gitUser: - type: string - httpsPort: - format: int32 - type: integer - nameSshKeySecret: - type: string - sshPort: - format: int32 - type: integer - required: - - gitHost - - gitUser - - httpsPort - - nameSshKeySecret - - sshPort - type: object - status: - description: GitServerStatus defines the observed state of GitServer. - properties: - action: - description: The last Action was performed. - type: string - available: - description: This flag indicates neither JiraServer are initialized - and ready to work. Defaults to false. - type: boolean - detailed_message: - description: |- - Detailed information regarding action result - which were performed - type: string - last_time_updated: - description: Information when the last time the action were performed. - format: date-time - type: string - result: - description: |- - A result of an action which were performed. - - "success": action where performed successfully; - - "error": error has occurred; - type: string - status: - description: Specifies a current status of GitServer. - type: string - username: - description: Name of user who made a last change. - type: string - value: - description: Specifies a current state of GitServer. - type: string - required: - - action - - available - - last_time_updated - - result - - status - - username - - value - type: object - type: object - served: true - storage: false - subresources: - status: {} diff --git a/deploy-templates/crds/v2.edp.epam.com_jiraissuemetadatas.yaml b/deploy-templates/crds/v2.edp.epam.com_jiraissuemetadatas.yaml index 6eefd852..75f05f4e 100644 --- a/deploy-templates/crds/v2.edp.epam.com_jiraissuemetadatas.yaml +++ b/deploy-templates/crds/v2.edp.epam.com_jiraissuemetadatas.yaml @@ -90,78 +90,3 @@ spec: storage: true subresources: status: {} - - deprecated: true - name: v1alpha1 - schema: - openAPIV3Schema: - description: JiraIssueMetadata is the Schema for the JiraIssueMetadatas 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: JiraIssueMetadataSpec defines the desired state of JiraIssueMetadata. - properties: - codebaseName: - description: Name of Codebase associated with. - type: string - commits: - items: - type: string - nullable: true - type: array - payload: - description: JSON payload - type: string - tickets: - items: - type: string - nullable: true - type: array - required: - - codebaseName - type: object - status: - description: JiraIssueMetadataStatus defines the observed state of JiraIssueMetadata. - properties: - detailed_message: - description: |- - Detailed information regarding action result - which were performed - type: string - failureCount: - description: Amount of times, operator fail to serve with existing - CR. - format: int64 - type: integer - last_time_updated: - description: Information when the last time the action were performed. - format: date-time - type: string - status: - description: Specifies a current status of JiraIssueMetadata. - type: string - required: - - failureCount - - last_time_updated - - status - type: object - type: object - served: true - storage: false - subresources: - status: {} diff --git a/deploy-templates/crds/v2.edp.epam.com_jiraservers.yaml b/deploy-templates/crds/v2.edp.epam.com_jiraservers.yaml index 7d96df32..2de567c5 100644 --- a/deploy-templates/crds/v2.edp.epam.com_jiraservers.yaml +++ b/deploy-templates/crds/v2.edp.epam.com_jiraservers.yaml @@ -86,69 +86,3 @@ spec: storage: true subresources: status: {} - - deprecated: true - name: v1alpha1 - schema: - openAPIV3Schema: - description: JiraServer is the Schema for the JiraServers 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: JiraServerSpec defines the desired state of JiraServer. - properties: - apiUrl: - type: string - credentialName: - type: string - rootUrl: - type: string - required: - - apiUrl - - credentialName - - rootUrl - type: object - status: - description: JiraServerStatus defines the observed state of JiraServer. - properties: - available: - description: This flag indicates neither JiraServer are initialized - and ready to work. Defaults to false. - type: boolean - detailed_message: - description: |- - Detailed information regarding action result - which were performed - type: string - last_time_updated: - description: Information when the last time the action were performed. - format: date-time - type: string - status: - description: Specifies a current status of JiraServer. - type: string - required: - - available - - last_time_updated - - status - type: object - type: object - served: true - storage: false - subresources: - status: {} diff --git a/docs/api.md b/docs/api.md index 3b54f16a..bccd1cdc 100644 --- a/docs/api.md +++ b/docs/api.md @@ -1623,1506 +1623,11 @@ QuickLinkSpec defines the desired state of QuickLink. Resource Types: -- [CDStageDeploy](#cdstagedeploy) - -- [CodebaseBranch](#codebasebranch) - -- [CodebaseImageStream](#codebaseimagestream) - -- [Codebase](#codebase) - -- [GitServer](#gitserver) - -- [JiraIssueMetadata](#jiraissuemetadata) - -- [JiraServer](#jiraserver) - - [Template](#template) -## CDStageDeploy -[↩ Parent](#v2edpepamcomv1alpha1 ) - - - - - - -CDStageDeploy is the Schema for the CDStageDeployments API. - -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| apiVersion | -string | -v2.edp.epam.com/v1alpha1 | -true | -
| kind | -string | -CDStageDeploy | -true | -
| metadata | -object | -Refer to the Kubernetes API documentation for the fields of the `metadata` field. | -true | -
| spec | -object | -
- CDStageDeploySpec defines the desired state of CDStageDeploy. - |
- false | -
| status | -object | -
- CDStageDeployStatus defines the observed state of CDStageDeploy. - |
- false | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| pipeline | -string | -
- Name of related pipeline - |
- true | -
| stage | -string | -
- Name of related stage - |
- true | -
| tag | -object | -
- Specifies a latest available tag - |
- true | -
| tags | -[]object | -
- A list of available tags - |
- true | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| codebase | -string | -
- - |
- true | -
| tag | -string | -
- - |
- true | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| codebase | -string | -
- - |
- true | -
| tag | -string | -
- - |
- true | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| failureCount | -integer | -
- Amount of times, operator fail to serve with existing CR. - - Format: int64 - |
- true | -
| message | -string | -
- Descriptive message for current status. - |
- true | -
| status | -string | -
- Specifies a current status of CDStageDeploy. - |
- true | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| apiVersion | -string | -v2.edp.epam.com/v1alpha1 | -true | -
| kind | -string | -CodebaseBranch | -true | -
| metadata | -object | -Refer to the Kubernetes API documentation for the fields of the `metadata` field. | -true | -
| spec | -object | -
- CodebaseBranchSpec defines the desired state of CodebaseBranch. - |
- false | -
| status | -object | -
- CodebaseBranchStatus defines the observed state of CodebaseBranch. - |
- false | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| branchName | -string | -
- Name of a branch. - |
- true | -
| codebaseName | -string | -
- Name of Codebase associated with. - |
- true | -
| fromCommit | -string | -
- The new branch will be created starting from the selected commit hash. - |
- true | -
| release | -boolean | -
- Flag if branch is used as "release" branch. - |
- true | -
| releaseJobParams | -map[string]string | -
- - |
- false | -
| version | -string | -
- - |
- false | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| action | -string | -
- The last Action was performed. - |
- true | -
| failureCount | -integer | -
- Amount of times, operator fail to serve with existing CR. - - Format: int64 - |
- true | -
| lastTimeUpdated | -string | -
- Information when the last time the action were performed. - - Format: date-time - |
- true | -
| result | -enum | -
- A result of an action which were performed.
-- "success": action where performed successfully;
-- "error": error has occurred; - - Enum: success, error - |
- true | -
| status | -string | -
- Specifies a current status of CodebaseBranch. - |
- true | -
| username | -string | -
- Name of user who made a last change. - |
- true | -
| value | -string | -
- Specifies a current state of CodebaseBranch. - |
- true | -
| build | -string | -
- - |
- false | -
| detailedMessage | -string | -
- Detailed information regarding action result
-which were performed - |
- false | -
| lastSuccessfulBuild | -string | -
- - |
- false | -
| versionHistory | -[]string | -
- - |
- false | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| apiVersion | -string | -v2.edp.epam.com/v1alpha1 | -true | -
| kind | -string | -CodebaseImageStream | -true | -
| metadata | -object | -Refer to the Kubernetes API documentation for the fields of the `metadata` field. | -true | -
| spec | -object | -
- CodebaseImageStreamSpec defines the desired state of CodebaseImageStream. - |
- false | -
| status | -object | -
- CodebaseImageStreamStatus defines the observed state of CodebaseImageStream. - |
- false | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| codebase | -string | -
- Name of Codebase associated with. - |
- true | -
| imageName | -string | -
- 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 | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| created | -string | -
- - |
- true | -
| name | -string | -
- - |
- true | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| failureCount | -integer | -
- Amount of times, operator fail to serve with existing CR. - - Format: int64 - |
- true | -
| detailed_message | -string | -
- Detailed information regarding action result
-which were performed - |
- false | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| apiVersion | -string | -v2.edp.epam.com/v1alpha1 | -true | -
| kind | -string | -Codebase | -true | -
| metadata | -object | -Refer to the Kubernetes API documentation for the fields of the `metadata` field. | -true | -
| spec | -object | -
- CodebaseSpec defines the desired state of Codebase. - |
- false | -
| status | -object | -
- CodebaseStatus defines the observed state of Codebase. - |
- false | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| buildTool | -string | -
- A build tool which is used on codebase. - |
- true | -
| ciTool | -string | -
- A name of tool which should be used as CI. - |
- true | -
| defaultBranch | -string | -
- Name of default branch. - |
- true | -
| emptyProject | -boolean | -
- A flag indicating how project should be provisioned. Default: false - |
- true | -
| gitServer | -string | -
- A name of git server which will be used as VCS.
-Example: "gerrit". - |
- true | -
| lang | -string | -
- Programming language used in codebase. - |
- true | -
| strategy | -enum | -
- integration strategy for a codebase, e.g. clone, import, etc. - - Enum: create, clone, import - |
- true | -
| type | -string | -
- Type of codebase. E.g. application, autotest or library. - |
- true | -
| versioning | -object | -
- - |
- true | -
| branchToCopyInDefaultBranch | -string | -
- 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 | -
| commitMessagePattern | -string | -
- - |
- false | -
| deploymentScript | -string | -
- - |
- false | -
| description | -string | -
- A short description of codebase. - |
- false | -
| disablePutDeployTemplates | -boolean | -
- Controller must skip step "put deploy templates" in action chain. - |
- false | -
| framework | -string | -
- A framework used in codebase. - |
- false | -
| gitUrlPath | -string | -
- A link to external git server, used for "import" strategy. - |
- false | -
| jiraIssueMetadataPayload | -string | -
- - |
- false | -
| jiraServer | -string | -
- - |
- false | -
| repository | -object | -
- - |
- false | -
| testReportFramework | -string | -
- - |
- false | -
| ticketNamePattern | -string | -
- - |
- false | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| type | -string | -
- - |
- true | -
| startFrom | -string | -
- - |
- false | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| url | -string | -
- - |
- true | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| action | -string | -
- The last Action was performed. - |
- true | -
| available | -boolean | -
- This flag indicates neither Codebase are initialized and ready to work. Defaults to false. - |
- true | -
| failureCount | -integer | -
- Amount of times, operator fail to serve with existing CR. - - Format: int64 - |
- true | -
| git | -string | -
- Specifies a status of action for git. - |
- true | -
| lastTimeUpdated | -string | -
- Information when the last time the action were performed. - - Format: date-time - |
- true | -
| result | -enum | -
- A result of an action which were performed.
-- "success": action where performed successfully;
-- "error": error has occurred; - - Enum: success, error - |
- true | -
| status | -string | -
- Specifies a current status of Codebase. - |
- true | -
| username | -string | -
- Name of user who made a last change. - |
- true | -
| value | -string | -
- Specifies a current state of Codebase. - |
- true | -
| detailedMessage | -string | -
- Detailed information regarding action result
-which were performed - |
- false | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| apiVersion | -string | -v2.edp.epam.com/v1alpha1 | -true | -
| kind | -string | -GitServer | -true | -
| metadata | -object | -Refer to the Kubernetes API documentation for the fields of the `metadata` field. | -true | -
| spec | -object | -
- GitServerSpec defines the desired state of GitServer. - |
- false | -
| status | -object | -
- GitServerStatus defines the observed state of GitServer. - |
- false | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| gitHost | -string | -
- - |
- true | -
| gitUser | -string | -
- - |
- true | -
| httpsPort | -integer | -
- - - Format: int32 - |
- true | -
| nameSshKeySecret | -string | -
- - |
- true | -
| sshPort | -integer | -
- - - Format: int32 - |
- true | -
| createCodeReviewPipeline | -boolean | -
- - |
- false | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| action | -string | -
- The last Action was performed. - |
- true | -
| available | -boolean | -
- This flag indicates neither JiraServer are initialized and ready to work. Defaults to false. - |
- true | -
| last_time_updated | -string | -
- Information when the last time the action were performed. - - Format: date-time - |
- true | -
| result | -string | -
- A result of an action which were performed.
-- "success": action where performed successfully;
-- "error": error has occurred; - |
- true | -
| status | -string | -
- Specifies a current status of GitServer. - |
- true | -
| username | -string | -
- Name of user who made a last change. - |
- true | -
| value | -string | -
- Specifies a current state of GitServer. - |
- true | -
| detailed_message | -string | -
- Detailed information regarding action result
-which were performed - |
- false | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| apiVersion | -string | -v2.edp.epam.com/v1alpha1 | -true | -
| kind | -string | -JiraIssueMetadata | -true | -
| metadata | -object | -Refer to the Kubernetes API documentation for the fields of the `metadata` field. | -true | -
| spec | -object | -
- JiraIssueMetadataSpec defines the desired state of JiraIssueMetadata. - |
- false | -
| status | -object | -
- JiraIssueMetadataStatus defines the observed state of JiraIssueMetadata. - |
- false | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| codebaseName | -string | -
- Name of Codebase associated with. - |
- true | -
| commits | -[]string | -
- - |
- false | -
| payload | -string | -
- JSON payload - |
- false | -
| tickets | -[]string | -
- - |
- false | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| failureCount | -integer | -
- Amount of times, operator fail to serve with existing CR. - - Format: int64 - |
- true | -
| last_time_updated | -string | -
- Information when the last time the action were performed. - - Format: date-time - |
- true | -
| status | -string | -
- Specifies a current status of JiraIssueMetadata. - |
- true | -
| detailed_message | -string | -
- Detailed information regarding action result
-which were performed - |
- false | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| apiVersion | -string | -v2.edp.epam.com/v1alpha1 | -true | -
| kind | -string | -JiraServer | -true | -
| metadata | -object | -Refer to the Kubernetes API documentation for the fields of the `metadata` field. | -true | -
| spec | -object | -
- JiraServerSpec defines the desired state of JiraServer. - |
- false | -
| status | -object | -
- JiraServerStatus defines the observed state of JiraServer. - |
- false | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| apiUrl | -string | -
- - |
- true | -
| credentialName | -string | -
- - |
- true | -
| rootUrl | -string | -
- - |
- true | -
| Name | -Type | -Description | -Required | -
|---|---|---|---|
| available | -boolean | -
- This flag indicates neither JiraServer are initialized and ready to work. Defaults to false. - |
- true | -
| last_time_updated | -string | -
- Information when the last time the action were performed. - - Format: date-time - |
- true | -
| status | -string | -
- Specifies a current status of JiraServer. - |
- true | -
| detailed_message | -string | -
- Detailed information regarding action result
-which were performed - |
- false | -