()
| 199 | } |
| 200 | |
| 201 | func restoreDefaultConfig() { |
| 202 | configMutex.Lock() |
| 203 | defer configMutex.Unlock() |
| 204 | internalConfig = defaultConfig.DeepCopy() |
| 205 | logCurrentConfig() |
| 206 | } |
| 207 | |
| 208 | // discoverRouteSuffix attempts to determine a clusterHostSuffix that is compatible with the current cluster. |
| 209 | // On OpenShift, this is done by creating a temporary route and reading the auto-filled .spec.host. On Kubernetes, |
no test coverage detected