1
0
Fork 0
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:
Prabhat Khera 2023-09-19 08:57:27 +12:00 committed by GitHub
parent cc37ccfe4d
commit 14853f6da0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 282 additions and 103 deletions

View file

@ -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 {