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: FeatureFlagConfiguration is the Schema for the featureflagconfigurations
264
+
API
265
+
properties:
266
+
apiVersion:
267
+
description: 'APIVersion defines the versioned schema of this representation
268
+
of an object. Servers should convert recognized schemas to the latest
269
+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
270
+
type: string
271
+
kind:
272
+
description: 'Kind is a string value representing the REST resource this
273
+
object represents. Servers may infer this from the endpoint the client
274
+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
275
+
type: string
276
+
metadata:
277
+
type: object
278
+
spec:
279
+
description: FeatureFlagConfigurationSpec defines the desired state of
280
+
FeatureFlagConfiguration
281
+
properties:
282
+
featureFlagSpec:
283
+
description: FeatureFlagSpec is the structured representation of the
284
+
feature flag specification
285
+
properties:
286
+
$evaluators:
287
+
type: object
288
+
x-kubernetes-preserve-unknown-fields: true
289
+
flags:
290
+
additionalProperties:
291
+
properties:
292
+
defaultVariant:
293
+
type: string
294
+
state:
295
+
enum:
296
+
- ENABLED
297
+
- DISABLED
298
+
type: string
299
+
targeting:
300
+
description: Targeting is the json targeting rule
301
+
type: object
302
+
x-kubernetes-preserve-unknown-fields: true
303
+
variants:
304
+
type: object
305
+
x-kubernetes-preserve-unknown-fields: true
306
+
required:
307
+
- defaultVariant
308
+
- state
309
+
- variants
310
+
type: object
311
+
type: object
312
+
required:
313
+
- flags
314
+
type: object
315
+
flagDSpec:
316
+
nullable: true
317
+
properties:
318
+
envs:
319
+
items:
320
+
description: EnvVar represents an environment variable present
321
+
in a Container.
322
+
properties:
323
+
name:
324
+
description: Name of the environment variable. Must be a
325
+
C_IDENTIFIER.
326
+
type: string
327
+
value:
328
+
description: 'Variable references $(VAR_NAME) are expanded
329
+
using the previously defined environment variables in
330
+
the container and any service environment variables. If
331
+
a variable cannot be resolved, the reference in the input
332
+
string will be unchanged. Double $$ are reduced to a single
333
+
$, which allows for escaping the $(VAR_NAME) syntax: i.e.
334
+
"$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
335
+
Escaped references will never be expanded, regardless
336
+
of whether the variable exists or not. Defaults to "".'
337
+
type: string
338
+
valueFrom:
339
+
description: Source for the environment variable's value.
340
+
Cannot be used if value is not empty.
341
+
properties:
342
+
configMapKeyRef:
343
+
description: Selects a key of a ConfigMap.
344
+
properties:
345
+
key:
346
+
description: The key to select.
347
+
type: string
348
+
name:
349
+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
350
+
TODO: Add other useful fields. apiVersion, kind,
351
+
uid?'
352
+
type: string
353
+
optional:
354
+
description: Specify whether the ConfigMap or its
355
+
key must be defined
356
+
type: boolean
357
+
required:
358
+
- key
359
+
type: object
360
+
fieldRef:
361
+
description: 'Selects a field of the pod: supports metadata.name,
0 commit comments