Skip to content

Commit

Permalink
feat: add ff shortname, commit httpSyncConfiguration
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <toddbaert@gmail.com>
  • Loading branch information
toddbaert authored Dec 9, 2022
1 parent 1372ac5 commit 11e4652
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 2 deletions.
22 changes: 21 additions & 1 deletion apis/core/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apis/core/v1alpha2/featureflagconfiguration_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ type FeatureFlagConfigurationStatus struct {
// Important: Run "make" to regenerate code after modifying this file
}

//+kubebuilder:resource:shortName="ff"
//+kubebuilder:object:root=true
//+kubebuilder:subresource:status

Expand Down
22 changes: 21 additions & 1 deletion apis/core/v1alpha2/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ spec:
kind: FeatureFlagConfiguration
listKind: FeatureFlagConfigurationList
plural: featureflagconfigurations
shortNames:
- ff
singular: featureflagconfiguration
scope: Namespaced
versions:
Expand Down Expand Up @@ -515,6 +517,19 @@ spec:
syncProvider:
nullable: true
properties:
httpSyncConfiguration:
description: HttpSyncConfiguration defines the desired configuration
for a http sync
nullable: true
properties:
bearerToken:
type: string
target:
description: Target is the target url for flagd to poll
type: string
required:
- target
type: object
name:
type: string
required:
Expand Down

0 comments on commit 11e4652

Please sign in to comment.