mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 05:45:22 +02:00
keep labels on edit ingress, configmaps and secrets (#11050)
This commit is contained in:
parent
9ad78753bc
commit
a2195caa10
13 changed files with 21 additions and 2 deletions
|
@ -159,6 +159,7 @@ class KubernetesConfigMapController {
|
|||
this.formValues.Type = this.configuration.Type;
|
||||
this.formValues.Kind = this.configuration.Kind;
|
||||
this.oldDataYaml = this.formValues.DataYaml;
|
||||
this.formValues.Labels = this.configuration.Labels;
|
||||
|
||||
return this.configuration;
|
||||
} catch (err) {
|
||||
|
|
|
@ -155,6 +155,7 @@ class KubernetesSecretController {
|
|||
this.formValues.Type = this.configuration.Type;
|
||||
this.formValues.Kind = this.configuration.Kind;
|
||||
this.oldDataYaml = this.formValues.DataYaml;
|
||||
this.formValues.Labels = this.configuration.Labels;
|
||||
|
||||
return this.configuration;
|
||||
} catch (err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue