Files
truecharts/charts/enterprise/clusterissuer
Conall360andGitHub eee16e5acd ClusterIssuer: Fixing spaces in "-----BEGIN CERTIFICATE-----" or "-----BEGIN PRIVATE KEY-----" introducing extra newlines (#18486)
**Description**
The template replaces all spaces with newlines. This causes the spaces
in "-----BEGIN CERTIFICATE-----" or "-----BEGIN PRIVATE KEY-----" to
introduce extra newlines and malforms the cert and key. The change first
replaces the spaces in the BEGIN/END segments with _ before removing
them again

⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [X] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
I forked the catalogue repository, made the change there and added it to
TrueNAS. Was able to successfully set the CA Key/Cert for the
clusterissuer.

Normal KeyPairVerified 1s (x3 over 2d11h) cert-manager-clusterissuers
Signing CA verified

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [X] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [X] ⚠️ My changes generate no new warnings
- [X] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [X] ⬆️ I increased versions for any altered app according to semantic
versioning
---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
2024-02-22 14:55:33 +01:00
..

title
title
README

General Info

TrueCharts can be installed as both normal Helm Charts or as Apps on TrueNAS SCALE. However only installations using the TrueNAS SCALE Apps system are supported.

For more information about this App, please check the docs on the TrueCharts website

This chart is not maintained by the upstream project and any issues with the chart should be raised here

Support


Sponsor TrueCharts

TrueCharts can only exist due to the incredible effort of our staff. Please consider making a donation or contributing back to the project any way you can!

All Rights Reserved - The TrueCharts Project