organization and repository are now exclusive

This commit is contained in:
Reinier Timmer
2020-04-28 07:24:37 +02:00
parent 8c5b776807
commit 9f57f52e36
6 changed files with 102 additions and 48 deletions

View File

@@ -4120,11 +4120,10 @@ spec:
type: string
type: object
organization:
minLength: 3
pattern: ^[^/]+$
type: string
repository:
pattern: ^[^/]*$
pattern: ^[^/]+/[^/]+$
type: string
resources:
description: ResourceRequirements describes the compute resource
@@ -6715,8 +6714,6 @@ spec:
- name
type: object
type: array
required:
- organization
type: object
type: object
required:

View File

@@ -4120,11 +4120,10 @@ spec:
type: string
type: object
organization:
minLength: 3
pattern: ^[^/]+$
type: string
repository:
pattern: ^[^/]*$
pattern: ^[^/]+/[^/]+$
type: string
resources:
description: ResourceRequirements describes the compute resource
@@ -6715,8 +6714,6 @@ spec:
- name
type: object
type: array
required:
- organization
type: object
type: object
required:

View File

@@ -3869,11 +3869,10 @@ spec:
type: string
type: object
organization:
minLength: 3
pattern: ^[^/]+$
type: string
repository:
pattern: ^[^/]*$
pattern: ^[^/]+/[^/]+$
type: string
resources:
description: ResourceRequirements describes the compute resource requirements.
@@ -6305,8 +6304,6 @@ spec:
- name
type: object
type: array
required:
- organization
type: object
status:
description: RunnerStatus defines the observed state of Runner
@@ -6335,7 +6332,6 @@ spec:
type: string
required:
- expiresAt
- organization
- token
type: object
required: