Skip to content

Commit 11e4652

Browse files
authored
feat: add ff shortname, commit httpSyncConfiguration
Signed-off-by: Todd Baert <[email protected]>
1 parent 1372ac5 commit 11e4652

File tree

4 files changed

+58
-2
lines changed

4 files changed

+58
-2
lines changed

apis/core/v1alpha1/zz_generated.deepcopy.go

Lines changed: 21 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/core/v1alpha2/featureflagconfiguration_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ type FeatureFlagConfigurationStatus struct {
107107
// Important: Run "make" to regenerate code after modifying this file
108108
}
109109

110+
//+kubebuilder:resource:shortName="ff"
110111
//+kubebuilder:object:root=true
111112
//+kubebuilder:subresource:status
112113

apis/core/v1alpha2/zz_generated.deepcopy.go

Lines changed: 21 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/core.openfeature.dev_featureflagconfigurations.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ spec:
1212
kind: FeatureFlagConfiguration
1313
listKind: FeatureFlagConfigurationList
1414
plural: featureflagconfigurations
15+
shortNames:
16+
- ff
1517
singular: featureflagconfiguration
1618
scope: Namespaced
1719
versions:
@@ -515,6 +517,19 @@ spec:
515517
syncProvider:
516518
nullable: true
517519
properties:
520+
httpSyncConfiguration:
521+
description: HttpSyncConfiguration defines the desired configuration
522+
for a http sync
523+
nullable: true
524+
properties:
525+
bearerToken:
526+
type: string
527+
target:
528+
description: Target is the target url for flagd to poll
529+
type: string
530+
required:
531+
- target
532+
type: object
518533
name:
519534
type: string
520535
required:

0 commit comments

Comments
 (0)