This repository has been archived by the owner on Feb 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
/
00_crd.yaml
165 lines (165 loc) · 6.82 KB
/
00_crd.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: clustercsidrivers.operator.openshift.io
spec:
group: operator.openshift.io
names:
kind: ClusterCSIDriver
plural: clustercsidrivers
singular: clustercsidriver
preserveUnknownFields: false
scope: Cluster
subresources:
status: {}
validation:
openAPIV3Schema:
description: ClusterCSIDriver object allows management and configuration of
a CSI driver operator installed by default in OpenShift.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
properties:
name:
enum:
- ebs.csi.aws.com
- manila.csi.openstack.org
- csi.ovirt.org
type: string
type: object
spec:
description: spec holds user settable values for configuration
properties:
driverConfig:
description: CSIDriverConfig is the CSI driver specific configuration
properties:
driverName:
description: DriverName holds the name of the CSI driver
enum:
- ebs.csi.aws.com
- manila.csi.openstack.org
- csi.ovirt.org
type: string
required:
- driverName
type: object
logLevel:
description: logLevel is an intent based logging for an overall component. It
does not give fine grained control, but it is a simple way to manage
coarse grained logging choices that operators have to interpret for
their operands.
type: string
managementState:
description: managementState indicates whether and how the operator
should manage the component
pattern: ^(Managed|Unmanaged|Force|Removed)$
type: string
observedConfig:
description: observedConfig holds a sparse config that controller has
observed from the cluster state. It exists in spec because it is
an input to the level for the operator
nullable: true
type: object
x-kubernetes-preserve-unknown-fields: true
operatorLogLevel:
description: operatorLogLevel is an intent based logging for the operator
itself. It does not give fine grained control, but it is a simple
way to manage coarse grained logging choices that operators have to
interpret for themselves.
type: string
unsupportedConfigOverrides:
description: 'unsupportedConfigOverrides holds a sparse config that
will override any previously set options. It only needs to be the
fields to override it will end up overlaying in the following order:
1. hardcoded defaults 2. observedConfig 3. unsupportedConfigOverrides'
nullable: true
type: object
x-kubernetes-preserve-unknown-fields: true
required:
- driverConfig
type: object
status:
description: status holds observed values from the cluster. They may not
be overridden.
properties:
conditions:
description: conditions is a list of conditions and their status
items:
description: OperatorCondition is just the standard condition fields.
properties:
lastTransitionTime:
format: date-time
type: string
message:
type: string
reason:
type: string
status:
type: string
type:
type: string
type: object
type: array
generations:
description: generations are used to determine when an item needs to
be reconciled or has changed in a way that needs a reaction.
items:
description: GenerationStatus keeps track of the generation for a
given resource so that decisions about forced updates can be made.
properties:
group:
description: group is the group of the thing you're tracking
type: string
hash:
description: hash is an optional field set for resources without
generation that are content sensitive like secrets and configmaps
type: string
lastGeneration:
description: lastGeneration is the last generation of the workload
controller involved
format: int64
type: integer
name:
description: name is the name of the thing you're tracking
type: string
namespace:
description: namespace is where the thing you're tracking is
type: string
resource:
description: resource is the resource type of the thing you're
tracking
type: string
type: object
type: array
observedGeneration:
description: observedGeneration is the last generation change you've
dealt with
format: int64
type: integer
readyReplicas:
description: readyReplicas indicates how many replicas are ready and
at the desired state
format: int32
type: integer
version:
description: version is the level this availability applies to
type: string
type: object
required:
- spec
type: object
version: v1
versions:
- name: v1
served: true
storage: true