You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 22, 2023. It is now read-only.
1. Validate export references in entry spec
2. Aggregate PermissionClaims and API resources info from
referenced APIExport to entry status
Signed-off-by: Vu Dinh <vudinh@outlook.com>
description: CatalogEntry is the Schema for the catalogentries API
20
+
properties:
21
+
apiVersion:
22
+
description: 'APIVersion defines the versioned schema of this representation
23
+
of an object. Servers should convert recognized schemas to the latest
24
+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
25
+
type: string
26
+
kind:
27
+
description: 'Kind is a string value representing the REST resource this
28
+
object represents. Servers may infer this from the endpoint the client
29
+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
30
+
type: string
31
+
metadata:
32
+
type: object
33
+
spec:
34
+
description: CatalogEntrySpec defines the desired state of CatalogEntry
35
+
properties:
36
+
description:
37
+
description: description is a human-readable message to describe the
38
+
information regarding the capabilities and features that the API
39
+
provides
40
+
type: string
41
+
exports:
42
+
description: exports is a list of references to APIExports.
43
+
items:
44
+
description: ExportReference describes a reference to an APIExport.
45
+
Exactly one of the fields must be set.
46
+
properties:
47
+
workspace:
48
+
description: workspace is a reference to an APIExport in the
49
+
same organization. The creator of the APIBinding needs to
50
+
have access to the APIExport with the verb `bind` in order
51
+
to bind to it.
52
+
properties:
53
+
exportName:
54
+
description: Name of the APIExport that describes the API.
55
+
type: string
56
+
path:
57
+
description: path is an absolute reference to a workspace,
58
+
e.g. root:org:ws. The workspace must be some ancestor
59
+
or a child of some ancestor. If it is unset, the path
60
+
of the APIBinding is used.
61
+
pattern: ^root(:[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
62
+
type: string
63
+
required:
64
+
- exportName
65
+
type: object
66
+
type: object
67
+
minItems: 1
68
+
type: array
69
+
required:
70
+
- exports
71
+
type: object
72
+
status:
73
+
description: CatalogEntryStatus defines the observed state of CatalogEntry
74
+
properties:
75
+
conditions:
76
+
description: conditions is a list of conditions that apply to the
77
+
CatalogEntry.
78
+
items:
79
+
description: Condition defines an observation of a object operational
80
+
state.
81
+
properties:
82
+
lastTransitionTime:
83
+
description: Last time the condition transitioned from one status
84
+
to another. This should be when the underlying condition changed.
85
+
If that is not known, then using the time when the API field
86
+
changed is acceptable.
87
+
format: date-time
88
+
type: string
89
+
message:
90
+
description: A human readable message indicating details about
91
+
the transition. This field may be empty.
92
+
type: string
93
+
reason:
94
+
description: The reason for the condition's last transition
95
+
in CamelCase. The specific API may choose whether or not this
96
+
field is considered a guaranteed API. This field may not be
97
+
empty.
98
+
type: string
99
+
severity:
100
+
description: Severity provides an explicit classification of
101
+
Reason code, so the users or machines can immediately understand
102
+
the current situation and act accordingly. The Severity field
103
+
MUST be set only when Status=False.
104
+
type: string
105
+
status:
106
+
description: Status of the condition, one of True, False, Unknown.
107
+
type: string
108
+
type:
109
+
description: Type of condition in CamelCase or in foo.example.com/CamelCase.
110
+
Many .condition.type values are consistent across resources
111
+
like Available, but because arbitrary conditions can be useful
112
+
(see .node.status.conditions), the ability to deconflict is
113
+
important.
114
+
type: string
115
+
required:
116
+
- lastTransitionTime
117
+
- status
118
+
- type
119
+
type: object
120
+
type: array
121
+
exportPermissionClaims:
122
+
description: exportPermissionClaims is a list of permissions requested
123
+
by the API provider(s) for this catalog entry.
124
+
items:
125
+
description: PermissionClaim identifies an object by GR and identity
126
+
hash. It's purpose is to determine the added permisions that a
127
+
service provider may request and that a consumer may accept and
128
+
alllow the service provider access to.
129
+
properties:
130
+
group:
131
+
description: group is the name of an API group. For core groups
0 commit comments