@@ -873,6 +873,46 @@ spec:
873
873
items :
874
874
type : string
875
875
type : array
876
+ authentication :
877
+ description : (Optional) Dragonfly Authentication mechanism
878
+ properties :
879
+ clientCaCertSecret :
880
+ description : (Optional) If specified, the Dragonfly instance will
881
+ check if the client certificate is signed by one of this CA.
882
+ Server TLS must be enabled for this. Multiple CAs can be specified
883
+ with various key names.
884
+ properties :
885
+ name :
886
+ description : name is unique within a namespace to reference
887
+ a secret resource.
888
+ type : string
889
+ namespace :
890
+ description : namespace defines the space within which the
891
+ secret name must be unique.
892
+ type : string
893
+ type : object
894
+ x-kubernetes-map-type : atomic
895
+ passwordFromSecret :
896
+ description : (Optional) Dragonfly Password from Secret as a reference
897
+ to a specific key
898
+ properties :
899
+ key :
900
+ description : The key of the secret to select from. Must be
901
+ a valid secret key.
902
+ type : string
903
+ name :
904
+ description : ' Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
905
+ TODO: Add other useful fields. apiVersion, kind, uid?'
906
+ type : string
907
+ optional :
908
+ description : Specify whether the Secret or its key must be
909
+ defined
910
+ type : boolean
911
+ required :
912
+ - key
913
+ type : object
914
+ x-kubernetes-map-type : atomic
915
+ type : object
876
916
env :
877
917
description : (Optional) Env variables to add to the Dragonfly pods.
878
918
items :
@@ -1041,6 +1081,236 @@ spec:
1041
1081
serviceAccountName :
1042
1082
description : (Optional) Dragonfly pod service account name
1043
1083
type : string
1084
+ snapshot :
1085
+ description : (Optional) Dragonfly Snapshot configuration
1086
+ properties :
1087
+ cron :
1088
+ description : (Optional) Dragonfly snapshot schedule
1089
+ type : string
1090
+ persistentVolumeClaimSpec :
1091
+ description : (Optional) Dragonfly PVC spec
1092
+ properties :
1093
+ accessModes :
1094
+ description : ' accessModes contains the desired access modes
1095
+ the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1'
1096
+ items :
1097
+ type : string
1098
+ type : array
1099
+ dataSource :
1100
+ description : ' dataSource field can be used to specify either:
1101
+ * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)
1102
+ * An existing PVC (PersistentVolumeClaim) If the provisioner
1103
+ or an external controller can support the specified data
1104
+ source, it will create a new volume based on the contents
1105
+ of the specified data source. When the AnyVolumeDataSource
1106
+ feature gate is enabled, dataSource contents will be copied
1107
+ to dataSourceRef, and dataSourceRef contents will be copied
1108
+ to dataSource when dataSourceRef.namespace is not specified.
1109
+ If the namespace is specified, then dataSourceRef will not
1110
+ be copied to dataSource.'
1111
+ properties :
1112
+ apiGroup :
1113
+ description : APIGroup is the group for the resource being
1114
+ referenced. If APIGroup is not specified, the specified
1115
+ Kind must be in the core API group. For any other third-party
1116
+ types, APIGroup is required.
1117
+ type : string
1118
+ kind :
1119
+ description : Kind is the type of resource being referenced
1120
+ type : string
1121
+ name :
1122
+ description : Name is the name of resource being referenced
1123
+ type : string
1124
+ required :
1125
+ - kind
1126
+ - name
1127
+ type : object
1128
+ x-kubernetes-map-type : atomic
1129
+ dataSourceRef :
1130
+ description : ' dataSourceRef specifies the object from which
1131
+ to populate the volume with data, if a non-empty volume
1132
+ is desired. This may be any object from a non-empty API
1133
+ group (non core object) or a PersistentVolumeClaim object.
1134
+ When this field is specified, volume binding will only succeed
1135
+ if the type of the specified object matches some installed
1136
+ volume populator or dynamic provisioner. This field will
1137
+ replace the functionality of the dataSource field and as
1138
+ such if both fields are non-empty, they must have the same
1139
+ value. For backwards compatibility, when namespace isn'' t
1140
+ specified in dataSourceRef, both fields (dataSource and
1141
+ dataSourceRef) will be set to the same value automatically
1142
+ if one of them is empty and the other is non-empty. When
1143
+ namespace is specified in dataSourceRef, dataSource isn'' t
1144
+ set to the same value and must be empty. There are three
1145
+ important differences between dataSource and dataSourceRef:
1146
+ * While dataSource only allows two specific types of objects,
1147
+ dataSourceRef allows any non-core object, as well as PersistentVolumeClaim
1148
+ objects. * While dataSource ignores disallowed values (dropping
1149
+ them), dataSourceRef preserves all values, and generates
1150
+ an error if a disallowed value is specified. * While dataSource
1151
+ only allows local objects, dataSourceRef allows objects
1152
+ in any namespaces. (Beta) Using this field requires the
1153
+ AnyVolumeDataSource feature gate to be enabled. (Alpha)
1154
+ Using the namespace field of dataSourceRef requires the
1155
+ CrossNamespaceVolumeDataSource feature gate to be enabled.'
1156
+ properties :
1157
+ apiGroup :
1158
+ description : APIGroup is the group for the resource being
1159
+ referenced. If APIGroup is not specified, the specified
1160
+ Kind must be in the core API group. For any other third-party
1161
+ types, APIGroup is required.
1162
+ type : string
1163
+ kind :
1164
+ description : Kind is the type of resource being referenced
1165
+ type : string
1166
+ name :
1167
+ description : Name is the name of resource being referenced
1168
+ type : string
1169
+ namespace :
1170
+ description : Namespace is the namespace of resource being
1171
+ referenced Note that when a namespace is specified,
1172
+ a gateway.networking.k8s.io/ReferenceGrant object is
1173
+ required in the referent namespace to allow that namespace's
1174
+ owner to accept the reference. See the ReferenceGrant
1175
+ documentation for details. (Alpha) This field requires
1176
+ the CrossNamespaceVolumeDataSource feature gate to be
1177
+ enabled.
1178
+ type : string
1179
+ required :
1180
+ - kind
1181
+ - name
1182
+ type : object
1183
+ resources :
1184
+ description : ' resources represents the minimum resources the
1185
+ volume should have. If RecoverVolumeExpansionFailure feature
1186
+ is enabled users are allowed to specify resource requirements
1187
+ that are lower than previous value but must still be higher
1188
+ than capacity recorded in the status field of the claim.
1189
+ More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'
1190
+ properties :
1191
+ claims :
1192
+ description : " Claims lists the names of resources, defined
1193
+ in spec.resourceClaims, that are used by this container.
1194
+ \n This is an alpha field and requires enabling the
1195
+ DynamicResourceAllocation feature gate. \n This field
1196
+ is immutable. It can only be set for containers."
1197
+ items :
1198
+ description : ResourceClaim references one entry in PodSpec.ResourceClaims.
1199
+ properties :
1200
+ name :
1201
+ description : Name must match the name of one entry
1202
+ in pod.spec.resourceClaims of the Pod where this
1203
+ field is used. It makes that resource available
1204
+ inside a container.
1205
+ type : string
1206
+ required :
1207
+ - name
1208
+ type : object
1209
+ type : array
1210
+ x-kubernetes-list-map-keys :
1211
+ - name
1212
+ x-kubernetes-list-type : map
1213
+ limits :
1214
+ additionalProperties :
1215
+ anyOf :
1216
+ - type : integer
1217
+ - type : string
1218
+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
1219
+ x-kubernetes-int-or-string : true
1220
+ description : ' Limits describes the maximum amount of compute
1221
+ resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
1222
+ type : object
1223
+ requests :
1224
+ additionalProperties :
1225
+ anyOf :
1226
+ - type : integer
1227
+ - type : string
1228
+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
1229
+ x-kubernetes-int-or-string : true
1230
+ description : ' Requests describes the minimum amount of
1231
+ compute resources required. If Requests is omitted for
1232
+ a container, it defaults to Limits if that is explicitly
1233
+ specified, otherwise to an implementation-defined value.
1234
+ More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
1235
+ type : object
1236
+ type : object
1237
+ selector :
1238
+ description : selector is a label query over volumes to consider
1239
+ for binding.
1240
+ properties :
1241
+ matchExpressions :
1242
+ description : matchExpressions is a list of label selector
1243
+ requirements. The requirements are ANDed.
1244
+ items :
1245
+ description : A label selector requirement is a selector
1246
+ that contains values, a key, and an operator that
1247
+ relates the key and values.
1248
+ properties :
1249
+ key :
1250
+ description : key is the label key that the selector
1251
+ applies to.
1252
+ type : string
1253
+ operator :
1254
+ description : operator represents a key's relationship
1255
+ to a set of values. Valid operators are In, NotIn,
1256
+ Exists and DoesNotExist.
1257
+ type : string
1258
+ values :
1259
+ description : values is an array of string values.
1260
+ If the operator is In or NotIn, the values array
1261
+ must be non-empty. If the operator is Exists or
1262
+ DoesNotExist, the values array must be empty.
1263
+ This array is replaced during a strategic merge
1264
+ patch.
1265
+ items :
1266
+ type : string
1267
+ type : array
1268
+ required :
1269
+ - key
1270
+ - operator
1271
+ type : object
1272
+ type : array
1273
+ matchLabels :
1274
+ additionalProperties :
1275
+ type : string
1276
+ description : matchLabels is a map of {key,value} pairs.
1277
+ A single {key,value} in the matchLabels map is equivalent
1278
+ to an element of matchExpressions, whose key field is
1279
+ " key" , the operator is "In", and the values array contains
1280
+ only "value". The requirements are ANDed.
1281
+ type : object
1282
+ type : object
1283
+ x-kubernetes-map-type : atomic
1284
+ storageClassName :
1285
+ description : ' storageClassName is the name of the StorageClass
1286
+ required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1'
1287
+ type : string
1288
+ volumeMode :
1289
+ description : volumeMode defines what type of volume is required
1290
+ by the claim. Value of Filesystem is implied when not included
1291
+ in claim spec.
1292
+ type : string
1293
+ volumeName :
1294
+ description : volumeName is the binding reference to the PersistentVolume
1295
+ backing this claim.
1296
+ type : string
1297
+ type : object
1298
+ type : object
1299
+ tlsSecretRef :
1300
+ description : (Optional) Dragonfly TLS secret to used for TLS Connections
1301
+ to Dragonfly. Dragonfly instance must have access to this secret
1302
+ and be in the same namespace
1303
+ properties :
1304
+ name :
1305
+ description : name is unique within a namespace to reference a
1306
+ secret resource.
1307
+ type : string
1308
+ namespace :
1309
+ description : namespace defines the space within which the secret
1310
+ name must be unique.
1311
+ type : string
1312
+ type : object
1313
+ x-kubernetes-map-type : atomic
1044
1314
tolerations :
1045
1315
description : (Optional) Dragonfly pod tolerations
1046
1316
items :
0 commit comments