Skip to content

Commit 6807a36

Browse files
authored
Merge pull request #228 from skyerus/fix/charts-v0.2.18
chore: update charts to v0.2.18
2 parents 675724a + 5ae674c commit 6807a36

File tree

3 files changed

+282
-3
lines changed

3 files changed

+282
-3
lines changed

chart/templates/rendered.yaml

Lines changed: 270 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,20 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5+
cert-manager.io/inject-ca-from: '{{ include "chart.namespace" . }}/open-feature-operator-serving-cert'
56
controller-gen.kubebuilder.io/version: v0.8.0
6-
creationTimestamp: null
77
name: featureflagconfigurations.core.openfeature.dev
88
spec:
9+
conversion:
10+
strategy: Webhook
11+
webhook:
12+
clientConfig:
13+
service:
14+
name: open-feature-operator-webhook-service
15+
namespace: '{{ include "chart.namespace" . }}'
16+
path: /convert
17+
conversionReviewVersions:
18+
- v1
919
group: core.openfeature.dev
1020
names:
1121
kind: FeatureFlagConfiguration
@@ -247,6 +257,265 @@ spec:
247257
storage: true
248258
subresources:
249259
status: {}
260+
- name: v1alpha2
261+
schema:
262+
openAPIV3Schema:
263+
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,
362+
metadata.namespace, `metadata.labels[''<KEY>'']`,
363+
`metadata.annotations[''<KEY>'']`, spec.nodeName,
364+
spec.serviceAccountName, status.hostIP, status.podIP,
365+
status.podIPs.'
366+
properties:
367+
apiVersion:
368+
description: Version of the schema the FieldPath
369+
is written in terms of, defaults to "v1".
370+
type: string
371+
fieldPath:
372+
description: Path of the field to select in the
373+
specified API version.
374+
type: string
375+
required:
376+
- fieldPath
377+
type: object
378+
resourceFieldRef:
379+
description: 'Selects a resource of the container: only
380+
resources limits and requests (limits.cpu, limits.memory,
381+
limits.ephemeral-storage, requests.cpu, requests.memory
382+
and requests.ephemeral-storage) are currently supported.'
383+
properties:
384+
containerName:
385+
description: 'Container name: required for volumes,
386+
optional for env vars'
387+
type: string
388+
divisor:
389+
anyOf:
390+
- type: integer
391+
- type: string
392+
description: Specifies the output format of the
393+
exposed resources, defaults to "1"
394+
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
395+
x-kubernetes-int-or-string: true
396+
resource:
397+
description: 'Required: resource to select'
398+
type: string
399+
required:
400+
- resource
401+
type: object
402+
secretKeyRef:
403+
description: Selects a key of a secret in the pod's
404+
namespace
405+
properties:
406+
key:
407+
description: The key of the secret to select from. Must
408+
be a valid secret key.
409+
type: string
410+
name:
411+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
412+
TODO: Add other useful fields. apiVersion, kind,
413+
uid?'
414+
type: string
415+
optional:
416+
description: Specify whether the Secret or its key
417+
must be defined
418+
type: boolean
419+
required:
420+
- key
421+
type: object
422+
type: object
423+
required:
424+
- name
425+
type: object
426+
type: array
427+
type: object
428+
serviceProvider:
429+
description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
430+
Important: Run "make" to regenerate code after modifying this file'
431+
nullable: true
432+
properties:
433+
credentials:
434+
description: "ObjectReference contains enough information to let
435+
you inspect or modify the referred object. --- New uses of this
436+
type are discouraged because of difficulty describing its usage
437+
when embedded in APIs. 1. Ignored fields. It includes many
438+
fields which are not generally honored. For instance, ResourceVersion
439+
and FieldPath are both very rarely valid in actual usage. 2.
440+
Invalid usage help. It is impossible to add specific help for
441+
individual usage. In most embedded usages, there are particular
442+
restrictions like, \"must refer only to types A and B\" or \"UID
443+
not honored\" or \"name must be restricted\". Those cannot be
444+
well described when embedded. 3. Inconsistent validation. Because
445+
the usages are different, the validation rules are different
446+
by usage, which makes it hard for users to predict what will
447+
happen. 4. The fields are both imprecise and overly precise.
448+
\ Kind is not a precise mapping to a URL. This can produce ambiguity
449+
during interpretation and require a REST mapping. In most cases,
450+
the dependency is on the group,resource tuple and the version
451+
of the actual struct is irrelevant. 5. We cannot easily change
452+
it. Because this type is embedded in many locations, updates
453+
to this type will affect numerous schemas. Don't make new APIs
454+
embed an underspecified API type they do not control. \n Instead
455+
of using this type, create a locally provided and used type
456+
that is well-focused on your reference. For example, ServiceReferences
457+
for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533
458+
."
459+
nullable: true
460+
properties:
461+
apiVersion:
462+
description: API version of the referent.
463+
type: string
464+
fieldPath:
465+
description: 'If referring to a piece of an object instead
466+
of an entire object, this string should contain a valid
467+
JSON/Go field access statement, such as desiredState.manifest.containers[2].
468+
For example, if the object reference is to a container within
469+
a pod, this would take on a value like: "spec.containers{name}"
470+
(where "name" refers to the name of the container that triggered
471+
the event) or if no container name is specified "spec.containers[2]"
472+
(container with index 2 in this pod). This syntax is chosen
473+
only to have some well-defined way of referencing a part
474+
of an object. TODO: this design is not final and this field
475+
is subject to change in the future.'
476+
type: string
477+
kind:
478+
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
479+
type: string
480+
name:
481+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
482+
type: string
483+
namespace:
484+
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
485+
type: string
486+
resourceVersion:
487+
description: 'Specific resourceVersion to which this reference
488+
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
489+
type: string
490+
uid:
491+
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
492+
type: string
493+
type: object
494+
name:
495+
enum:
496+
- flagd
497+
type: string
498+
required:
499+
- name
500+
type: object
501+
syncProvider:
502+
nullable: true
503+
properties:
504+
name:
505+
type: string
506+
required:
507+
- name
508+
type: object
509+
type: object
510+
status:
511+
description: FeatureFlagConfigurationStatus defines the observed state
512+
of FeatureFlagConfiguration
513+
type: object
514+
type: object
515+
served: true
516+
storage: false
517+
subresources:
518+
status: {}
250519
status:
251520
acceptedNames:
252521
kind: ""

