Commit 84623253 authored by Edmund Ochieng's avatar Edmund Ochieng

update crds in the deploy directory

parent ed8214c7
......@@ -27,12 +27,13 @@ spec:
shortNames:
- gl
singular: gitlab
preserveUnknownFields: false
scope: Namespaced
subresources:
status: {}
validation:
openAPIV3Schema:
description: GitLab is the Schema for the gitlabs API
description: GitLab is a complete DevOps platform, delivered in a single application
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'
......@@ -43,10 +44,10 @@ spec:
metadata:
type: object
spec:
description: GitLabSpec defines the desired state of GitLab
description: Specification of the desired behavior of a GitLab instance
properties:
acme:
description: ACMEOptions defines the values for the ACME service that will provide certificates
description: 'If specified, the options used by Cert-Manager to generate certificates. More info: https://cert-manager.io/docs/configuration/acme/'
properties:
email:
description: Email is the email for this account
......@@ -802,7 +803,7 @@ spec:
type: array
type: object
autoscaling:
description: AutoScalingSpec are the parameters to configure autoscaling
description: If specified, defines the parameters used when autoscaling GitLab resources
properties:
maxReplicas:
description: Maximum number of replicas to scale to
......@@ -813,12 +814,12 @@ spec:
format: int32
type: integer
targetCPU:
description: Percentage CPU mark at which autoscaling triggers
description: Percentage CPU of the requested CPU resources at which autoscaling triggers
format: int32
type: integer
type: object
objectStore:
description: ObjectStoreSpec defines options for Gitlab registry
description: The parameters for the object storage used to store GitLab artifacts
properties:
credentials:
description: Credentials contains the name of the secret that contains the `accesskey` and `secretkey` values required to access an existing minio instance. Should be an even number equal to or larger than four
......@@ -834,7 +835,7 @@ spec:
type: string
type: object
postgres:
description: DatabaseSpec defines database options
description: If specified, overrides the default behavior of the Postgresql database deployed by the operator
properties:
replicas:
format: int32
......@@ -851,7 +852,7 @@ spec:
type: object
type: object
redis:
description: RedisSpec defines Redis options
description: If specified, the Redis options override the default behavior of the Redis key-value store deployed by the operator
properties:
replicas:
format: int32
......@@ -868,7 +869,7 @@ spec:
type: object
type: object
registry:
description: RegistrySpec defines options for GitLab registry
description: Options used to setup the GitLab Registry
properties:
disable:
type: boolean
......@@ -881,7 +882,7 @@ spec:
description: The GitLab version to deploy
type: string
smtp:
description: 'SMTPConfiguration defines options for Gitlab registry More on configuration options available below: https://docs.gitlab.com/omnibus/settings/smtp.html'
description: If specified, SMTP provides the details of the email server used by GitLab to send outgoing email
properties:
authentication:
description: 'Authentication represents authentication mechanism Options include: login, plain, cram_md5'
......@@ -922,10 +923,10 @@ spec:
type: string
type: object
tls:
description: Name of tls secret used to secure the GitLab instance
description: Name of tls secret used to secure the GitLab instance URL
type: string
url:
description: The URL through which to access GitLab instance
description: 'The fully qualified domain name used to access the GitLab instance. For example: gitlab.example.com'
type: string
volume:
description: Volume for Gitaly statefulset
......@@ -939,7 +940,7 @@ spec:
type: object
type: object
status:
description: GitLabStatus defines the observed state of GitLab
description: Most recently observed status of the GitLab instance. It is read-only to the user
properties:
health:
description: HealthCheck represents the status of services that make up Gitlab
......
......@@ -14,12 +14,13 @@ spec:
shortNames:
- gbk
singular: glbackup
preserveUnknownFields: false
scope: Namespaced
subresources:
status: {}
validation:
openAPIV3Schema:
description: GLBackup is the Schema for the glbackups API
description: GLBackup resource backups and restores a GitLab instance
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'
......@@ -30,22 +31,22 @@ spec:
metadata:
type: object
spec:
description: GLBackupSpec defines the desired state of GLBackup
description: Specification of the desired behavior of a GitLab Backup
properties:
instance:
description: Name of GitLab instance to backup
type: string
restore:
description: Restore when set to true the backup defined by
description: If set to true, informs GitLab operator to perform a backup restore. Defaults to false or performing a backup.
type: boolean
schedule:
description: Backup schedule in cron format. Leave blank for one time on-demand backup
type: string
skip:
description: Comma separated list of components to omit from backup
description: Comma-separated list of components to omit from backup.
type: string
timestamp:
description: Prefix for the backup job Can be used when restoring backup
description: If specified, overrides the timestamp of a backup. Forms the prefix of the backup e.g. '<timestamp-override-value>_gitlab_backup.tar'. Can also be specified to target a specific backup to be restored
type: string
url:
description: The URL of the backup resource to be restored
......@@ -54,13 +55,13 @@ spec:
- instance
type: object
status:
description: GLBackupStatus defines the observed state of GLBackup
description: Most recently observed status of the GitLab Backup. It is read-only to the user
properties:
completedAt:
description: Displays time the backup completed
type: string
phase:
description: Reports status of backup task
description: Reports status of backup job
enum:
- Running
- Completed
......
......@@ -12,12 +12,13 @@ spec:
listKind: RunnerList
plural: runners
singular: runner
preserveUnknownFields: false
scope: Namespaced
subresources:
status: {}
validation:
openAPIV3Schema:
description: Runner is the Schema for the runners API
description: Runner is the open source project used to run your jobs and send the results back to GitLab
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'
......@@ -28,7 +29,7 @@ spec:
metadata:
type: object
spec:
description: RunnerSpec defines the desired state of Runner
description: Specification of the desired behavior of a GitLab Runner instance
properties:
cache:
description: Cache defines an S3 compatible object store
......@@ -37,7 +38,7 @@ spec:
description: Bucket defines the s3 bucket name
type: string
credentials:
description: Credentials is the name of the secret containing the
description: Credentials is the name of the secret containing the 'accesskey' and 'secretkey' used to access the object storage
type: string
insecure:
description: Insecure enables use of HTTP protocol
......@@ -52,25 +53,35 @@ spec:
description: S3 cache server URL
type: string
type: object
concurrent:
description: Option to limit the number of jobs globally that can run concurrently. The operator sets this to 10, if not specified
format: int32
type: integer
gitlab:
description: GitlabResource represents a Gitlab custom resource. Should only be used to reference Gitlab instance created by the operator
description: gitlab specifies the GitLab instance the GitLab Runner will register against
properties:
name:
description: Name of GitLab instance created by the operator
type: string
url:
description: URL of GitLab instance
description: The fully qualified domain name of the address used to access the GitLab instance. For example, gitlab.example.com
type: string
type: object
interval:
description: Option to define the number of seconds between checks for new jobs. This is set to a default of 30s by operator if not set
format: int32
type: integer
tags:
description: List of comma separated tags to be applied to the runner
description: 'List of comma separated tags to be applied to the runner More info: https://docs.gitlab.com/ee/ci/runners/#use-tags-to-limit-the-number-of-jobs-using-the-runner'
type: string
token:
description: Name of secret containing the runner-registration-token key used to register the runner
description: Name of secret containing the 'runner-registration-token' key used to register the runner
type: string
required:
- gitlab
type: object
status:
description: RunnerStatus defines the observed state of Runner
description: Most recently observed status of the GitLab Runner. It is read-only to the user
properties:
phase:
description: Reports status of the GitLab Runner instance
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment