1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-26 00:39:41 +02:00

fix(ingresses): migrate to new allow/disallow format EE-4465 (#7893)

This commit is contained in:
Dakota Walsh 2022-11-02 11:17:32 +13:00 committed by GitHub
parent 5048f08b5f
commit 459c95169a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 156 additions and 0 deletions

View file

@ -352,6 +352,9 @@ type (
// Whether the device has been trusted or not by the user
UserTrusted bool
// Whether we need to run any "post init migrations".
PostInitMigrations EndpointPostInitMigrations `json:"PostInitMigrations"`
Edge struct {
// Whether the device has been started in edge async mode
AsyncMode bool
@ -453,6 +456,11 @@ type (
EdgeStacks map[EdgeStackID]bool
}
// EndpointPostInitMigrations
EndpointPostInitMigrations struct {
MigrateIngresses bool `json:"MigrateIngresses"`
}
// Extension represents a deprecated Portainer extension
Extension struct {
// Extension Identifier