Disable dynamic configuration in s390x and ppc64le (#2298)
This commit is contained in:
parent
dd2bc91018
commit
ee30c55dfc
1 changed files with 7 additions and 0 deletions
|
@ -20,6 +20,7 @@ import (
|
|||
"flag"
|
||||
"fmt"
|
||||
"os"
|
||||
"runtime"
|
||||
"time"
|
||||
|
||||
"github.com/golang/glog"
|
||||
|
@ -194,6 +195,12 @@ func parseFlags() (bool, *controller.Configuration, error) {
|
|||
glog.Warningf("Check of SSL certificate chain is disabled (--enable-ssl-chain-completion=false)")
|
||||
}
|
||||
|
||||
if *dynamicConfigurationEnabled && (runtime.GOARCH == "s390x" || runtime.GOARCH == "ppc64le") {
|
||||
b := false
|
||||
dynamicConfigurationEnabled = &b
|
||||
glog.Warningf("Disabling dynamic configuration feature (LuaJIT is not available in s390x and ppc64le)")
|
||||
}
|
||||
|
||||
config := &controller.Configuration{
|
||||
APIServerHost: *apiserverHost,
|
||||
KubeConfigFile: *kubeConfigFile,
|
||||
|
|
Loading…
Reference in a new issue