feat(cert-manager): add Cert-Manager configuration App (#6378)

* feat(cert-manager): add Cert-Manager configuration App

* eof

* pre-commit cleanup

* add temp crds folder

* patch mistake

* restructure

* add route53 support

* add some fails

* fixes and add route53 to GUI

* end

* add experimental HTTP01 support

* fix bug

* add buypass acme to dropdown

* add akamai support

* add Digitalocean

* add rfc2136 support

* fix some issues and add self-signed issuer

* add metrics and fix selfsigned

* whoops

* Add CA certificate system

* whoops

* benc stuff

* actually load CA

* fix

* fix ca

* bool -> boolean

* also test CA

* wait for pod to be ready

* sleep more agressively on cert-Manger itself

* some more fixes

* whoops

* fix mistakes

* all waits test

* add cmctl

* increase scope for now and some fixes

* simplify

* dont wait on non-existing pods

* make it non-failing

* fix typo
This commit is contained in:
Kjeld Schouten-Lebbing
2023-01-18 00:06:10 +01:00
committed by GitHub
parent fb0b94572b
commit 2d97bc9b9b
25 changed files with 5159 additions and 30 deletions
+3 -3
View File
@@ -11,17 +11,17 @@ We also document which versions of TrueNAS will receive TrueCharts updates and f
### Supported Versions
| TrueNAS version | Branch | Supported with updates | Accepting Support tickets | Accepting Bug Reports | Notes |
| ---------------- | -------- | ---------------------- | ------------------------- | --------------------- | -------------------------------------------------------------------------------------------------------------- |
| 22.02.4 or prior | `master` | :white_check_mark: | :x: | :x: | Advised to update to 22.12.0 release of [TrueNAS SCALE](https://www.truenas.com/docs/scale/scalereleasenotes/) | |
| ---------------- | -------- | ---------------------- | ------------------------- | --------------------- | -------------------------------------------------------------------------------------------------------------- | --- |
| 22.02.4 or prior | `master` | :white_check_mark: | :x: | :x: | Advised to update to 22.12.0 release of [TrueNAS SCALE](https://www.truenas.com/docs/scale/scalereleasenotes/) | |
| 22.12.0 | `master` | :white_check_mark: | :white_check_mark: | :white_check_mark: | Most Stable Release as of 2022-12-13 |
| Nightly | `master` | :white_check_mark: | :x: | :white_check_mark: | Please only submit bug reports during codefreeze |
::: warning Support Guidelines
Our [Discord](https://discord.gg/tVsPTHWTtr) support (the ticketing system inside #support) is primarily limited to what is covered by our written guides. This includes installing, linking and editing apps. This doesn't mean the actual setup of the application. All #support tickets covered by the staff are done so in a **best effort** policy.
:::
## Stable Train Charts
We provide direct support for getting `stable` train charts working on our [discord](https://discord.gg/tVsPTHWTtr) inside the **#support** channel.
+2 -2
View File
@@ -1,7 +1,7 @@
module.exports = {
dryRun: false,
username: 'truecharts-admin',
gitAuthor: 'truecharts-admin <bot@truecharts.org>',
username: "truecharts-admin",
gitAuthor: "truecharts-admin <bot@truecharts.org>",
onboarding: false,
platform: "github",
repositories: ["truecharts/charts"],
+6 -6
View File
@@ -322,42 +322,42 @@ jobs:
res4="${{needs.lint-charts4.result}}"
res5="${{needs.lint-charts5.result}}"
res6="${{needs.lint-charts6.result}}"
if [[ $res1 == "success" || $res1 == "skipped" ]]; then
echo "lint tests 1 successfull..."
else
echo "lint tests 1 error, stopping due to failure..."
exit 1
fi
if [[ $res2 == "success" || $res2 == "skipped" ]]; then
echo "lint tests 2 successfull..."
else
echo "lint tests 2 error, stopping due to failure..."
exit 1
fi
if [[ $res3 == "success" || $res3 == "skipped" ]]; then
echo "lint tests 3 successfull..."
else
echo "lint tests 3 error, stopping due to failure..."
exit 1
fi
if [[ $res4 == "success" || $res4 == "skipped" ]]; then
echo "lint tests 4 successfull..."
else
echo "lint tests 4 error, stopping due to failure..."
exit 1
fi
if [[ $res5 == "success" || $res5 == "skipped" ]]; then
echo "lint tests 5 successfull..."
else
echo "lint tests 5 error, stopping due to failure..."
exit 1
fi
if [[ $res6 == "success" || $res6 == "skipped" ]]; then
echo "lint tests 6 successfull..."
else
+2 -2
View File
@@ -121,13 +121,13 @@ jobs:
mv -f website/docs/charts/${train}/${chart}/CHANGELOG.md tmp/website/docs/charts/${train}/${chart}/CHANGELOG.md || :
mv -f website/docs/charts/${train}/${chart}/helm-security.md tmp/website/docs/charts/${train}/${chart}/helm-security.md || :
mv -f website/docs/charts/${train}/${chart}/container-security.md tmp/website/docs/charts/${train}/${chart}/container-security.md || :
# remove old docs everywhere and recreate based on charts repo
rm -rf website/docs/charts/*/${chart} || :
mkdir -p website/docs/charts/${train}/${chart} || echo "chart path already exists, continuing..."
yes | cp -rf charts/${train}/${chart}/docs/* website/docs/charts/${train}/${chart}/ 2>/dev/null || :
yes | cp -rf charts/${train}/${chart}/icon.png website/static/img/hotlink-ok/chart-icons/${chart}.png 2>/dev/null || :
# Copy over kept documents
mv -f tmp/website/docs/charts/${train}/${chart}/CHANGELOG.md website/docs/charts/${train}/${chart}/CHANGELOG.md 2>/dev/null || :
mv -f tmp/website/docs/charts/${train}/${chart}/helm-security.md website/docs/charts/${train}/${chart}/helm-security.md 2>/dev/null || :
+6 -6
View File
@@ -421,42 +421,42 @@ jobs:
res4="${{needs.install-charts4.result}}"
res5="${{needs.install-charts5.result}}"
res6="${{needs.install-charts6.result}}"
if [[ $res1 == "success" || $res1 == "skipped" ]]; then
echo "install tests 1 successfull..."
else
echo "install tests 1 error, stopping due to failure..."
exit 1
fi
if [[ $res2 == "success" || $res2 == "skipped" ]]; then
echo "install tests 2 successfull..."
else
echo "install tests 2 error, stopping due to failure..."
exit 1
fi
if [[ $res3 == "success" || $res3 == "skipped" ]]; then
echo "install tests 3 successfull..."
else
echo "install tests 3 error, stopping due to failure..."
exit 1
fi
if [[ $res4 == "success" || $res4 == "skipped" ]]; then
echo "install tests 4 successfull..."
else
echo "install tests 4 error, stopping due to failure..."
exit 1
fi
if [[ $res5 == "success" || $res5 == "skipped" ]]; then
echo "install tests 5 successfull..."
else
echo "install tests 5 error, stopping due to failure..."
exit 1
fi
if [[ $res6 == "success" || $res6 == "skipped" ]]; then
echo "install tests 6 successfull..."
else
+7 -7
View File
@@ -15,10 +15,10 @@ jobs:
with:
token: ${{ secrets.BOT_TOKEN }}
fetch-depth: 0
- name: Setting repo parent dir as safe safe.directory
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: generate readme.md
shell: bash
run: |
@@ -44,7 +44,7 @@ jobs:
fi
done
done
- name: Bump and Sync
shell: bash
run: |
@@ -91,7 +91,7 @@ jobs:
echo "Sources of ${chartname} updated!"
}
export -f sync_tag
for train in enterprise stable incubator dependency; do
echo "Correcting Chart.yaml for Train: ${train}..."
for chart in $(ls "charts/${train}"); do
@@ -99,7 +99,7 @@ jobs:
sync_tag "charts/${train}/${chart}" "${chart}" "${train}"
done
done
- name: Cleanup
run: |
rm -rf changes.json
@@ -113,7 +113,7 @@ jobs:
git add --all
git commit -sm "Commit daily changes" || exit 0
git push
generate-security-reports:
runs-on: ubuntu-latest
name: "Generate Security Reports"
@@ -151,7 +151,7 @@ jobs:
repository: truecharts/website
token: ${{ secrets.BOT_TOKEN }}
path: website
- name: fetch dependencies
shell: bash
run: |
+1 -1
View File
@@ -78,7 +78,7 @@ jobs:
- charts-test
- charts-lint
- print_head_msg
if: needs.print_head_msg.outputs.head-commit-message == 'Commit bumped Chart Version'
if: needs.print_head_msg.outputs.head-commit-message == 'Commit bumped Chart Version'
name: Automerge build
runs-on: ubuntu-latest
steps: