Skip to content

Commit

Permalink
Update metadata crds
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Nov 18, 2024
1 parent 1a32345 commit 14b82a5
Show file tree
Hide file tree
Showing 9 changed files with 144 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
apiVersion: meta.k8s.appscode.com/v1alpha1
kind: ResourceDescriptor
metadata:
creationTimestamp: null
labels:
k8s.io/group: meta.k8s.appscode.com
k8s.io/kind: GatewayInfo
k8s.io/resource: gatewayinfoes
k8s.io/version: v1alpha1
name: meta.k8s.appscode.com-v1alpha1-gatewayinfoes
spec:
resource:
group: meta.k8s.appscode.com
kind: GatewayInfo
name: gatewayinfoes
scope: Namespaced
version: v1alpha1
validation:
openAPIV3Schema:
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:
properties:
name:
description: 'Name must be unique within a namespace. Is required when
creating resources, although some resources may allow a client to
request the generation of an appropriate name automatically. Name
is primarily intended for creation idempotence and configuration definition.
Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
type: string
namespace:
description: "Namespace defines the space within which each name must
be unique. An empty namespace is equivalent to the \"default\" namespace,
but \"default\" is the canonical representation. Not all objects are
required to be scoped to a namespace - the value of this field for
those objects will be empty. \n Must be a DNS_LABEL. Cannot be updated.
More info: http://kubernetes.io/docs/user-guide/namespaces"
type: string
labels:
additionalProperties:
type: string
description: 'Map of string keys and values that can be used to organize
and categorize (scope and select) objects. May match selectors of
replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels'
type: object
annotations:
additionalProperties:
type: string
description: 'Annotations is an unstructured key value map stored with
a resource that may be set by external tools to store and retrieve
arbitrary metadata. They are not queryable and should be preserved
when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations'
type: object
type: object
spec:
properties:
gatewayClassName:
type: string
hostName:
type: string
ip:
type: string
serviceType:
type: string
required:
- gatewayClassName
- serviceType
type: object
type: object
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ spec:
- src
type: object
type: array
impersonate:
type: boolean
kind:
enum:
- Block
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ spec:
type: string
connected:
properties:
impersonate:
type: boolean
query:
properties:
byLabel:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ spec:
- src
type: object
type: array
impersonate:
type: boolean
kind:
enum:
- Block
Expand Down Expand Up @@ -351,6 +353,8 @@ spec:
- src
type: object
type: array
impersonate:
type: boolean
kind:
enum:
- Block
Expand Down Expand Up @@ -616,6 +620,8 @@ spec:
- src
type: object
type: array
impersonate:
type: boolean
kind:
enum:
- Block
Expand Down Expand Up @@ -858,6 +864,8 @@ spec:
- src
type: object
type: array
impersonate:
type: boolean
kind:
enum:
- Block
Expand Down Expand Up @@ -1136,6 +1144,8 @@ spec:
- src
type: object
type: array
impersonate:
type: boolean
kind:
enum:
- Block
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ spec:
- src
type: object
type: array
impersonate:
type: boolean
kind:
enum:
- Block
Expand Down Expand Up @@ -438,6 +440,8 @@ spec:
- src
type: object
type: array
impersonate:
type: boolean
kind:
enum:
- Block
Expand Down Expand Up @@ -705,6 +709,8 @@ spec:
- src
type: object
type: array
impersonate:
type: boolean
kind:
enum:
- Block
Expand Down Expand Up @@ -949,6 +955,8 @@ spec:
- src
type: object
type: array
impersonate:
type: boolean
kind:
enum:
- Block
Expand Down Expand Up @@ -1229,6 +1237,8 @@ spec:
- src
type: object
type: array
impersonate:
type: boolean
kind:
enum:
- Block
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ spec:
featureBlock:
description: FeatureBlock specifies the ui block name of this feature.
type: string
featureExclusionGroup:
description: FeatureExclusionGroup specifies the name of the exclusion
group for features Only one feature in a feature exclusion group can
be installed
type: string
featureSet:
description: FeatureSet specifies the name of the FeatureSet where this
feature belong to.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ spec:
type: string
connected:
properties:
impersonate:
type: boolean
query:
properties:
byLabel:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: ui.k8s.appscode.com/v1alpha1
kind: ResourceEditor
metadata:
creationTimestamp: null
labels:
k8s.io/group: meta.k8s.appscode.com
k8s.io/kind: GatewayInfo
k8s.io/resource: gatewayinfoes
k8s.io/version: v1alpha1
name: meta.k8s.appscode.com-v1alpha1-gatewayinfoes
spec:
resource:
group: meta.k8s.appscode.com
kind: GatewayInfo
name: gatewayinfoes
scope: Namespaced
version: v1alpha1
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: meta.k8s.appscode.com/v1alpha1
kind: ResourceTableDefinition
metadata:
creationTimestamp: null
labels:
k8s.io/group: meta.k8s.appscode.com
k8s.io/kind: GatewayInfo
k8s.io/resource: gatewayinfoes
k8s.io/version: v1alpha1
name: meta.k8s.appscode.com-v1alpha1-gatewayinfoes
spec:
defaultView: true
resource:
group: meta.k8s.appscode.com
kind: GatewayInfo
name: gatewayinfoes
scope: Namespaced
version: v1alpha1

0 comments on commit 14b82a5

Please sign in to comment.