Skip to content

Commit a7917fa

Browse files
Run make manifests
1 parent b3bfc16 commit a7917fa

File tree

3 files changed

+22
-82
lines changed

3 files changed

+22
-82
lines changed

config/crd/bases/nyamber.cybozu.io_autovirtualdcs.yaml

+10-21
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: v0.16.3
77
name: autovirtualdcs.nyamber.cybozu.io
88
spec:
99
group: nyamber.cybozu.io
@@ -97,11 +97,9 @@ spec:
9797
Claims lists the names of resources, defined in spec.resourceClaims,
9898
that are used by this container.
9999
100-
101100
This is an alpha field and requires enabling the
102101
DynamicResourceAllocation feature gate.
103102
104-
105103
This field is immutable. It can only be set for containers.
106104
items:
107105
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
@@ -112,6 +110,12 @@ spec:
112110
the Pod where this field is used. It makes that resource available
113111
inside a container.
114112
type: string
113+
request:
114+
description: |-
115+
Request is the name chosen for a request in the referenced claim.
116+
If empty, everything from the claim is made available, otherwise
117+
only the result of this request.
118+
type: string
115119
required:
116120
- name
117121
type: object
@@ -154,18 +158,8 @@ spec:
154158
conditions:
155159
description: Conditions is an array of conditions.
156160
items:
157-
description: "Condition contains details for one aspect
158-
of the current state of this API Resource.\n---\nThis
159-
struct is intended for direct use as an array at the field
160-
path .status.conditions. For example,\n\n\n\ttype FooStatus
161-
struct{\n\t // Represents the observations of a foo's
162-
current state.\n\t // Known .status.conditions.type
163-
are: \"Available\", \"Progressing\", and \"Degraded\"\n\t
164-
\ // +patchMergeKey=type\n\t // +patchStrategy=merge\n\t
165-
\ // +listType=map\n\t // +listMapKey=type\n\t Conditions
166-
[]metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\"
167-
patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
168-
\ // other fields\n\t}"
161+
description: Condition contains details for one aspect of
162+
the current state of this API Resource.
169163
properties:
170164
lastTransitionTime:
171165
description: |-
@@ -207,12 +201,7 @@ spec:
207201
- Unknown
208202
type: string
209203
type:
210-
description: |-
211-
type of condition in CamelCase or in foo.example.com/CamelCase.
212-
---
213-
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
214-
useful (see .node.status.conditions), the ability to deconflict is important.
215-
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
204+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
216205
maxLength: 316
217206
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
218207
type: string

config/crd/bases/nyamber.cybozu.io_virtualdcs.yaml

+10-19
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: v0.16.3
77
name: virtualdcs.nyamber.cybozu.io
88
spec:
99
group: nyamber.cybozu.io
@@ -75,11 +75,9 @@ spec:
7575
Claims lists the names of resources, defined in spec.resourceClaims,
7676
that are used by this container.
7777
78-
7978
This is an alpha field and requires enabling the
8079
DynamicResourceAllocation feature gate.
8180
82-
8381
This field is immutable. It can only be set for containers.
8482
items:
8583
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
@@ -90,6 +88,12 @@ spec:
9088
the Pod where this field is used. It makes that resource available
9189
inside a container.
9290
type: string
91+
request:
92+
description: |-
93+
Request is the name chosen for a request in the referenced claim.
94+
If empty, everything from the claim is made available, otherwise
95+
only the result of this request.
96+
type: string
9397
required:
9498
- name
9599
type: object
@@ -132,16 +136,8 @@ spec:
132136
conditions:
133137
description: Conditions is an array of conditions.
134138
items:
135-
description: "Condition contains details for one aspect of the current
136-
state of this API Resource.\n---\nThis struct is intended for
137-
direct use as an array at the field path .status.conditions. For
138-
example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
139-
observations of a foo's current state.\n\t // Known .status.conditions.type
140-
are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
141-
+patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
142-
\ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
143-
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
144-
\ // other fields\n\t}"
139+
description: Condition contains details for one aspect of the current
140+
state of this API Resource.
145141
properties:
146142
lastTransitionTime:
147143
description: |-
@@ -182,12 +178,7 @@ spec:
182178
- Unknown
183179
type: string
184180
type:
185-
description: |-
186-
type of condition in CamelCase or in foo.example.com/CamelCase.
187-
---
188-
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
189-
useful (see .node.status.conditions), the ability to deconflict is important.
190-
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
181+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
191182
maxLength: 316
192183
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
193184
type: string

config/rbac/role.yaml

+2-42
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,7 @@ rules:
88
- ""
99
resources:
1010
- configmaps
11-
verbs:
12-
- create
13-
- delete
14-
- get
15-
- list
16-
- patch
17-
- update
18-
- watch
19-
- apiGroups:
20-
- ""
21-
resources:
2211
- pods
23-
verbs:
24-
- create
25-
- delete
26-
- get
27-
- list
28-
- patch
29-
- update
30-
- watch
31-
- apiGroups:
32-
- ""
33-
resources:
3412
- services
3513
verbs:
3614
- create
@@ -44,6 +22,7 @@ rules:
4422
- nyamber.cybozu.io
4523
resources:
4624
- autovirtualdcs
25+
- virtualdcs
4726
verbs:
4827
- create
4928
- delete
@@ -56,33 +35,14 @@ rules:
5635
- nyamber.cybozu.io
5736
resources:
5837
- autovirtualdcs/status
38+
- virtualdcs/status
5939
verbs:
6040
- get
6141
- patch
6242
- update
63-
- apiGroups:
64-
- nyamber.cybozu.io
65-
resources:
66-
- virtualdcs
67-
verbs:
68-
- create
69-
- delete
70-
- get
71-
- list
72-
- patch
73-
- update
74-
- watch
7543
- apiGroups:
7644
- nyamber.cybozu.io
7745
resources:
7846
- virtualdcs/finalizers
7947
verbs:
8048
- update
81-
- apiGroups:
82-
- nyamber.cybozu.io
83-
resources:
84-
- virtualdcs/status
85-
verbs:
86-
- get
87-
- patch
88-
- update

0 commit comments

Comments
 (0)