Skip to content

Commit

Permalink
Merge pull request #140 from salv-orlando/force_disable_flag312
Browse files Browse the repository at this point in the history
Force wait_for_security_policy_sync to False
  • Loading branch information
salv-orlando authored Jul 15, 2021
2 parents e26d364 + 8eb4916 commit 67bf886
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.2
3.1.2.1
3 changes: 2 additions & 1 deletion pkg/controller/configmap/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ func (adaptor *ConfigMapK8s) FillDefaults(configmap *corev1.ConfigMap, spec *con
appendErrorIfNotNil(&errs, fillDefault(cfg, "coe", "enable_snat", "True", false))
appendErrorIfNotNil(&errs, fillDefault(cfg, "ha", "enable", "True", false))
appendErrorIfNotNil(&errs, fillDefault(cfg, "nsx_node_agent", "mtu", strconv.Itoa(operatortypes.DefaultMTU), false))
appendErrorIfNotNil(&errs, fillDefault(cfg, "nsx_v3", "wait_for_security_policy_sync", "False", true))
// Write config back to ConfigMap data
(*data)[operatortypes.ConfigMapDataKey], err = iniWriteToString(cfg)
appendErrorIfNotNil(&errs, err)
Expand All @@ -80,7 +81,7 @@ func (adaptor *ConfigMapOc) FillDefaults(configmap *corev1.ConfigMap, spec *conf
appendErrorIfNotNil(&errs, fillDefault(cfg, "coe", "adaptor", "openshift4", true))
appendErrorIfNotNil(&errs, fillDefault(cfg, "nsx_v3", "policy_nsxapi", "True", true))
appendErrorIfNotNil(&errs, fillDefault(cfg, "nsx_v3", "single_tier_topology", "True", true))
appendErrorIfNotNil(&errs, fillDefault(cfg, "nsx_v3", "wait_for_security_policy_sync", "True", false))
appendErrorIfNotNil(&errs, fillDefault(cfg, "nsx_v3", "wait_for_security_policy_sync", "False", true))
appendErrorIfNotNil(&errs, fillDefault(cfg, "coe", "enable_snat", "True", false))
appendErrorIfNotNil(&errs, fillDefault(cfg, "ha", "enable", "True", false))
appendErrorIfNotNil(&errs, fillDefault(cfg, "k8s", "process_oc_network", "False", true))
Expand Down

0 comments on commit 67bf886

Please sign in to comment.