Update lua configuration_data when number of controller pod change
This commit is contained in:
parent
55b4f00368
commit
f90881b367
10 changed files with 113 additions and 19 deletions
|
|
@ -71,6 +71,9 @@ type Configuration struct {
|
|||
|
||||
// ConfigurationChecksum contains the particular checksum of a Configuration object
|
||||
ConfigurationChecksum string `json:"configurationChecksum,omitempty"`
|
||||
|
||||
// ControllerPodsCount contains the list of running ingress controller Pod(s)
|
||||
ControllerPodsCount int `json:"controllerPodsCount,omitempty"`
|
||||
}
|
||||
|
||||
// Backend describes one or more remote server/s (endpoints) associated with a service
|
||||
|
|
@ -338,3 +341,8 @@ type Ingress struct {
|
|||
extensions.Ingress
|
||||
ParsedAnnotations *annotations.Ingress
|
||||
}
|
||||
|
||||
// GeneralConfig holds the definition of lua general configuration data
|
||||
type GeneralConfig struct {
|
||||
ControllerPodsCount int `json:"controllerPodsCount"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue