@@ -26,8 +26,8 @@ import (
26
26
27
27
// FeatureFlagInProcessConfigurationSpec defines the desired state of FeatureFlagInProcessConfiguration
28
28
type FeatureFlagInProcessConfigurationSpec struct {
29
- // Port defines the port to listen on, defaults to 8013
30
- // +kubebuilder:default:=8013
29
+ // Port defines the port to listen on, defaults to 8015
30
+ // +kubebuilder:default:=8015
31
31
// +optional
32
32
Port int32 `json:"port"`
33
33
@@ -113,7 +113,7 @@ func (fc *FeatureFlagInProcessConfigurationSpec) Merge(new *FeatureFlagInProcess
113
113
fc .EnvVars = common .RemoveDuplicateEnvVars (fc .EnvVars )
114
114
}
115
115
116
- if new .Port != common .DefaultPort {
116
+ if new .Port != common .DefaultInProcessPort {
117
117
fc .Port = new .Port
118
118
}
119
119
if new .SocketPath != "" {
@@ -159,7 +159,7 @@ func (fc *FeatureFlagInProcessConfigurationSpec) ToEnvVars() []corev1.EnvVar {
159
159
})
160
160
}
161
161
162
- if fc .Port != common .DefaultPort {
162
+ if fc .Port != common .DefaultInProcessPort {
163
163
envs = append (envs , corev1.EnvVar {
164
164
Name : common .EnvVarKey (fc .EnvVarPrefix , common .PortEnvVar ),
165
165
Value : fmt .Sprintf ("%d" , fc .Port ),
@@ -208,7 +208,7 @@ func (fc *FeatureFlagInProcessConfigurationSpec) ToEnvVars() []corev1.EnvVar {
208
208
})
209
209
}
210
210
211
- // sets the FLAGD_RESOLVER var to "in-process" to configure the provider for in-process evaluation mode
211
+ // sets the FLAGD_RESOLVER var to "in-process" to configure the provider for in-process evaluation mode
212
212
envs = append (envs , corev1.EnvVar {
213
213
Name : common .EnvVarKey (fc .EnvVarPrefix , common .ResolverEnvVar ),
214
214
Value : common .InProcessResolverType ,
0 commit comments