feat: add cacertfile to load cacert more easily #77
+420
−14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this does
Adding caCertFile option to pass ca certs directly from the local file system instead of having the file requiring to be in the charts folder, making it annoying to have to download the charts etc.
caCert option remains but it hard to use, the following does not work:
It requires the certificate.crt to be in the charts folder, which can work in some cases if you have the chart locally.
Adding caCertFile option taking the ca cert inline thanks for the set-file option:
It then doesn't require the certificate to be in the chart and is instead passed inline as value and added to the configmap via value instead of Files.Globs templating inside the configmap.