mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
fix(k8s/configuration): save the owner when updating the configuration (#4517)
This commit is contained in:
parent
7398d54ed0
commit
45fcb1ad26
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ class KubernetesSecretConverter {
|
|||
const res = new KubernetesSecretUpdatePayload();
|
||||
res.metadata.name = secret.Name;
|
||||
res.metadata.namespace = secret.Namespace;
|
||||
res.metadata.labels[KubernetesPortainerConfigurationOwnerLabel] = secret.ConfigurationOwner;
|
||||
res.stringData = secret.Data;
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue