@@ -28,10 +28,12 @@ import (
28
28
type FeatureFlagSourceSpec struct {
29
29
// ManagemetPort defines the port to serve management on, defaults to 8014
30
30
// +optional
31
+ // +kubebuilder:default:=8014
31
32
ManagementPort int32 `json:"managementPort"`
32
33
33
34
// Port defines the port to listen on, defaults to 8013
34
35
// +optional
36
+ // +kubebuilder:default:=8013
35
37
Port int32 `json:"port"`
36
38
37
39
// SocketPath defines the unix socket path to listen on
@@ -40,6 +42,7 @@ type FeatureFlagSourceSpec struct {
40
42
41
43
// Evaluator sets an evaluator, defaults to 'json'
42
44
// +optional
45
+ // +kubebuilder:default:="json"
43
46
Evaluator string `json:"evaluator"`
44
47
45
48
// SyncProviders define the syncProviders and associated configuration to be applied to the sidecar
@@ -61,10 +64,12 @@ type FeatureFlagSourceSpec struct {
61
64
62
65
// LogFormat allows for the sidecar log format to be overridden, defaults to 'json'
63
66
// +optional
67
+ // +kubebuilder:default:="json"
64
68
LogFormat string `json:"logFormat"`
65
69
66
70
// EnvVarPrefix defines the prefix to be applied to all environment variables applied to the sidecar, default FLAGD
67
71
// +optional
72
+ // +kubebuilder:default:="FLAGD"
68
73
EnvVarPrefix string `json:"envVarPrefix"`
69
74
70
75
// RolloutOnChange dictates whether annotated deployments will be restarted when configuration changes are
0 commit comments