mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 08:19:40 +02:00
fix(kubernetes): kube env permissions when down [EE-5427] (#10327)
This commit is contained in:
parent
cc37ccfe4d
commit
14853f6da0
18 changed files with 282 additions and 103 deletions
|
@ -373,10 +373,13 @@ type (
|
|||
//EdgeStackStatusType represents an edge stack status type
|
||||
EdgeStackStatusType int
|
||||
|
||||
EndpointPendingActions struct {
|
||||
CleanNAPWithOverridePolicies struct {
|
||||
EndpointGroups []EndpointGroupID `json:"EndpointGroups"`
|
||||
} `json:"CleanNAPWithOverridePolicies"`
|
||||
PendingActionsID int
|
||||
PendingActions struct {
|
||||
ID PendingActionsID `json:"ID"`
|
||||
EndpointID EndpointID `json:"EndpointID"`
|
||||
Action string `json:"Action"`
|
||||
ActionData interface{} `json:"ActionData"`
|
||||
CreatedAt int64 `json:"CreatedAt"`
|
||||
}
|
||||
|
||||
// Environment(Endpoint) represents a Docker environment(endpoint) with all the info required
|
||||
|
@ -434,9 +437,6 @@ type (
|
|||
// Whether we need to run any "post init migrations".
|
||||
PostInitMigrations EndpointPostInitMigrations `json:"PostInitMigrations"`
|
||||
|
||||
// Whether we need to run any action when an endpoint is back online.
|
||||
PendingActions *EndpointPendingActions `json:"PendingActions"`
|
||||
|
||||
Edge EnvironmentEdgeSettings
|
||||
|
||||
Agent struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue