Skip to content

Commit c039cc9

Browse files
committed
fix(chart): sync crds
1 parent d95ca70 commit c039cc9

File tree

1 file changed

+127
-121
lines changed

1 file changed

+127
-121
lines changed

deploy/charts/s3-operator/templates/crds/s3users.yaml

Lines changed: 127 additions & 121 deletions
Original file line numberDiff line numberDiff line change
@@ -19,126 +19,132 @@ spec:
1919
singular: s3user
2020
scope: Namespaced
2121
versions:
22-
- name: v1alpha1
23-
schema:
24-
openAPIV3Schema:
25-
description: S3User is the Schema for the S3Users API
26-
properties:
27-
apiVersion:
28-
description: 'APIVersion defines the versioned schema of this representation
29-
of an object. Servers should convert recognized schemas to the latest
30-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
31-
type: string
32-
kind:
33-
description: 'Kind is a string value representing the REST resource this
34-
object represents. Servers may infer this from the endpoint the client
35-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
36-
type: string
37-
metadata:
38-
type: object
39-
spec:
40-
description: S3UserSpec defines the desired state of S3User
41-
properties:
42-
accessKey:
43-
description: Name of the S3User
44-
type: string
45-
policies:
46-
description: Policies associated to the S3User
47-
items:
22+
- name: v1alpha1
23+
schema:
24+
openAPIV3Schema:
25+
description: S3User is the Schema for the S3Users API
26+
properties:
27+
apiVersion:
28+
description: |-
29+
APIVersion defines the versioned schema of this representation of an object.
30+
Servers should convert recognized schemas to the latest internal value, and
31+
may reject unrecognized values.
32+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
33+
type: string
34+
kind:
35+
description: |-
36+
Kind is a string value representing the REST resource this object represents.
37+
Servers may infer this from the endpoint the client submits requests to.
38+
Cannot be updated.
39+
In CamelCase.
40+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
41+
type: string
42+
metadata:
43+
type: object
44+
spec:
45+
description: S3UserSpec defines the desired state of S3User
46+
properties:
47+
accessKey:
48+
description: Name of the S3User
4849
type: string
49-
type: array
50-
s3InstanceRef:
51-
default: s3-operator/default
52-
description: s3InstanceRef where create the user
53-
maxLength: 127
54-
minLength: 1
55-
pattern: ^[a-z0-9]([-a-z0-9]{0,61}[a-z0-9])?(/[a-z0-9]([-a-z0-9]{0,61}[a-z0-9])?)?$
56-
type: string
57-
x-kubernetes-validations:
58-
- message: s3InstanceRef is immutable
59-
rule: self == oldSelf
60-
secretName:
61-
description: SecretName associated to the S3User
62-
type: string
63-
required:
64-
- accessKey
65-
type: object
66-
status:
67-
description: S3UserStatus defines the observed state of S3User
68-
properties:
69-
conditions:
70-
description: 'Status management using Conditions. See also : https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties'
71-
items:
72-
description: "Condition contains details for one aspect of the current
73-
state of this API Resource. --- This struct is intended for direct
74-
use as an array at the field path .status.conditions. For example,
75-
\n type FooStatus struct{ // Represents the observations of a
76-
foo's current state. // Known .status.conditions.type are: \"Available\",
77-
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
78-
// +listType=map // +listMapKey=type Conditions []metav1.Condition
79-
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
80-
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
81-
properties:
82-
lastTransitionTime:
83-
description: lastTransitionTime is the last time the condition
84-
transitioned from one status to another. This should be when
85-
the underlying condition changed. If that is not known, then
86-
using the time when the API field changed is acceptable.
87-
format: date-time
88-
type: string
89-
message:
90-
description: message is a human readable message indicating
91-
details about the transition. This may be an empty string.
92-
maxLength: 32768
93-
type: string
94-
observedGeneration:
95-
description: observedGeneration represents the .metadata.generation
96-
that the condition was set based upon. For instance, if .metadata.generation
97-
is currently 12, but the .status.conditions[x].observedGeneration
98-
is 9, the condition is out of date with respect to the current
99-
state of the instance.
100-
format: int64
101-
minimum: 0
102-
type: integer
103-
reason:
104-
description: reason contains a programmatic identifier indicating
105-
the reason for the condition's last transition. Producers
106-
of specific condition types may define expected values and
107-
meanings for this field, and whether the values are considered
108-
a guaranteed API. The value should be a CamelCase string.
109-
This field may not be empty.
110-
maxLength: 1024
111-
minLength: 1
112-
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
113-
type: string
114-
status:
115-
description: status of the condition, one of True, False, Unknown.
116-
enum:
117-
- "True"
118-
- "False"
119-
- Unknown
120-
type: string
121-
type:
122-
description: type of condition in CamelCase or in foo.example.com/CamelCase.
123-
--- Many .condition.type values are consistent across resources
124-
like Available, but because arbitrary conditions can be useful
125-
(see .node.status.conditions), the ability to deconflict is
126-
important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
127-
maxLength: 316
128-
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])$
129-
type: string
130-
required:
131-
- lastTransitionTime
132-
- message
133-
- reason
134-
- status
135-
- type
136-
type: object
137-
type: array
138-
type: object
139-
type: object
140-
served: true
141-
storage: true
142-
subresources:
143-
status: {}
50+
policies:
51+
description: Policies associated to the S3User
52+
items:
53+
type: string
54+
type: array
55+
s3InstanceRef:
56+
default: s3-operator/default
57+
description: s3InstanceRef where create the user
58+
maxLength: 127
59+
minLength: 1
60+
pattern: ^[a-z0-9]([-a-z0-9]{0,61}[a-z0-9])?(/[a-z0-9]([-a-z0-9]{0,61}[a-z0-9])?)?$
61+
type: string
62+
x-kubernetes-validations:
63+
- message: s3InstanceRef is immutable
64+
rule: self == oldSelf
65+
secretFieldNameAccessKey:
66+
default: accessKey
67+
description: |-
68+
SecretFieldNameAccessKey associated to the S3User
69+
Allow overridden the default key to store the accessKey value in the secret
70+
type: string
71+
secretFieldNameSecretKey:
72+
default: secretKey
73+
description: |-
74+
SecretFieldNameSecretKey associated to the S3User
75+
Allow overridden the default key to store the secretKey value in the secret
76+
type: string
77+
secretName:
78+
description: SecretName associated to the S3User
79+
type: string
80+
required:
81+
- accessKey
82+
type: object
83+
status:
84+
description: S3UserStatus defines the observed state of S3User
85+
properties:
86+
conditions:
87+
description: |-
88+
Status management using Conditions.
89+
See also : https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties
90+
items:
91+
description: Condition contains details for one aspect of the current
92+
state of this API Resource.
93+
properties:
94+
lastTransitionTime:
95+
description: |-
96+
lastTransitionTime is the last time the condition transitioned from one status to another.
97+
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
98+
format: date-time
99+
type: string
100+
message:
101+
description: |-
102+
message is a human readable message indicating details about the transition.
103+
This may be an empty string.
104+
maxLength: 32768
105+
type: string
106+
observedGeneration:
107+
description: |-
108+
observedGeneration represents the .metadata.generation that the condition was set based upon.
109+
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
110+
with respect to the current state of the instance.
111+
format: int64
112+
minimum: 0
113+
type: integer
114+
reason:
115+
description: |-
116+
reason contains a programmatic identifier indicating the reason for the condition's last transition.
117+
Producers of specific condition types may define expected values and meanings for this field,
118+
and whether the values are considered a guaranteed API.
119+
The value should be a CamelCase string.
120+
This field may not be empty.
121+
maxLength: 1024
122+
minLength: 1
123+
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
124+
type: string
125+
status:
126+
description: status of the condition, one of True, False, Unknown.
127+
enum:
128+
- "True"
129+
- "False"
130+
- Unknown
131+
type: string
132+
type:
133+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
134+
maxLength: 316
135+
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])$
136+
type: string
137+
required:
138+
- lastTransitionTime
139+
- message
140+
- reason
141+
- status
142+
- type
143+
type: object
144+
type: array
145+
type: object
146+
type: object
147+
served: true
148+
storage: true
149+
subresources:
144150
{{- end }}

0 commit comments

Comments
 (0)