helm repository - some auth updates are ignored or lost #5746
Labels
component/plugin-helm
Issue related to kubeapps plugin to manage Helm packages
kind/bug
An issue that reports a defect in an existing feature
Milestone
Describe the bug
There are 2 bugs happening during a repository update with auth changes:
To Reproduce
Create a helm repository and configure auth credentials, pull image credentials and a tls CA.
issue 1:
Edit the helm repository, update the tls CA and save. Notice that the pull image secret is deleted, making the repository not readable anymore.
issue 2:
Edit the helm repository, update the tls CA and save. Notice that the auth secret is not updated with the new CA.
In fact, as long as one of the credentials remains "redacted", the other updates are ignored.
Expected behavior
issue 1: the pull image secret is not expected to be deleted when modifying the tls CA.
issue 2: users should be able to update only some of the credentials info (e.g. only the password) and expect the secret to be updated with what changed, retaining what was not changed
Desktop (please complete the following information):
kubeapps 12.1.1 / 2.6.1
The text was updated successfully, but these errors were encountered: