fix(k8s/configuration): save the owner when updating the configuration (#4517)

pull/3937/head
Alice Groux 4 years ago committed by GitHub
parent 7398d54ed0
commit 45fcb1ad26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save