Skip to content

Commit 331ed24

Browse files
helm: update generated charts
Signed-off-by: Niraj Yadav <niryadav@redhat.com>
1 parent c37d85b commit 331ed24

File tree

8 files changed

+715
-487
lines changed

8 files changed

+715
-487
lines changed

deploy/charts/ceph-csi-operator/templates/cephconnection-crd.yaml

Lines changed: 68 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,20 @@ kind: CustomResourceDefinition
33
metadata:
44
name: cephconnections.csi.ceph.io
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.17.2
77
labels:
88
{{- include "ceph-csi-operator.labels" . | nindent 4 }}
99
spec:
10+
conversion:
11+
strategy: Webhook
12+
webhook:
13+
clientConfig:
14+
service:
15+
name: '{{ include "ceph-csi-operator.fullname" . }}-webhook-service'
16+
namespace: '{{ .Release.Namespace }}'
17+
path: /convert
18+
conversionReviewVersions:
19+
- v1
1020
group: csi.ceph.io
1121
names:
1222
kind: CephConnection
@@ -56,6 +66,8 @@ spec:
5666
type: string
5767
minItems: 1
5868
type: array
69+
required:
70+
- crushLocationLabels
5971
type: object
6072
required:
6173
- monitors
@@ -68,6 +80,61 @@ spec:
6880
storage: true
6981
subresources:
7082
status: {}
83+
- name: v1beta1
84+
schema:
85+
openAPIV3Schema:
86+
description: CephConnection is the Schema for the cephconnections API
87+
properties:
88+
apiVersion:
89+
description: |-
90+
APIVersion defines the versioned schema of this representation of an object.
91+
Servers should convert recognized schemas to the latest internal value, and
92+
may reject unrecognized values.
93+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
94+
type: string
95+
kind:
96+
description: |-
97+
Kind is a string value representing the REST resource this object represents.
98+
Servers may infer this from the endpoint the client submits requests to.
99+
Cannot be updated.
100+
In CamelCase.
101+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
102+
type: string
103+
metadata:
104+
type: object
105+
spec:
106+
description: CephConnectionSpec defines the desired state of CephConnection
107+
properties:
108+
monitors:
109+
items:
110+
type: string
111+
minItems: 1
112+
type: array
113+
rbdMirrorDaemonCount:
114+
minimum: 1
115+
type: integer
116+
readAffinity:
117+
description: ReadAffinitySpec capture Ceph CSI read affinity settings
118+
properties:
119+
crushLocationLabels:
120+
items:
121+
type: string
122+
minItems: 1
123+
type: array
124+
required:
125+
- crushLocationLabels
126+
type: object
127+
required:
128+
- monitors
129+
type: object
130+
status:
131+
description: CephConnectionStatus defines the observed state of CephConnection
132+
type: object
133+
type: object
134+
served: true
135+
storage: false
136+
subresources:
137+
status: {}
71138
status:
72139
acceptedNames:
73140
kind: ""

deploy/charts/ceph-csi-operator/templates/clientprofile-crd.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: CustomResourceDefinition
33
metadata:
44
name: clientprofiles.csi.ceph.io
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.17.2
77
labels:
88
{{- include "ceph-csi-operator.labels" . | nindent 4 }}
99
spec:
@@ -55,9 +55,7 @@ spec:
5555
This field is effectively required, but due to backwards compatibility is
5656
allowed to be empty. Instances of this type with an empty value here are
5757
almost certainly wrong.
58-
TODO: Add other useful fields. apiVersion, kind, uid?
5958
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
60-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
6159
type: string
6260
type: object
6361
x-kubernetes-map-type: atomic

deploy/charts/ceph-csi-operator/templates/clientprofilemapping-crd.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: CustomResourceDefinition
33
metadata:
44
name: clientprofilemappings.csi.ceph.io
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.17.2
77
labels:
88
{{- include "ceph-csi-operator.labels" . | nindent 4 }}
99
spec:
@@ -58,8 +58,13 @@ spec:
5858
type: string
5959
remoteClientProfile:
6060
type: string
61+
required:
62+
- localClientProfile
63+
- remoteClientProfile
6164
type: object
6265
type: array
66+
required:
67+
- mappings
6368
type: object
6469
status:
6570
description: ClientProfileMappingStatus defines the observed state of ClientProfileMapping

0 commit comments

Comments
 (0)