disable lua for arch s390x and ppc64le
LuaJIT is not available for s390x and ppc64le, disable the lua part in nginx.tmpl on these platform.
This commit is contained in:
parent
17f6996941
commit
1be1f658b4
6 changed files with 21 additions and 7 deletions
File diff suppressed because one or more lines are too long
|
|
@ -657,6 +657,7 @@ type TemplateConfig struct {
|
|||
ListenPorts *ListenPorts
|
||||
PublishService *apiv1.Service
|
||||
DynamicConfigurationEnabled bool
|
||||
DisableLua bool
|
||||
}
|
||||
|
||||
// ListenPorts describe the ports required to run the
|
||||
|
|
|
|||
|
|
@ -97,6 +97,8 @@ type Configuration struct {
|
|||
SyncRateLimit float32
|
||||
|
||||
DynamicConfigurationEnabled bool
|
||||
|
||||
DisableLua bool
|
||||
}
|
||||
|
||||
// GetPublishService returns the configured service used to set ingress status
|
||||
|
|
|
|||
|
|
@ -628,6 +628,7 @@ func (n *NGINXController) OnUpdate(ingressCfg ingress.Configuration) error {
|
|||
ListenPorts: n.cfg.ListenPorts,
|
||||
PublishService: n.GetPublishService(),
|
||||
DynamicConfigurationEnabled: n.cfg.DynamicConfigurationEnabled,
|
||||
DisableLua: n.cfg.DisableLua,
|
||||
}
|
||||
|
||||
content, err := n.t.Write(tc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue