-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set network config status even with unknown network plugin
Some components depend on some fields of configv1.NetworkStatus. Eg, cluster-kubernetes-apiserver-operator needs to know the ServiceNetwork. Previously we weren't setting the status when the default network type was unknown, because we didn't know that the external network plugin would consider them valid. (eg, there might be multiple ClusterNetwork values but the plugin only supports one.) But this breaks components that assume they can get their config from there. Fix this by setting the status fields but allowing them to be overridden by another operator if the network type is unknown.
- Loading branch information
1 parent
8e1b9e7
commit 2928738
Showing
3 changed files
with
112 additions
and
18 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