File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -256,6 +256,9 @@ func mergeConfig(from, to *controller.OperatorConfiguration) {
256256 if from .Routing .DefaultRoutingClass != "" {
257257 to .Routing .DefaultRoutingClass = from .Routing .DefaultRoutingClass
258258 }
259+ if from .Routing .Annotations != nil {
260+ to .Routing .Annotations = from .Routing .Annotations
261+ }
259262 if from .Routing .ClusterHostSuffix != "" {
260263 to .Routing .ClusterHostSuffix = from .Routing .ClusterHostSuffix
261264 }
@@ -387,6 +390,9 @@ func GetCurrentConfigString(currConfig *controller.OperatorConfiguration) string
387390 routing := currConfig .Routing
388391 var config []string
389392 if routing != nil {
393+ if routing .Annotations != nil && len (routing .Annotations ) > 0 {
394+ config = append (config , fmt .Sprintf ("routing.Annotations=%s" , routing .Annotations ))
395+ }
390396 if routing .ClusterHostSuffix != "" && routing .ClusterHostSuffix != defaultConfig .Routing .ClusterHostSuffix {
391397 config = append (config , fmt .Sprintf ("routing.clusterHostSuffix=%s" , routing .ClusterHostSuffix ))
392398 }
You can’t perform that action at this time.
0 commit comments