charts/ofo-v0.2.18.tgz

6.61 KB
Binary file not shown.

index.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
11
apiVersion: v1
22
entries:
33
ofo:
4+
- apiVersion: v2
5+
appVersion: v0.2.18
6+
created: "2022-11-15T13:47:48.066768Z"
7+
description: A feature flag operator for Kubernetes
8+
digest: d994b8bbcf3bcf48d9a741bdfed574cee28b5d9faf34c037e4bdef4bd809ce74
9+
name: ofo
10+
type: application
11+
urls:
12+
- https://open-feature.github.io/open-feature-operator/charts/ofo-v0.2.18.tgz
13+
version: v0.2.18
414
- apiVersion: v2
515
appVersion: v0.2.16
6-
created: "2022-11-02T14:26:12.840023Z"
16+
created: "2022-11-15T13:47:48.066462Z"
717
description: A feature flag operator for Kubernetes
818
digest: 45169ec45bf063089f2c2b0ae7dbaa8c64ae2708418169f4e7a1f836d43a5c7c
919
name: ofo
1020
type: application
1121
urls:
1222
- https://open-feature.github.io/open-feature-operator/charts/ofo-v0.2.16.tgz
1323
version: v0.2.16
14-
generated: "2022-11-02T14:26:12.839651Z"
24+
generated: "2022-11-15T13:47:48.06585Z"

0 commit comments

Comments
 (0)