mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 05:19:39 +02:00
fix(kubernetes): Prevent rerunning initial cluster detection [EE-5170] (#8666)
This commit is contained in:
parent
6ee5cc6a56
commit
f17a608dc7
3 changed files with 36 additions and 7 deletions
|
@ -588,9 +588,12 @@ type (
|
|||
Flags KubernetesFlags `json:"Flags"`
|
||||
}
|
||||
|
||||
// KubernetesFlags are used to detect if we need to run initial cluster
|
||||
// detection again.
|
||||
KubernetesFlags struct {
|
||||
IsServerMetricsDetected bool `json:"IsServerMetricsDetected"`
|
||||
IsServerStorageDetected bool `json:"IsServerStorageDetected"`
|
||||
IsServerMetricsDetected bool `json:"IsServerMetricsDetected"`
|
||||
IsServerIngressClassDetected bool `json:"IsServerIngressClassDetected"`
|
||||
IsServerStorageDetected bool `json:"IsServerStorageDetected"`
|
||||
}
|
||||
|
||||
// KubernetesSnapshot represents a snapshot of a specific Kubernetes environment(endpoint) at a specific time
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue