Skip to content

Commit

Permalink
remove v1alpha1
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
  • Loading branch information
stevekuznetsov committed Jan 4, 2023
1 parent 7ec045a commit b797386
Show file tree
Hide file tree
Showing 74 changed files with 376 additions and 5,038 deletions.
4 changes: 3 additions & 1 deletion config/crds/apis.kcp.io_apibindings.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
Expand Down Expand Up @@ -120,6 +119,9 @@ spec:
type: array
reference:
description: reference uniquely identifies an API to bind to.
oneOf:
- required:
- export
properties:
export:
description: export is a reference to an APIExport by cluster
Expand Down
5 changes: 4 additions & 1 deletion config/crds/apis.kcp.io_apiexports.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
Expand Down Expand Up @@ -98,6 +97,9 @@ spec:
the RBAC policy here in the APIExport workspace has to grant access
to the user `apis.kcp.io:binding:adam` with the groups `apis.kcp.io:binding:system:authenticated`
and `apis.kcp.io:binding:a-team`."
oneOf:
- required:
- local
properties:
local:
description: local is the policy that is defined in same workspace
Expand Down Expand Up @@ -125,6 +127,7 @@ spec:
This is mutually exclusive with resourceSelector.
type: boolean
group:
default: ""
description: group is the name of an API group. For core groups
this is the empty string '""'.
pattern: ^(|[a-z0-9]([-a-z0-9]*[a-z0-9](\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*)?)$
Expand Down
8 changes: 7 additions & 1 deletion config/crds/core.kcp.io_logicalclusters.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
Expand Down Expand Up @@ -47,8 +46,14 @@ spec:
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:
properties:
name:
enum:
- cluster
type: string
type: object
spec:
default: {}
description: LogicalClusterSpec is the specification of the LogicalCluster
resource.
properties:
Expand Down Expand Up @@ -106,6 +111,7 @@ spec:
type: object
type: object
status:
default: {}
description: LogicalClusterStatus communicates the observed state of the
Workspace.
properties:
Expand Down
2 changes: 1 addition & 1 deletion config/crds/scheduling.kcp.io_locations.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
Expand Down Expand Up @@ -99,6 +98,7 @@ spec:
description: description is a human-readable description of the location.
type: string
instanceSelector:
default: {}
description: "instanceSelector chooses the instances that will be
part of this location. \n Note that these labels are not what is
shown in the Location objects to the user. Depending on context,
Expand Down
9 changes: 8 additions & 1 deletion config/crds/tenancy.kcp.io_workspaces.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
Expand Down Expand Up @@ -56,8 +55,15 @@ spec:
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:
properties:
name:
maxLength: 63
minLength: 1
pattern: ^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$
type: string
type: object
spec:
default: {}
description: WorkspaceSpec holds the desired state of the ClusterWorkspace.
properties:
shard:
Expand Down Expand Up @@ -144,6 +150,7 @@ spec:
rule: '!has(oldSelf.path) || !has(self.path) || self.path == oldSelf.path'
type: object
status:
default: {}
description: WorkspaceStatus communicates the observed state of the Workspace.
properties:
URL:
Expand Down
262 changes: 0 additions & 262 deletions config/crds/tenancy.kcp.io_workspacetype2s.yaml

This file was deleted.

Loading

0 comments on commit b797386

Please sign in to comment.