You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: 'Selects a field of the pod: supports metadata.name,
90
101
metadata.namespace, `metadata.labels[''<KEY>'']`,
@@ -103,6 +114,7 @@ spec:
103
114
required:
104
115
- fieldPath
105
116
type: object
117
+
x-kubernetes-map-type: atomic
106
118
resourceFieldRef:
107
119
description: 'Selects a resource of the container: only
108
120
resources limits and requests (limits.cpu, limits.memory,
@@ -127,6 +139,7 @@ spec:
127
139
required:
128
140
- resource
129
141
type: object
142
+
x-kubernetes-map-type: atomic
130
143
secretKeyRef:
131
144
description: Selects a key of a secret in the pod's
132
145
namespace
@@ -147,6 +160,7 @@ spec:
147
160
required:
148
161
- key
149
162
type: object
163
+
x-kubernetes-map-type: atomic
150
164
type: object
151
165
required:
152
166
- name
@@ -222,6 +236,7 @@ spec:
222
236
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
223
237
type: string
224
238
type: object
239
+
x-kubernetes-map-type: atomic
225
240
name:
226
241
enum:
227
242
- flagd
@@ -247,12 +262,270 @@ spec:
247
262
storage: true
248
263
subresources:
249
264
status: {}
250
-
status:
251
-
acceptedNames:
252
-
kind: ""
253
-
plural: ""
254
-
conditions: []
255
-
storedVersions: []
265
+
- name: v1alpha2
266
+
schema:
267
+
openAPIV3Schema:
268
+
description: FeatureFlagConfiguration is the Schema for the featureflagconfigurations
269
+
API
270
+
properties:
271
+
apiVersion:
272
+
description: 'APIVersion defines the versioned schema of this representation
273
+
of an object. Servers should convert recognized schemas to the latest
274
+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
275
+
type: string
276
+
kind:
277
+
description: 'Kind is a string value representing the REST resource this
278
+
object represents. Servers may infer this from the endpoint the client
279
+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
280
+
type: string
281
+
metadata:
282
+
type: object
283
+
spec:
284
+
description: FeatureFlagConfigurationSpec defines the desired state of
285
+
FeatureFlagConfiguration
286
+
properties:
287
+
featureFlagSpec:
288
+
description: FeatureFlagSpec is the structured representation of the
289
+
feature flag specification
290
+
properties:
291
+
$evaluators:
292
+
type: object
293
+
x-kubernetes-preserve-unknown-fields: true
294
+
flags:
295
+
additionalProperties:
296
+
properties:
297
+
defaultVariant:
298
+
type: string
299
+
state:
300
+
enum:
301
+
- ENABLED
302
+
- DISABLED
303
+
type: string
304
+
targeting:
305
+
description: Targeting is the json targeting rule
306
+
type: object
307
+
x-kubernetes-preserve-unknown-fields: true
308
+
variants:
309
+
type: object
310
+
x-kubernetes-preserve-unknown-fields: true
311
+
required:
312
+
- defaultVariant
313
+
- state
314
+
- variants
315
+
type: object
316
+
type: object
317
+
required:
318
+
- flags
319
+
type: object
320
+
flagDSpec:
321
+
nullable: true
322
+
properties:
323
+
envs:
324
+
items:
325
+
description: EnvVar represents an environment variable present
326
+
in a Container.
327
+
properties:
328
+
name:
329
+
description: Name of the environment variable. Must be a
330
+
C_IDENTIFIER.
331
+
type: string
332
+
value:
333
+
description: 'Variable references $(VAR_NAME) are expanded
334
+
using the previously defined environment variables in
335
+
the container and any service environment variables. If
336
+
a variable cannot be resolved, the reference in the input
337
+
string will be unchanged. Double $$ are reduced to a single
338
+
$, which allows for escaping the $(VAR_NAME) syntax: i.e.
339
+
"$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
340
+
Escaped references will never be expanded, regardless
341
+
of whether the variable exists or not. Defaults to "".'
342
+
type: string
343
+
valueFrom:
344
+
description: Source for the environment variable's value.
345
+
Cannot be used if value is not empty.
346
+
properties:
347
+
configMapKeyRef:
348
+
description: Selects a key of a ConfigMap.
349
+
properties:
350
+
key:
351
+
description: The key to select.
352
+
type: string
353
+
name:
354
+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
355
+
TODO: Add other useful fields. apiVersion, kind,
356
+
uid?'
357
+
type: string
358
+
optional:
359
+
description: Specify whether the ConfigMap or its
360
+
key must be defined
361
+
type: boolean
362
+
required:
363
+
- key
364
+
type: object
365
+
x-kubernetes-map-type: atomic
366
+
fieldRef:
367
+
description: 'Selects a field of the pod: supports metadata.name,
0 commit comments