1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-25 08:19:40 +02:00

refactor(app): migrate configmap and secret form sections [EE-6233] (#10528)

* refactor(app): migrate configmap and secret form sections [EE-6233]
This commit is contained in:
Ali 2024-01-03 09:07:11 +13:00 committed by GitHub
parent 391b85da41
commit 7a2412b1be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 631 additions and 447 deletions

View file

@ -14,6 +14,7 @@ class KubernetesConfigurationConverter {
_.forEach(secret.Data, (entry) => {
res.Data[entry.Key] = entry.Value;
});
res.data = res.Data;
res.ConfigurationOwner = secret.ConfigurationOwner;
res.IsRegistrySecret = secret.IsRegistrySecret;
res.SecretType = secret.SecretType;
@ -34,6 +35,7 @@ class KubernetesConfigurationConverter {
_.forEach(configMap.Data, (entry) => {
res.Data[entry.Key] = entry.Value;
});
res.data = res.Data;
res.ConfigurationOwner = configMap.ConfigurationOwner;
return res;
}