Skip to content

Commit cff1c64

Browse files
helm: update generated charts
Signed-off-by: Niraj Yadav <niryadav@redhat.com>
1 parent 351d54c commit cff1c64

File tree

11 files changed

+14265
-0
lines changed

11 files changed

+14265
-0
lines changed

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

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,22 @@ kind: CustomResourceDefinition
33
metadata:
44
name: cephconnections.csi.ceph.io
55
annotations:
6+
cert-manager.io/inject-ca-from: '{{ .Release.Namespace }}/{{ include "ceph-csi-operator.fullname"
7+
. }}-serving-cert'
68
controller-gen.kubebuilder.io/version: v0.17.2
79
labels:
810
{{- include "ceph-csi-operator.labels" . | nindent 4 }}
911
spec:
12+
conversion:
13+
strategy: Webhook
14+
webhook:
15+
clientConfig:
16+
service:
17+
name: '{{ include "ceph-csi-operator.fullname" . }}-webhook-service'
18+
namespace: '{{ .Release.Namespace }}'
19+
path: /convert
20+
conversionReviewVersions:
21+
- v1
1022
group: csi.ceph.io
1123
names:
1224
kind: CephConnection
@@ -16,6 +28,61 @@ spec:
1628
scope: Namespaced
1729
versions:
1830
- name: v1alpha1
31+
schema:
32+
openAPIV3Schema:
33+
description: CephConnection is the Schema for the cephconnections API
34+
properties:
35+
apiVersion:
36+
description: |-
37+
APIVersion defines the versioned schema of this representation of an object.
38+
Servers should convert recognized schemas to the latest internal value, and
39+
may reject unrecognized values.
40+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
41+
type: string
42+
kind:
43+
description: |-
44+
Kind is a string value representing the REST resource this object represents.
45+
Servers may infer this from the endpoint the client submits requests to.
46+
Cannot be updated.
47+
In CamelCase.
48+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
49+
type: string
50+
metadata:
51+
type: object
52+
spec:
53+
description: CephConnectionSpec defines the desired state of CephConnection
54+
properties:
55+
monitors:
56+
items:
57+
type: string
58+
minItems: 1
59+
type: array
60+
rbdMirrorDaemonCount:
61+
minimum: 1
62+
type: integer
63+
readAffinity:
64+
description: ReadAffinitySpec capture Ceph CSI read affinity settings
65+
properties:
66+
crushLocationLabels:
67+
items:
68+
type: string
69+
minItems: 1
70+
type: array
71+
required:
72+
- crushLocationLabels
73+
type: object
74+
required:
75+
- monitors
76+
type: object
77+
status:
78+
description: CephConnectionStatus defines the observed state of CephConnection
79+
type: object
80+
type: object
81+
served: true
82+
storage: false
83+
subresources:
84+
status: {}
85+
- name: v1beta1
1986
schema:
2087
openAPIV3Schema:
2188
description: CephConnection is the Schema for the cephconnections API

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

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,22 @@ kind: CustomResourceDefinition
33
metadata:
44
name: clientprofiles.csi.ceph.io
55
annotations:
6+
cert-manager.io/inject-ca-from: '{{ .Release.Namespace }}/{{ include "ceph-csi-operator.fullname"
7+
. }}-serving-cert'
68
controller-gen.kubebuilder.io/version: v0.17.2
79
labels:
810
{{- include "ceph-csi-operator.labels" . | nindent 4 }}
911
spec:
12+
conversion:
13+
strategy: Webhook
14+
webhook:
15+
clientConfig:
16+
service:
17+
name: '{{ include "ceph-csi-operator.fullname" . }}-webhook-service'
18+
namespace: '{{ .Release.Namespace }}'
19+
path: /convert
20+
conversionReviewVersions:
21+
- v1
1022
group: csi.ceph.io
1123
names:
1224
kind: ClientProfile
@@ -16,6 +28,98 @@ spec:
1628
scope: Namespaced
1729
versions:
1830
- name: v1alpha1
31+
schema:
32+
openAPIV3Schema:
33+
description: ClientProfile is the Schema for the clientprofiles API
34+
properties:
35+
apiVersion:
36+
description: |-
37+
APIVersion defines the versioned schema of this representation of an object.
38+
Servers should convert recognized schemas to the latest internal value, and
39+
may reject unrecognized values.
40+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
41+
type: string
42+
kind:
43+
description: |-
44+
Kind is a string value representing the REST resource this object represents.
45+
Servers may infer this from the endpoint the client submits requests to.
46+
Cannot be updated.
47+
In CamelCase.
48+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
49+
type: string
50+
metadata:
51+
type: object
52+
spec:
53+
description: |-
54+
ClientProfileSpec defines the desired state of Ceph CSI
55+
configuration for volumes and snapshots configured to use
56+
this profile
57+
properties:
58+
cephConnectionRef:
59+
description: |-
60+
LocalObjectReference contains enough information to let you locate the
61+
referenced object inside the same namespace.
62+
properties:
63+
name:
64+
default: ""
65+
description: |-
66+
Name of the referent.
67+
This field is effectively required, but due to backwards compatibility is
68+
allowed to be empty. Instances of this type with an empty value here are
69+
almost certainly wrong.
70+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
71+
type: string
72+
type: object
73+
x-kubernetes-map-type: atomic
74+
x-kubernetes-validations:
75+
- message: '''.name'' cannot be empty'
76+
rule: self.name != ""
77+
cephFs:
78+
description: CephFsConfigSpec defines the desired CephFs configuration
79+
properties:
80+
fuseMountOptions:
81+
additionalProperties:
82+
type: string
83+
type: object
84+
kernelMountOptions:
85+
additionalProperties:
86+
type: string
87+
type: object
88+
radosNamespace:
89+
type: string
90+
x-kubernetes-validations:
91+
- message: field is immutable
92+
rule: self == oldSelf
93+
subVolumeGroup:
94+
type: string
95+
type: object
96+
nfs:
97+
description: NfsConfigSpec cdefines the desired NFS configuration
98+
type: object
99+
rbd:
100+
description: RbdConfigSpec defines the desired RBD configuration
101+
properties:
102+
radosNamespace:
103+
type: string
104+
x-kubernetes-validations:
105+
- message: field is immutable
106+
rule: self == oldSelf
107+
type: object
108+
required:
109+
- cephConnectionRef
110+
type: object
111+
status:
112+
description: |-
113+
ClientProfileStatus defines the observed state of Ceph CSI
114+
configuration for volumes and snapshots configured to use
115+
this profile
116+
type: object
117+
type: object
118+
served: true
119+
storage: false
120+
subresources:
121+
status: {}
122+
- name: v1beta1
19123
schema:
20124
openAPIV3Schema:
21125
description: ClientProfile is the Schema for the clientprofiles API

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

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,22 @@ kind: CustomResourceDefinition
33
metadata:
44
name: clientprofilemappings.csi.ceph.io
55
annotations:
6+
cert-manager.io/inject-ca-from: '{{ .Release.Namespace }}/{{ include "ceph-csi-operator.fullname"
7+
. }}-serving-cert'
68
controller-gen.kubebuilder.io/version: v0.17.2
79
labels:
810
{{- include "ceph-csi-operator.labels" . | nindent 4 }}
911
spec:
12+
conversion:
13+
strategy: Webhook
14+
webhook:
15+
clientConfig:
16+
service:
17+
name: '{{ include "ceph-csi-operator.fullname" . }}-webhook-service'
18+
namespace: '{{ .Release.Namespace }}'
19+
path: /convert
20+
conversionReviewVersions:
21+
- v1
1022
group: csi.ceph.io
1123
names:
1224
kind: ClientProfileMapping
@@ -16,6 +28,65 @@ spec:
1628
scope: Namespaced
1729
versions:
1830
- name: v1alpha1
31+
schema:
32+
openAPIV3Schema:
33+
description: ClientProfileMapping is the Schema for the clientprofilemappings
34+
API
35+
properties:
36+
apiVersion:
37+
description: |-
38+
APIVersion defines the versioned schema of this representation of an object.
39+
Servers should convert recognized schemas to the latest internal value, and
40+
may reject unrecognized values.
41+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
42+
type: string
43+
kind:
44+
description: |-
45+
Kind is a string value representing the REST resource this object represents.
46+
Servers may infer this from the endpoint the client submits requests to.
47+
Cannot be updated.
48+
In CamelCase.
49+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
50+
type: string
51+
metadata:
52+
type: object
53+
spec:
54+
description: ClientProfileMappingSpec defines the desired state of ClientProfileMapping
55+
properties:
56+
mappings:
57+
items:
58+
description: MappingsSpec define a mapping between a local and remote
59+
profiles
60+
properties:
61+
blockPoolIdMapping:
62+
items:
63+
items:
64+
type: string
65+
maxItems: 2
66+
minItems: 2
67+
type: array
68+
type: array
69+
localClientProfile:
70+
type: string
71+
remoteClientProfile:
72+
type: string
73+
required:
74+
- localClientProfile
75+
- remoteClientProfile
76+
type: object
77+
type: array
78+
required:
79+
- mappings
80+
type: object
81+
status:
82+
description: ClientProfileMappingStatus defines the observed state of ClientProfileMapping
83+
type: object
84+
type: object
85+
served: true
86+
storage: false
87+
subresources:
88+
status: {}
89+
- name: v1beta1
1990
schema:
2091
openAPIV3Schema:
2192
description: ClientProfileMapping is the Schema for the clientprofilemappings

deploy/charts/ceph-csi-operator/templates/deployment.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ spec:
4444
initialDelaySeconds: 15
4545
periodSeconds: 20
4646
name: manager
47+
ports:
48+
- containerPort: 9443
49+
name: webhook-server
50+
protocol: TCP
4751
readinessProbe:
4852
httpGet:
4953
path: /readyz
@@ -54,7 +58,15 @@ spec:
5458
}}
5559
securityContext: {{- toYaml .Values.controllerManager.manager.containerSecurityContext
5660
| nindent 10 }}
61+
volumeMounts:
62+
- mountPath: /tmp/k8s-webhook-server/serving-certs
63+
name: webhook-certs
64+
readOnly: true
5765
securityContext: {{- toYaml .Values.controllerManager.podSecurityContext | nindent
5866
8 }}
5967
serviceAccountName: {{ include "ceph-csi-operator.fullname" . }}-controller-manager
6068
terminationGracePeriodSeconds: 10
69+
volumes:
70+
- name: webhook-certs
71+
secret:
72+
secretName: webhook-server-cert

0 commit comments

Comments
 (0)