-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate External config map on OVNDBCluster
Due to openstack-operator PR#1104 deployment can run without OVNController, currently it is in charge of create the External ConfigMap used by EDPM deployment. Moving the creation of the map on OVNDBCluster to ensure the map exist regardless of the setup of the enviroment. The map's name is hardcoded (ovncontroller-config) this is done on purpose, as this name is hardcoded on the openstack-operators config files. This should be addressed on the future, but for now we'll handle it this way. With this commit OVNDBCluster will start watching OVNController CR to ensure that any change made in OVNController.Spec.ExternalIDs.OvnEncapType is monitored and can update the configMap accordingly. Resolves: OSPRH-10372
- Loading branch information
Showing
9 changed files
with
326 additions
and
233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
templates/ovncontroller/config/ovsdb-config → templates/ovndbcluster/config/ovsdb-config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
ovn-remote: {{ .OVNRemote }} | ||
{{if (index . "OVNEncapType")}} | ||
ovn-encap-type: {{ .OVNEncapType }} | ||
{{end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.