fix(anonaddy) fix secret encoding for anonaddy (#12260)

**Description**
change encoding to b64enc for secret keys
⚒️ 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?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

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

**✔️ Checklist:**

- [X] ⚖️ 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
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 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

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_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._

---------

Signed-off-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com>
Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
Xstar97TheNoob 2023-09-05 20:39:27 -04:00 committed by GitHub
parent a65e3c7916
commit 17bb71bfb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -26,7 +26,7 @@ name: anonaddy
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/anonaddy
- https://github.com/anonaddy/docker
version: 15.0.1
version: 15.0.2
annotations:
truecharts.org/catagories: |
- email

View File

@ -11,6 +11,9 @@
{{- end }}
enabled: true
data:
APP_KEY: {{ $appKey }}
# Anonaddy requires APP_KEY to be in base 64 format presented in the container, so this b64enc here is intentional
# https://github.com/anonaddy/docker/blob/master/README.md#app
APP_KEY: {{ $appKey | b64enc }}
# Anonaddy requires ANONADDY_SECRET to be a long string
ANONADDY_SECRET: {{ $secretKey }}
{{- end -}}