mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
fix(ingresses): migrate to new allow/disallow format EE-4465 (#7893)
This commit is contained in:
parent
5048f08b5f
commit
459c95169a
6 changed files with 156 additions and 0 deletions
|
@ -60,6 +60,7 @@ func (m *Migrator) updateIngressFieldsForEnvDB70() error {
|
|||
for _, endpoint := range endpoints {
|
||||
endpoint.Kubernetes.Configuration.IngressAvailabilityPerNamespace = true
|
||||
endpoint.Kubernetes.Configuration.AllowNoneIngressClass = false
|
||||
endpoint.PostInitMigrations.MigrateIngresses = true
|
||||
|
||||
err = m.endpointService.UpdateEndpoint(endpoint.ID, &endpoint)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue