mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
fix(kubernetes): run group permission when endpoint is up [EE-5427] (#10121)
* update group access when env is down * fix tests
This commit is contained in:
parent
d75a8027a5
commit
a02f9f1f07
7 changed files with 90 additions and 3 deletions
|
@ -373,6 +373,12 @@ type (
|
|||
//EdgeStackStatusType represents an edge stack status type
|
||||
EdgeStackStatusType int
|
||||
|
||||
EndpointPendingActions struct {
|
||||
CleanNAPWithOverridePolicies struct {
|
||||
EndpointGroups []EndpointGroupID `json:"EndpointGroups"`
|
||||
} `json:"CleanNAPWithOverridePolicies"`
|
||||
}
|
||||
|
||||
// Environment(Endpoint) represents a Docker environment(endpoint) with all the info required
|
||||
// to connect to it
|
||||
Endpoint struct {
|
||||
|
@ -428,6 +434,9 @@ 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