source-controller/internal/tls
Sanskar Jaiswal f787fc7046
helmrepo: fix Secret type check for TLS via `.spec.secretRef`
This is a regression fix introduced in a302c71 which would wrongly check
for the type of the Secret specified in `.spec.secretRef` while
configuring TLS data.

Introduce `LegacyTLSClientConfigFromSecret` which does not check the
Secret type while constructing the TLS config.

Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2023-09-06 00:27:45 +05:30
..
config.go helmrepo: fix Secret type check for TLS via `.spec.secretRef` 2023-09-06 00:27:45 +05:30
config_test.go helmrepo: fix Secret type check for TLS via `.spec.secretRef` 2023-09-06 00:27:45 +05:30