Compare commits

..

7 Commits

Author SHA1 Message Date
Kjeld Schouten
73714a029e Update charts/incubator/webdav/values.yaml
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
2023-05-24 19:51:49 +02:00
Kjeld Schouten
42a69014f0 Update charts/incubator/webdav/values.yaml
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
2023-05-24 19:51:49 +02:00
Kjeld Schouten
4b8e8108b0 Update _helper.tpl
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
2023-05-24 19:51:49 +02:00
Kjeld Schouten
30bfeecc4c Update values.yaml
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
2023-05-24 19:51:49 +02:00
Kjeld Schouten
33ce8cbdd2 Update _webdav.tpl
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
2023-05-24 19:51:49 +02:00
Kjeld Schouten
0d5fcdaaa0 Update charts/incubator/webdav/values.yaml
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
2023-05-24 19:51:49 +02:00
Kjeld Schouten-Lebbing
6f07719d24 add(webdav): add webdav chart 2023-05-24 19:51:49 +02:00
1444 changed files with 13071 additions and 5060 deletions

View File

@@ -1790,19 +1790,9 @@
"contributions": [
"code"
]
},
{
"login": "Emalton",
"name": "John P",
"avatar_url": "https://avatars.githubusercontent.com/u/9328458?v=4",
"profile": "https://github.com/Emalton",
"contributions": [
"doc"
]
}
],
"contributorsPerLine": 7,
"skipCi": true,
"commitConvention": "angular",
"commitType": "docs"
"commitConvention": "angular"
}

3
.github/README.md vendored
View File

@@ -124,7 +124,7 @@ A lot of our work is based on the great effort of others. We would love to exten
## Contributors ✨
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-192-orange.svg?style=for-the-badge)](#contributors)
[![All Contributors](https://img.shields.io/badge/all_contributors-191-orange.svg?style=for-the-badge)](#contributors)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
@@ -382,7 +382,6 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://fnichol.com"><img src="https://avatars.githubusercontent.com/u/261548?v=4?s=100" width="100px;" alt="Fletcher Nichol"/><br /><sub><b>Fletcher Nichol</b></sub></a><br /><a href="https://github.com/truecharts/charts/commits?author=fnichol" title="Code">💻</a> <a href="https://github.com/truecharts/charts/issues?q=author%3Afnichol" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://marcofaggian.com"><img src="https://avatars.githubusercontent.com/u/19221001?v=4?s=100" width="100px;" alt="Marco Faggian"/><br /><sub><b>Marco Faggian</b></sub></a><br /><a href="https://github.com/truecharts/charts/commits?author=marcofaggian" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Emalton"><img src="https://avatars.githubusercontent.com/u/9328458?v=4?s=100" width="100px;" alt="John P"/><br /><sub><b>John P</b></sub></a><br /><a href="https://github.com/truecharts/charts/commits?author=Emalton" title="Documentation">📖</a></td>
</tr>
</tbody>
</table>

View File

@@ -42,15 +42,13 @@ runs:
for CHARTPATH in "${PATHS[@]}"
do
IFS='/' read -r -a path_parts <<< "${CHARTPATH}"
CHARTS+=("${path_parts[0]}/${path_parts[1]}/${path_parts[2]}")
CHARTS+=("${path_parts[1]}/${path_parts[2]}")
done
# Remove duplicates
CHARTS=( `printf "%s\n" "${CHARTS[@]}" | sort -u` )
# Set output to changed charts
echo "Changed charts: ${CHARTS[*]}"
printf "::set-output name=addedOrModified::%s\n" "${CHARTS[*]}"
- name: Collect bumped charts after last tag
id: filter-bumped-charts
@@ -108,9 +106,11 @@ runs:
# Remove duplicates
CHARTS=( `printf "%s\n" "${CHARTS[@]}" | sort -u` )
# Set output to changed charts
printf "::set-output name=addedOrModified::%s\n" "${CHARTS[*]}"
echo "Number of detected changed charts: ${#CHARTS[@]}"
if [ ${#CHARTS[@]} -eq 0 ] || [ "${CHARTS[0]}" == ' ' ] || [ "${CHARTS[0]}" == '/' ]; then
if [ ${#CHARTS[@]} -eq 0 ] || [ "${CHARTS[0]}" = " " ] || [ "${CHARTS[0]}" = "/" ]; then
echo "No Changed Charts detected since latest tag..."
printf "::set-output name=changesDetectedAfterTag::%s\n" "false"
else
@@ -120,7 +120,7 @@ runs:
# Get only the chart paths
# Set output to changed charts
echo "Changed charts since latest tag: ${CHARTS[*]}"
echo "Changed charts: ${CHARTS[*]}"
printf "::set-output name=modifiedChartsAfterTag::%s\n" "${CHARTS[*]}"
fi
popd > /dev/null

View File

@@ -0,0 +1,48 @@
name: "Set issue labels based on status"
description: "Sets / removes issue labels based on CI job status"
inputs:
token:
required: true
description: "The Github API token to use"
issue-number:
required: true
description: "The issue to label"
prefix:
required: true
description: "The label prefix (e.g. lint, install)"
job-status:
required: true
description: "The status of the CI job"
remove-on-skipped:
required: false
default: false
description: "Remove the label if the job was skipped"
runs:
using: "composite"
steps:
- name: Label success
uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90 # tag=1.0.4
if: ${{ inputs.job-status == 'success' }}
with:
repo-token: ${{ inputs.token }}
issue-number: ${{ inputs.issue-number }}
add-labels: "${{ inputs.prefix }}:ok"
remove-labels: "${{ inputs.prefix }}:failed"
- name: Label failure
uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90 # tag=1.0.4
if: ${{ inputs.job-status == 'failure' }}
with:
repo-token: ${{ inputs.token }}
issue-number: ${{ inputs.issue-number }}
add-labels: "${{ inputs.prefix }}:failed"
remove-labels: "${{ inputs.prefix }}:ok"
- name: Remove label
uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90 # tag=1.0.4
if: ${{ (inputs.job-status == 'skipped') && (inputs.remove-on-skipped == 'true') }}
with:
repo-token: ${{ inputs.token }}
issue-number: ${{ inputs.issue-number }}
remove-labels: "${{ inputs.prefix }}:ok, ${{ inputs.prefix }}:failed"

View File

@@ -8,7 +8,6 @@ chart-dirs:
- charts/dependency
- charts/dev
- charts/enterprise
- charts/operators
excluded-charts:
- charts/dependency/subchart
- charts/incubator/frigate

View File

@@ -8,7 +8,6 @@ chart-dirs:
- charts/dependency
- charts/dev
- charts/enterprise
- charts/operators
excluded-charts: []
chart-repos:
- truecharts=https://charts.truecharts.org

View File

@@ -101,34 +101,20 @@ for idx in $(eval echo "{0..$length}"); do
if [ ! $? ]; then
echo "❌ wget encountered an error..."
if [[ "$train_chart" =~ incubator\/.* ]]; then
helm dependency build "$charts_path/$train_chart/Chart.yaml" || \
helm dependency update "$charts_path/$train_chart/Chart.yaml"|| exit 1
else
helm dependency build "$charts_path/$train_chart/Chart.yaml" --verify --keyring $gpg_dir/pubring.gpg || \
helm dependency update "$charts_path/$train_chart/Chart.yaml" --verify --keyring $gpg_dir/pubring.gpg || exit 1
fi
helm dependency build "$charts_path/$train_chart/Chart.yaml" --verify --keyring $gpg_dir/pubring.gpg || \
helm dependency update "$charts_path/$train_chart/Chart.yaml" --verify --keyring $gpg_dir/pubring.gpg || exit 1
fi
if [ -f "$cache_path/$repo_dir/$name-$version.tgz" ]; then
echo "✅ Dependency Downloaded!"
if [[ ! "$train_chart" =~ incubator\/.* ]]; then
echo "Validating dependency signature..."
helm verify $cache_path/$repo_dir/$name-$version.tgz --keyring $gpg_dir/pubring.gpg || \
helm verify $cache_path/$repo_dir/$name-$version.tgz --keyring $gpg_dir/pubring.gpg || exit 1
else
echo "Skipping dependency signature verification for $train_chart..."
fi
echo "Validating dependency signature..."
helm verify $cache_path/$repo_dir/$name-$version.tgz --keyring $gpg_dir/pubring.gpg || \
helm verify $cache_path/$repo_dir/$name-$version.tgz --keyring $gpg_dir/pubring.gpg || exit 1
else
echo "❌ Failed to download dependency"
# Try helm dependency build/update or otherwise fail fast if a dep fails to download...
if [[ "$train_chart" =~ incubator\/.* ]]; then
helm dependency build "$charts_path/$train_chart/Chart.yaml" || \
helm dependency update "$charts_path/$train_chart/Chart.yaml"|| exit 1
else
helm dependency build "$charts_path/$train_chart/Chart.yaml" --verify --keyring $gpg_dir/pubring.gpg || \
helm dependency update "$charts_path/$train_chart/Chart.yaml" --verify --keyring $gpg_dir/pubring.gpg || exit 1
fi
helm dependency build "$charts_path/$train_chart/Chart.yaml" --verify --keyring $gpg_dir/pubring.gpg || \
helm dependency update "$charts_path/$train_chart/Chart.yaml" --verify --keyring $gpg_dir/pubring.gpg || exit 1
fi
fi
echo ""

View File

@@ -12,16 +12,14 @@ function check_version() {
curr_result=1
fi
if [[ -n "$new" ]]; then
echo -e "\t🔙 Old Chart Version: $old"
echo -e "\t🆕 New Chart Version: $new"
echo -e "\t🔙 Old Chart Version: $old"
echo -e "\t🆕 New Chart Version: $new"
if [[ $(echo "$new\n$old" | sort -V -r | head -n1) != "$old" ]]; then
echo -e "\t✅ Chart version: Bumped"
else
echo -e "\t❌ Chart version: Not bumped or downgraded"
curr_result=1
fi
if [[ $(echo "$new\n$old" | sort -V -r | head -n1) != "$old" ]]; then
echo -e "\t✅ Chart version: Bumped"
else
echo -e "\t❌ Chart version: Not bumped or downgraded"
curr_result=1
fi
}
export -f check_version
@@ -142,33 +140,6 @@ exit_code=0
result_file=${result_file:?"No result file provided"}
rm -f "$status_file"
rm -f "$status_file"
command -v yamale >/dev/null 2>&1 || {
printf >&2 "%s\n" "yamale (https://github.com/23andMe/Yamale#pip) is not installed. Aborting."
printf >&2 "%s\n" "Install it with 'pip install yamale'"
exit 1
}
command -v yamllint >/dev/null 2>&1 || {
printf >&2 "%s\n" "yamllint (https://yamllint.readthedocs.io/en/stable/quickstart.html#installing-yamllint) is not installed. Aborting."
printf >&2 "%s\n" "Install it with 'pip install yamllint'"
exit 1
}
command -v helm >/dev/null 2>&1 || {
printf >&2 "%s\n" "helm (https://helm.sh/docs/intro/install) is not installed. Aborting."
printf >&2 "%s\n" "Install it with 'curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash'"
exit 1
}
command -v parallel >/dev/null 2>&1 || {
printf >&2 "%s\n" "parallel (https://www.gnu.org/software/parallel) is not installed. Aborting."
printf >&2 "%s\n" "Install it with 'sudo apt install parallel'"
exit 1
}
changed=$(echo $charts | jq --raw-output '.[]')
echo "📂 Charts to lint:"
@@ -204,8 +175,6 @@ echo '' | tee -a "$result_file"
if [ $exit_code -ne 0 ]; then
echo "❌ Linting: **Failed** - Took $diff_time seconds" | tee -a "$result_file"
echo "🖱️ Open [Lint Charts and Verify Dependencies] job" | tee -a "$result_file"
echo "👀 Expand [Run Chart Linting] step to view the results" | tee -a "$result_file"
else
echo "✅ Linting: **Passed** - Took $diff_time seconds" | tee -a "$result_file"
fi

View File

@@ -26,13 +26,19 @@ jobs:
- name: Setting repo parent dir as safe safe.directory
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
## TODO: Only run on the existing catalog when CI or template changes are actually detected
# - name: Checkout
# uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
# with:
# repository: truecharts/catalog
# path: catalog
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
with:
repository: truecharts/catalog
path: catalog
- name: build-and-run
run: |
tools/build-release.sh
- uses: vishnudxb/cancel-workflow@c3c77eb4383ba7d023e6614a07d94fe990501ac6 # tag=v1.2
if: failure()
with:
repo: truecharts/charts
workflow_id: ${{ github.run_id }}
access_token: ${{ github.token }}

89
.github/workflows/charts-changelog.yaml vendored Normal file
View File

@@ -0,0 +1,89 @@
name: "Charts: Update README"
on:
workflow_dispatch:
inputs:
modifiedCharts:
required: true
type: string
isRenovatePR:
required: true
type: string
outputs:
commitHash:
description: "The most recent commit hash at the end of this workflow"
value: ${{ jobs.generate-changelog.outputs.commitHash }}
jobs:
validate-changelog:
name: Validate changelog
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
with:
fetch-depth: 0
- name: Check changelog annotations
if: inputs.isRenovatePR != 'true'
run: |
CHARTS=(${{ inputs.modifiedCharts }})
for i in "${CHARTS[@]}"
do
IFS='/' read -r -a chart_parts <<< "$i"
./.github/scripts/check-releasenotes.sh "charts/${chart_parts[0]}/${chart_parts[1]}"
echo ""
done
generate-changelog:
name: Generate changelog annotations
runs-on: ubuntu-latest
needs:
- validate-changelog
outputs:
commitHash: ${{ steps.save-commit-hash.outputs.commit_hash }}
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
with:
fetch-depth: 0
- name: Install Kubernetes tools
if: inputs.isRenovatePR == 'true'
uses: yokawasa/action-setup-kube-tools@af4ebb1af1efd30c5bd84a2e9773355ad6362a33 # v0.9.3
with:
setup-tools: |
yq
yq: "4.20.1"
- name: Annotate Charts.yaml for Renovate PR's
if: inputs.isRenovatePR == 'true'
env:
DEFAULT_BRANCH: "${{ github.event.repository.default_branch }}"
run: |
CHARTS=(${{ inputs.modifiedCharts }})
for i in "${CHARTS[@]}"
do
IFS='/' read -r -a chart_parts <<< "$i"
./.github/scripts/renovate-releasenotes.sh "charts/${chart_parts[0]}/${chart_parts[1]}"
echo ""
done
- name: Create commit
id: create-commit
if: inputs.isRenovatePR == 'true'
uses: stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a # v4
with:
file_pattern: charts/**/
commit_message: "chore: Auto-update chart metadata [skip ci]"
commit_user_name: ${{ github.actor }}
commit_user_email: ${{ github.actor }}@users.noreply.github.com
- name: Save commit hash
id: save-commit-hash
run: |
if [ "${{ steps.create-commit.outputs.changes_detected || 'unknown' }}" == "true" ]; then
echo '::set-output name=commit_hash::${{ steps.create-commit.outputs.commit_hash }}'
else
echo "::set-output name=commit_hash::${GITHUB_SHA}"
fi

View File

@@ -9,44 +9,23 @@ on:
chartChangesDetected:
required: true
type: string
modifiedFiles:
required: true
type: string
modifiedCharts:
required: true
type: string
jobs:
lint-and-verify:
name: Lint Charts and Verify Dependencies
runs-on: ubuntu-latest
container:
image: tccr.io/truecharts/devcontainer:v3.1.38@sha256:2fd9355bc6791461430db87a04f5fe7b49c46bc5957bc348f1efbff4c6c7913d
steps:
- name: Checkout [master]
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
with:
fetch-depth: 1
ref: master
- name: Checkout [commit]
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
with:
fetch-depth: 1
fetch-depth: 0
ref: ${{ inputs.checkoutCommit }}
- name: Setting repo parent dir as safe safe.directory
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Install go-yq
run: |
mkdir -p $HOME/.local/bin
wget https://github.com/mikefarah/yq/releases/download/v4.26.1/yq_linux_amd64 -O $HOME/.local/bin/go-yq && \
chmod +x $HOME/.local/bin/go-yq
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install pre-commit, yamale and yamllint
run: |
pip3 install --no-cache-dir pre-commit yamale yamllint
- name: Prep Helm
run: |
helm repo add truecharts https://charts.truecharts.org
@@ -60,9 +39,7 @@ jobs:
if: inputs.chartChangesDetected == 'true'
shell: bash
run: |
CHARTS="${{ inputs.modifiedCharts }}"
echo "Modified Charts: ${CHARTS}"
CHARTS=$(ct list-changed --config .github/ct-lint.yaml)
EXCLUDED_JSON=$(go-yq eval -o=json '.excluded-charts // []' .github/ct-lint.yaml)
CHARTS_JSON=$(echo "${CHARTS}" | jq --raw-input '.' | jq --compact-output --slurp '.')
OUTPUT_JSON=$(echo "{\"excluded\": ${EXCLUDED_JSON}, \"all\": ${CHARTS_JSON}}" | jq --compact-output '.all-.excluded')
@@ -72,16 +49,6 @@ jobs:
echo "detected=true" >> "$GITHUB_OUTPUT"
fi
- name: Test and Fix Pre-Commit Issues
shell: bash
# TODO: Only run pre-commit on changed files
if: inputs.chartChangesDetected == 'true'
run: |
echo "Running pre-commit test-and-cleanup..."
# Fix sh files to always be executable
find . -name '*.sh' | xargs chmod +x
pre-commit run --all || pre-commit run --all
- name: Fetch and Verify dependencies
shell: bash
if: steps.list-changed.outputs.detected == 'true'
@@ -106,23 +73,18 @@ jobs:
- name: Create/Update comment
if: steps.list-changed.outputs.detected == 'true'
continue-on-error: true
uses: thollander/actions-comment-pull-request@632cf9ce90574d125be56b5f3405cda41a84e2fd # v2
with:
filePath: /tmp/lint_result.txt
comment_tag: lint_results
mode: recreate
GITHUB_TOKEN: ${{ github.token }}
- name: Lint Result
if: steps.list-changed.outputs.detected == 'true'
shell: bash
run: |
if [ "${{ steps.lint.outcome }}" != "success" ]; then
echo "Linting failed"
echo '###############################################################'
echo '## 👀 Expand [Run Chart Linting] step to view the results 👀 ##'
echo '###############################################################'
echo "Linting failed"
exit 1
fi

View File

@@ -9,11 +9,42 @@ on:
chartChangesDetected:
required: true
type: string
modifiedCharts:
required: true
type: string
jobs:
unit-test:
name: Run unit tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
with:
fetch-depth: 0
ref: ${{ inputs.checkoutCommit }}
- name: Install Kubernetes tools
uses: yokawasa/action-setup-kube-tools@af4ebb1af1efd30c5bd84a2e9773355ad6362a33 # v0.9.3
with:
setup-tools: |
helmv3
helm: "3.8.0"
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- name: Install dependencies
env:
RUBYJQ_USE_SYSTEM_LIBRARIES: 1
run: |
sudo apt-get update
sudo apt-get install libjq-dev
bundle install
- name: Run tests
run: |
bundle exec m -r ./test/
generate-install-matrix:
name: Generate matrix for install
runs-on: ubuntu-latest
@@ -52,55 +83,49 @@ jobs:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
with:
fetch-depth: 1
fetch-depth: 0
ref: ${{ inputs.checkoutCommit }}
- name: Install go-yq
run: |
mkdir -p $HOME/.local/bin
wget https://github.com/mikefarah/yq/releases/download/v4.26.1/yq_linux_amd64 -O $HOME/.local/bin/go-yq && \
chmod +x $HOME/.local/bin/go-yq
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Set up chart-testing
uses: helm/chart-testing-action@e8788873172cb653a90ca2e819d79d65a66d4e76 # v2.4.0
- name: Run chart-testing (list-changed)
id: list-changed
if: inputs.chartChangesDetected == 'true'
shell: bash
run: |
CHARTS="${{ inputs.modifiedCharts }}"
echo "Modified Charts: ${CHARTS}"
EXCLUDED_JSON=$(go-yq eval -o=json '.excluded-charts // []' .github/ct-install.yaml)
CHARTS_JSON=$(echo ${CHARTS} | jq --raw-input '.' | jq --compact-output --slurp '.' | jq 'map(. |= split(" "))[]' )
OUTPUT_JSON=$(echo "{\"excluded\": ${EXCLUDED_JSON}, \"all\": ${CHARTS_JSON}}" | jq --compact-output '.all-.excluded')
EXCLUDED=$(yq eval -o=json '.excluded-charts // []' .github/ct-install.yaml)
CHARTS=$(ct list-changed --config .github/ct-install.yaml)
CHARTS_JSON=$(echo "${CHARTS}" | jq -R -s -c 'split("\n")[:-1]')
OUTPUT_JSON=$(echo "{\"excluded\": ${EXCLUDED}, \"all\": ${CHARTS_JSON}}" | jq -c '.all-.excluded')
OUTPUT_JSON1=$((echo $OUTPUT_JSON | jq -r -c '.[:50]'; echo $OUTPUT_JSON | jq -r -c '.[301:350]'; echo $OUTPUT_JSON | jq -r -c '.[601:650]'; echo $OUTPUT_JSON | jq -r -c '.[901:950]'; echo $OUTPUT_JSON | jq -r -c '.[1201:1250]') | jq -s add)
OUTPUT_JSON2=$((echo $OUTPUT_JSON | jq -r -c '.[51:100]'; echo $OUTPUT_JSON | jq -r -c '.[351:400]'; echo $OUTPUT_JSON | jq -r -c '.[651:700]'; echo $OUTPUT_JSON | jq -r -c '.[951:1000]'; echo $OUTPUT_JSON | jq -r -c '.[1251:1300]') | jq -s add)
OUTPUT_JSON3=$((echo $OUTPUT_JSON | jq -r -c '.[101:150]'; echo $OUTPUT_JSON | jq -r -c '.[401:450]'; echo $OUTPUT_JSON | jq -r -c '.[701:750]'; echo $OUTPUT_JSON | jq -r -c '.[1001:1050]'; echo $OUTPUT_JSON | jq -r -c '.[1301:1350]') | jq -s add)
OUTPUT_JSON4=$((echo $OUTPUT_JSON | jq -r -c '.[151:200]'; echo $OUTPUT_JSON | jq -r -c '.[451:500]'; echo $OUTPUT_JSON | jq -r -c '.[751:800]'; echo $OUTPUT_JSON | jq -r -c '.[1051:1100]'; echo $OUTPUT_JSON | jq -r -c '.[1351:1400]') | jq -s add)
OUTPUT_JSON5=$((echo $OUTPUT_JSON | jq -r -c '.[201:250]'; echo $OUTPUT_JSON | jq -r -c '.[501:550]'; echo $OUTPUT_JSON | jq -r -c '.[801:850]'; echo $OUTPUT_JSON | jq -r -c '.[1101:1150]'; echo $OUTPUT_JSON | jq -r -c '.[1401:1450]') | jq -s add)
OUTPUT_JSON6=$((echo $OUTPUT_JSON | jq -r -c '.[251:300]'; echo $OUTPUT_JSON | jq -r -c '.[551:600]'; echo $OUTPUT_JSON | jq -r -c '.[851:900]'; echo $OUTPUT_JSON | jq -r -c '.[1151:1200]'; echo $OUTPUT_JSON | jq -r -c '.[1451:1500]') | jq -s add)
echo charts1=${OUTPUT_JSON1} >> $GITHUB_OUTPUT
echo charts2=${OUTPUT_JSON2} >> $GITHUB_OUTPUT
echo charts3=${OUTPUT_JSON3} >> $GITHUB_OUTPUT
echo charts4=${OUTPUT_JSON4} >> $GITHUB_OUTPUT
echo charts5=${OUTPUT_JSON5} >> $GITHUB_OUTPUT
echo charts6=${OUTPUT_JSON6} >> $GITHUB_OUTPUT
echo ::set-output name=charts1::${OUTPUT_JSON1}
echo ::set-output name=charts2::${OUTPUT_JSON2}
echo ::set-output name=charts3::${OUTPUT_JSON3}
echo ::set-output name=charts4::${OUTPUT_JSON4}
echo ::set-output name=charts5::${OUTPUT_JSON5}
echo ::set-output name=charts6::${OUTPUT_JSON6}
if [[ $(echo ${OUTPUT_JSON1} | jq -c '. | length') -gt 0 ]]; then
echo "detected1=true" >> $GITHUB_OUTPUT
echo "::set-output name=detected1::true"
fi
if [[ $(echo ${OUTPUT_JSON2} | jq -c '. | length') -gt 0 ]]; then
echo "detected2=true" >> $GITHUB_OUTPUT
echo "::set-output name=detected2::true"
fi
if [[ $(echo ${OUTPUT_JSON3} | jq -c '. | length') -gt 0 ]]; then
echo "detected3=true" >> $GITHUB_OUTPUT
echo "::set-output name=detected3::true"
fi
if [[ $(echo ${OUTPUT_JSON4} | jq -c '. | length') -gt 0 ]]; then
echo "detected4=true" >> $GITHUB_OUTPUT
echo "::set-output name=detected4::true"
fi
if [[ $(echo ${OUTPUT_JSON5} | jq -c '. | length') -gt 0 ]]; then
echo "detected5=true" >> $GITHUB_OUTPUT
echo "::set-output name=detected5::true"
fi
if [[ $(echo ${OUTPUT_JSON6} | jq -c '. | length') -gt 0 ]]; then
echo "detected6=true" >> $GITHUB_OUTPUT
echo "::set-output name=detected6::true"
fi
install-charts1:
@@ -117,7 +142,7 @@ jobs:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
with:
fetch-depth: 1
fetch-depth: 0
ref: ${{ inputs.checkoutCommit }}
- name: Install Kubernetes tools
@@ -125,11 +150,11 @@ jobs:
with:
setup-tools: |
helmv3
helm: "3.9.4"
helm: "3.8.0"
- uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4
with:
python-version: "3.11"
python-version: "3.10"
- name: Set up chart-testing
uses: helm/chart-testing-action@e8788873172cb653a90ca2e819d79d65a66d4e76 # v2.4.0
@@ -162,7 +187,7 @@ jobs:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
with:
fetch-depth: 1
fetch-depth: 0
ref: ${{ inputs.checkoutCommit }}
- name: Install Kubernetes tools
@@ -170,11 +195,11 @@ jobs:
with:
setup-tools: |
helmv3
helm: "3.9.4"
helm: "3.8.0"
- uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4
with:
python-version: "3.11"
python-version: "3.10"
- name: Set up chart-testing
uses: helm/chart-testing-action@e8788873172cb653a90ca2e819d79d65a66d4e76 # v2.4.0
@@ -208,7 +233,7 @@ jobs:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
with:
fetch-depth: 1
fetch-depth: 0
ref: ${{ inputs.checkoutCommit }}
- name: Install Kubernetes tools
@@ -216,11 +241,11 @@ jobs:
with:
setup-tools: |
helmv3
helm: "3.9.4"
helm: "3.8.0"
- uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4
with:
python-version: "3.11"
python-version: "3.10"
- name: Set up chart-testing
uses: helm/chart-testing-action@e8788873172cb653a90ca2e819d79d65a66d4e76 # v2.4.0
@@ -253,7 +278,7 @@ jobs:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
with:
fetch-depth: 1
fetch-depth: 0
ref: ${{ inputs.checkoutCommit }}
- name: Install Kubernetes tools
@@ -261,11 +286,11 @@ jobs:
with:
setup-tools: |
helmv3
helm: "3.9.4"
helm: "3.8.0"
- uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4
with:
python-version: "3.11"
python-version: "3.10"
- name: Set up chart-testing
uses: helm/chart-testing-action@e8788873172cb653a90ca2e819d79d65a66d4e76 # v2.4.0
@@ -298,7 +323,7 @@ jobs:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
with:
fetch-depth: 1
fetch-depth: 0
ref: ${{ inputs.checkoutCommit }}
- name: Install Kubernetes tools
@@ -306,11 +331,11 @@ jobs:
with:
setup-tools: |
helmv3
helm: "3.9.4"
helm: "3.8.0"
- uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4
with:
python-version: "3.11"
python-version: "3.10"
- name: Set up chart-testing
uses: helm/chart-testing-action@e8788873172cb653a90ca2e819d79d65a66d4e76 # v2.4.0
@@ -343,7 +368,7 @@ jobs:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
with:
fetch-depth: 1
fetch-depth: 0
ref: ${{ inputs.checkoutCommit }}
- name: Install Kubernetes tools
@@ -351,11 +376,11 @@ jobs:
with:
setup-tools: |
helmv3
helm: "3.9.4"
helm: "3.8.0"
- uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4
with:
python-version: "3.11"
python-version: "3.10"
- name: Set up chart-testing
uses: helm/chart-testing-action@e8788873172cb653a90ca2e819d79d65a66d4e76 # v2.4.0
@@ -398,43 +423,43 @@ jobs:
res6="${{needs.install-charts6.result}}"
if [[ $res1 == "success" || $res1 == "skipped" ]]; then
echo "Install test suite [1] was successful..."
echo "install tests 1 successfull..."
else
echo "Install test suite [1] failed, stopping..."
echo "install tests 1 error, stopping due to failure..."
exit 1
fi
if [[ $res2 == "success" || $res2 == "skipped" ]]; then
echo "Install test suite [2] was successful..."
echo "install tests 2 successfull..."
else
echo "Install test suite [2] failed, stopping..."
echo "install tests 2 error, stopping due to failure..."
exit 1
fi
if [[ $res3 == "success" || $res3 == "skipped" ]]; then
echo "Install test suite [3] was successful..."
echo "install tests 3 successfull..."
else
echo "Install test suite [3] failed, stopping..."
echo "install tests 3 error, stopping due to failure..."
exit 1
fi
if [[ $res4 == "success" || $res4 == "skipped" ]]; then
echo "Install test suite [4] was successful..."
echo "install tests 4 successfull..."
else
echo "Install test suite [4] failed, stopping..."
echo "install tests 4 error, stopping due to failure..."
exit 1
fi
if [[ $res5 == "success" || $res5 == "skipped" ]]; then
echo "Install test suite [5] was successful..."
echo "install tests 5 successfull..."
else
echo "Install test suite [5] failed, stopping..."
echo "install tests 5 error, stopping due to failure..."
exit 1
fi
if [[ $res6 == "success" || $res6 == "skipped" ]]; then
echo "Install test suite [6] was successful..."
echo "install tests 6 successfull..."
else
echo "Install test suite [6] failed, stopping..."
echo "install tests 6 error, stopping due to failure..."
exit 1
fi

View File

@@ -204,15 +204,6 @@ jobs:
done
done
- name: Fix Fixable Pre-Commit issues
shell: bash
if: inputs.chartChangesDetected == 'true'
run: |
echo "Running pre-commit test-and-cleanup..."
pre-commit run --all ||:
# Fix sh files to always be executable
find . -name '*.sh' | xargs chmod +x
- name: Cleanup
run: |
rm -rf changes.json

60
.github/workflows/pr-metadata.yaml vendored Normal file
View File

@@ -0,0 +1,60 @@
name: "Pull Request: Get metadata"
on:
workflow_call:
outputs:
isRenovatePR:
description: "Is the PR coming from Renovate?"
value: ${{ jobs.pr-metadata.outputs.isRenovatePR }}
isFork:
description: "Is the PR coming from a forked repo?"
value: ${{ jobs.pr-metadata.outputs.isFork }}
addedOrModified:
description: "Does the PR contain any changes?"
value: ${{ jobs.pr-changes.outputs.addedOrModified }}
addedOrModifiedFiles:
description: "A list of the files changed in this PR"
value: ${{ jobs.pr-changes.outputs.addedOrModifiedFiles }}
addedOrModifiedCharts:
description: "A list of the charts changed in this PR"
value: ${{ jobs.pr-changes.outputs.addedOrModifiedCharts }}
jobs:
pr-metadata:
name: Collect PR metadata
runs-on: ubuntu-latest
outputs:
isRenovatePR: ${{ startsWith(steps.branch-name.outputs.current_branch, 'renovate/') }}
isFork: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
steps:
- name: Get branch name
id: branch-name
uses: tj-actions/branch-names@2e5354c6733793113f416314375826df030ada23 # v6.5
- name: Save PR data to file
env:
PR_NUMBER: ${{ github.event.number }}
run: |
echo $PR_NUMBER > pr_number.txt
- name: Store pr data in artifact
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
with:
name: pr_metadata
path: ./pr_number.txt
retention-days: 5
pr-changes:
name: Collect PR changes
runs-on: ubuntu-latest
outputs:
addedOrModified: ${{ steps.collect-changes.outputs.changesDetected }}
addedOrModifiedFiles: ${{ steps.collect-changes.outputs.addedOrModifiedFiles }}
addedOrModifiedCharts: ${{ steps.collect-changes.outputs.addedOrModifiedCharts }}
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
- name: Collect changes
id: collect-changes
uses: ./.github/actions/collect-changes

View File

@@ -8,47 +8,52 @@ concurrency:
# cancel-in-progress: true
jobs:
pr-changes:
name: Collect PR changes
runs-on: ubuntu-latest
outputs:
addedOrModified: ${{ steps.collect-changes.outputs.changesDetected }}
addedOrModifiedFiles: ${{ steps.collect-changes.outputs.addedOrModifiedFiles }}
addedOrModifiedCharts: ${{ steps.collect-changes.outputs.addedOrModifiedCharts }}
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
pr-metadata:
uses: ./.github/workflows/pr-metadata.yaml
- name: Collect changes
id: collect-changes
uses: ./.github/actions/collect-changes
pre-commit-check:
uses: truecharts/.github/.github/workflows/pre-commit-check.yaml@main
needs:
- pr-metadata
with:
modifiedFiles: ${{ needs.pr-metadata.outputs.addedOrModifiedFiles }}
#charts-changelog:
# uses: ./.github/workflows/charts-changelog.yaml
# needs:
# - pr-metadata
# - pre-commit-check
# with:
# isRenovatePR: ${{ needs.pr-metadata.outputs.isRenovatePR }}
# modifiedCharts: ${{ needs.pr-metadata.outputs.addedOrModifiedCharts }}
charts-lint:
uses: ./.github/workflows/charts-lint.yaml
needs:
- pr-changes
- pr-metadata
# - charts-changelog
with:
checkoutCommit: ${{ needs.charts-changelog.outputs.commitHash }}
chartChangesDetected: ${{ needs.pr-changes.outputs.addedOrModified }}
modifiedFiles: ${{ needs.pr-changes.outputs.addedOrModifiedFiles }}
modifiedCharts: ${{ needs.pr-changes.outputs.addedOrModifiedCharts }}
chartChangesDetected: ${{ needs.pr-metadata.outputs.addedOrModified }}
charts-test:
uses: ./.github/workflows/charts-test.yaml
needs:
- pr-changes
- pr-metadata
# - charts-changelog
- charts-lint
with:
checkoutCommit: ${{ needs.charts-changelog.outputs.commitHash }}
chartChangesDetected: ${{ needs.pr-changes.outputs.addedOrModified }}
modifiedCharts: ${{ needs.pr-changes.outputs.addedOrModifiedCharts }}
chartChangesDetected: ${{ needs.pr-metadata.outputs.addedOrModified }}
catalog-test:
uses: ./.github/workflows/catalog-test.yaml
needs:
- pr-changes
- pr-metadata
# - charts-changelog
with:
checkoutCommit: ${{ needs.charts-changelog.outputs.commitHash }}
chartChangesDetected: ${{ needs.pr-changes.outputs.addedOrModified }}
chartChangesDetected: ${{ needs.pr-metadata.outputs.addedOrModified }}
print_head_msg:
name: print commit message
@@ -68,7 +73,7 @@ jobs:
automerge-and-approve:
needs:
- pr-changes
- pr-metadata
- catalog-test
- charts-test
- charts-lint

View File

@@ -117,8 +117,6 @@ jobs:
train="games"
elif test -f "./charts/enterprise/${chart}/Chart.yaml"; then
train="enterprise"
elif test -f "./charts/operators/${chart}/Chart.yaml"; then
train="operators"
else
train="incubator"
fi

View File

@@ -12,7 +12,7 @@ jobs:
with:
token: ${{ secrets.BOT_TOKEN }}
- name: Self-hosted Renovate
uses: renovatebot/github-action@f9a5a67d4271f326b1e80695ea86dd9398b61d58 # v38.1.0
uses: renovatebot/github-action@4cc203c40dc0eb6b356306893cabda6ff9d42f33 # v37.0.0
with:
configurationFile: .github/renovate-config.js
token: ${{ secrets.BOT_TOKEN }}

View File

@@ -3,7 +3,7 @@ appVersion: "23.4.2.11"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.10.8
version: 12.10.0
deprecated: false
description: ClickHouse is a column-oriented database management system (DBMS) for online analytical processing of queries (OLAP).
home: https://truecharts.org/charts/dependency/clickhouse
@@ -22,7 +22,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/dependency/clickhouse
- https://clickhouse.com/
type: application
version: 5.0.31
version: 5.0.28
annotations:
truecharts.org/catagories: |
- database

View File

@@ -3,7 +3,7 @@ appVersion: "2.8.2"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.10.8
version: 12.10.0
deprecated: false
description: kube-state-metrics is a simple service that listens to the Kubernetes API server and generates metrics about the state of the objects.
home: https://truecharts.org/charts/dependency/kube-state-metrics
@@ -21,7 +21,7 @@ name: kube-state-metrics
sources:
- https://github.com/truecharts/charts/tree/master/charts/dependency/kube-state-metrics
type: application
version: 1.0.9
version: 1.0.5
annotations:
truecharts.org/catagories: |
- metrics

View File

@@ -5,7 +5,7 @@
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](https://truecharts.org/charts/dependency/)
For more information about this App, please check the docs on the TrueCharts [website](https://truecharts.org/charts/enterprise/)
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)**

View File

@@ -72,7 +72,6 @@ questions:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressAdvanced}
# Include{ingressList}
# Include{securityContextRoot}

View File

@@ -1,7 +1,7 @@
image:
repository: tccr.io/truecharts/kube-state-metrics
pullPolicy: IfNotPresent
tag: v2.8.2@sha256:35a4457d904190e4870a88d7955b26b6b2604a60ad82c108f9f672a3a6b09ab1
tag: v2.8.2@sha256:e7b9fbc67f29bb72043238ebaa397d5161f9e3d5cdb16ac888e2ffe152015700
service:
main:

View File

@@ -3,7 +3,7 @@ appVersion: "10.11.3"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.10.8
version: 12.10.0
deprecated: false
description: Fast, reliable, scalable, and easy to use open-source relational database system.
home: https://truecharts.org/charts/dependency/mariadb
@@ -25,7 +25,7 @@ sources:
- https://github.com/prometheus/mysqld_exporter
- https://mariadb.org
type: application
version: 7.0.37
version: 7.0.32
annotations:
truecharts.org/catagories: |
- database

View File

@@ -1,7 +1,7 @@
image:
repository: tccr.io/truecharts/mariadb
pullPolicy: IfNotPresent
tag: v10.11.3@sha256:f85495d9cbd31c2e4eeadab4606e0b34c0757c2d54095a89cb7a699e32420a7e
tag: v10.11.3@sha256:6644ba3144bf9956439b2c40ec6b645c16c9b83fdf1943a9b60a750f98ac7e3c
workload:
main:

View File

@@ -3,7 +3,7 @@ appVersion: "1.6.20"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.10.8
version: 12.10.0
deprecated: false
description: Memcached is a memory-backed database caching solution
home: https://truecharts.org/charts/dependency/memcached
@@ -23,7 +23,7 @@ sources:
- https://github.com/bitnami/bitnami-docker-memcached
- http://memcached.org/
type: application
version: 6.0.47
version: 6.0.42
annotations:
truecharts.org/catagories: |
- database

View File

@@ -1,7 +1,7 @@
image:
repository: tccr.io/truecharts/memcached
pullPolicy: IfNotPresent
tag: v1.6.20@sha256:e2d819be5889cdfd513be2e25084fc38810c6e0d053d935fb4c64bf6e0047601
tag: v1.6.20@sha256:6e11823db1555e766c5eda1b7725f4cc5cc5513da404644541d38a8432820117
service:
main:

View File

@@ -3,7 +3,7 @@ appVersion: "6.0.6"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.10.8
version: 12.10.0
deprecated: false
description: Fast, reliable, scalable, and easy to use open-source no-sql database system.
home: https://truecharts.org/charts/dependency/mongodb
@@ -23,7 +23,7 @@ sources:
- https://github.com/bitnami/bitnami-docker-mongodb
- https://www.mongodb.com
type: application
version: 6.0.36
version: 6.0.31
annotations:
truecharts.org/catagories: |
- database

View File

@@ -1,7 +1,7 @@
image:
repository: tccr.io/truecharts/mongodb
pullPolicy: IfNotPresent
tag: v6.0.6@sha256:6095961d03d49d106510784be5573f81f26c8ecae97953e618e553691f878dd3
tag: v6.0.6@sha256:9d10c8a26a1b98d7212bbc2fef5dd7bf35275390dad10e6b4680c8f01c8177e4
workload:
main:

View File

@@ -3,7 +3,7 @@ appVersion: "1.5.0"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.10.8
version: 12.10.0
deprecated: false
description: Prometheus exporter for hardware and OS metrics exposed by UNIX kernels, with pluggable metric collectors.
home: https://truecharts.org/charts/dependency/node-exporter
@@ -21,7 +21,7 @@ name: node-exporter
sources:
- https://github.com/truecharts/charts/tree/master/charts/dependency/node-exporter
type: application
version: 1.0.8
version: 1.0.4
annotations:
truecharts.org/catagories: |
- metrics

View File

@@ -5,7 +5,7 @@
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](https://truecharts.org/charts/dependency/)
For more information about this App, please check the docs on the TrueCharts [website](https://truecharts.org/charts/enterprise/)
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)**

View File

@@ -50,7 +50,6 @@ questions:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressAdvanced}
# Include{ingressList}
# Include{securityContextRoot}

View File

@@ -1,7 +1,7 @@
image:
repository: tccr.io/truecharts/node-exporter
pullPolicy: IfNotPresent
tag: v1.5.0@sha256:3e66f61c18145bb2267e2caf74e8ac5dcf48f75ac276890838355ba8069952c9
tag: v1.5.0@sha256:674e04af703ffb85daf5cbddc64c5fc92e75ba49a5e2b0c0d14a2a8ccace3590
service:
main:

View File

@@ -3,7 +3,7 @@ appVersion: "7.0.11"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.10.8
version: 12.10.0
deprecated: false
description: Open source, advanced key-value store.
home: https://truecharts.org/charts/dependency/redis
@@ -23,7 +23,7 @@ sources:
- https://github.com/bitnami/bitnami-docker-redis
- http://redis.io/
type: application
version: 6.0.48
version: 6.0.45
annotations:
truecharts.org/catagories: |
- database

View File

@@ -3,7 +3,7 @@ appVersion: "9.2.1"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.10.8
version: 12.10.0
deprecated: false
description: Apache Solr
home: https://truecharts.org/charts/dependency/solr
@@ -22,7 +22,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/dependency/solr
- https://github.com/apache/solr
type: application
version: 4.0.36
version: 4.0.31
annotations:
truecharts.org/catagories: |
- search

View File

@@ -1,7 +1,7 @@
image:
repository: tccr.io/truecharts/solr
pullPolicy: IfNotPresent
tag: v9.2.1@sha256:1756c00a6eff2783c756abfa65e921ec963ba4caaaeb7840326c8b10180b6c2b
tag: v9.2.1@sha256:93e8741f09c07cbdce822aad7f74882f43a6b2e388f071b5e667a8cb93724849
workload:
main:

View File

@@ -3,11 +3,11 @@ appVersion: "4.37.5"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.10.4
version: 12.9.5
- condition: redis.enabled
name: redis
repository: https://deps.truecharts.org
version: 6.0.46
version: 6.0.44
deprecated: false
description: Authelia is a Single Sign-On Multi-Factor portal for web apps
home: https://truecharts.org/charts/enterprise/authelia
@@ -35,7 +35,7 @@ sources:
- https://github.com/authelia/chartrepo
- https://github.com/authelia/authelia
type: application
version: 15.1.22
version: 15.1.20
annotations:
truecharts.org/catagories: |
- security

View File

@@ -765,7 +765,6 @@ questions:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressAdvanced}
# Include{ingressList}
# Include{securityContextRoot}
- variable: runAsUser

View File

@@ -3,11 +3,11 @@ appVersion: "0.21.0"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.10.4
version: 12.9.5
- condition: redis.enabled
name: redis
repository: https://deps.truecharts.org
version: 6.0.46
version: 6.0.44
description: Blocky is a DNS proxy, DNS enhancer and ad-blocker for the local network written in Go
home: https://truecharts.org/charts/enterprise/blocky
icon: https://truecharts.org/img/hotlink-ok/chart-icons/blocky.png
@@ -25,7 +25,7 @@ sources:
- https://0xerr0r.github.io/blocky/
- https://github.com/0xERR0R/blocky
- https://github.com/Mozart409/blocky-frontend
version: 5.0.35
version: 5.0.32
annotations:
truecharts.org/catagories: |
- network

View File

@@ -689,7 +689,7 @@ questions:
schema:
type: boolean
default: false
show_if: [["enabled", "=", true]]
show_if: [["enabled", "=", "true"]]
show_subquestions_if: true
subquestions:
- variable: ttl
@@ -827,7 +827,6 @@ questions:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressAdvanced}
# Include{ingressList}
# Include{securityContextRoot}
- variable: runAsUser

View File

@@ -2,26 +2,26 @@ apiVersion: v2
appVersion: "latest"
deprecated: false
description: Certificate management for Kubernetes
home: https://truecharts.org/charts/enterprise/clusterissuer
icon: https://truecharts.org/img/hotlink-ok/chart-icons/clusterissuer.png
home: https://truecharts.org/charts/enterprise/cert-manager
icon: https://truecharts.org/img/hotlink-ok/chart-icons/cert-manager.png
keywords:
- cert-manager
- certificates
- metallb
- loadbalancer
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.10.4
version: 12.9.5
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: clusterissuer
name: cert-manager
sources:
- https://github.com/truecharts/charts/tree/master/charts/enterprise/clusterissuer
- https://github.com/truecharts/charts/tree/master/charts/enterprise/cert-manager
- https://cert-manager.io/
type: application
version: 1.0.1
version: 1.0.35
annotations:
truecharts.org/catagories: |
- core

View File

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 126 KiB

View File

Before

Width:  |  Height:  |  Size: 124 KiB

After

Width:  |  Height:  |  Size: 124 KiB

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

@@ -230,7 +230,7 @@ questions:
schema:
type: string
required: true
show_if: [["selfSigned", "=", true]]
show_if: [["selfSigned", "=", "true"]]
default: "my-selfsigned-ca"
- variable: crt
label: "Custom CA cert (experimental)"
@@ -238,7 +238,7 @@ questions:
schema:
type: string
required: true
show_if: [["selfSigned", "=", false]]
show_if: [["selfSigned", "=", "false"]]
default: ""
- variable: key
label: "Custom CA key (experimental)"
@@ -246,7 +246,7 @@ questions:
schema:
type: string
required: true
show_if: [["selfSigned", "=", false]]
show_if: [["selfSigned", "=", "false"]]
default: ""
- variable: selfSigned

View File

@@ -3,7 +3,7 @@ appVersion: "9.5.2"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.10.4
version: 12.9.5
deprecated: false
description: Grafana is an open source, feature rich metrics dashboard and graph editor for Graphite, Elasticsearch, OpenTSDB, Prometheus and InfluxDB.
home: https://truecharts.org/charts/enterprise/grafana
@@ -24,7 +24,7 @@ sources:
- https://github.com/bitnami/bitnami-docker-grafana
- https://grafana.com/
type: application
version: 7.0.42
version: 7.0.38
annotations:
truecharts.org/catagories: |
- metrics

View File

@@ -103,7 +103,6 @@ questions:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressAdvanced}
# Include{ingressList}
# Include{securityContextRoot}

View File

@@ -1,7 +1,7 @@
image:
repository: tccr.io/truecharts/grafana
pullPolicy: IfNotPresent
tag: v9.5.2@sha256:8d058090eaed27f247912632bc2b8e2b932955b29a996f09ab147ded0da59e7f
tag: v9.5.2@sha256:2835129a3364407fb10ce370ff5f83087373dbf99b067190e84bde8db2a77d5e
manifestManager:
enabled: true
securityContext:

View File

@@ -1,30 +0,0 @@
apiVersion: v2
appVersion: "latest"
deprecated: false
description: A network load-balancer implementation for Kubernetes using standard routing protocols
home: https://truecharts.org/charts/enterprise/metallb-config
icon: https://truecharts.org/img/hotlink-ok/chart-icons/metallb-config.png
keywords:
- metallb
- loadbalancer
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.10.9
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: metallb-config
sources:
- https://github.com/truecharts/charts/tree/master/charts/enterprise/metallb-config
- https://github.com/metallb/metallb
- https://metallb.universe.tf
type: application
version: 1.1.2
annotations:
truecharts.org/catagories: |
- core
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@@ -0,0 +1,391 @@
# Changelog
## [blocky-2.0.0](https://github.com/truecharts/charts/compare/blocky-1.1.10...blocky-2.0.0) (2022-11-10)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Major Change to GUI
- update helm general non-major ([#4342](https://github.com/truecharts/charts/issues/4342))
- update helm general non-major ([#4349](https://github.com/truecharts/charts/issues/4349))
- update helm general non-major ([#4329](https://github.com/truecharts/charts/issues/4329))
### Fix
- change container config label
## [blocky-1.1.13](https://github.com/truecharts/charts/compare/blocky-1.1.10...blocky-1.1.13) (2022-11-08)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- update helm general non-major ([#4342](https://github.com/truecharts/charts/issues/4342))
- update helm general non-major ([#4349](https://github.com/truecharts/charts/issues/4349))
- update helm general non-major ([#4329](https://github.com/truecharts/charts/issues/4329))
## [blocky-1.1.12](https://github.com/truecharts/charts/compare/blocky-1.1.10...blocky-1.1.12) (2022-11-08)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- update helm general non-major ([#4342](https://github.com/truecharts/charts/issues/4342))
- update helm general non-major ([#4329](https://github.com/truecharts/charts/issues/4329))
## [blocky-1.1.12](https://github.com/truecharts/charts/compare/blocky-1.1.10...blocky-1.1.12) (2022-11-08)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- update helm general non-major ([#4342](https://github.com/truecharts/charts/issues/4342))
- update helm general non-major ([#4329](https://github.com/truecharts/charts/issues/4329))
## [blocky-1.1.12](https://github.com/truecharts/charts/compare/blocky-1.1.10...blocky-1.1.12) (2022-11-08)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- update helm general non-major ([#4342](https://github.com/truecharts/charts/issues/4342))
- update helm general non-major ([#4329](https://github.com/truecharts/charts/issues/4329))
## [blocky-1.1.11](https://github.com/truecharts/charts/compare/blocky-1.1.10...blocky-1.1.11) (2022-11-07)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- update helm general non-major ([#4329](https://github.com/truecharts/charts/issues/4329))
## [blocky-1.1.11](https://github.com/truecharts/charts/compare/blocky-1.1.10...blocky-1.1.11) (2022-11-06)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#4329](https://github.com/truecharts/charts/issues/4329))
## [blocky-1.1.10](https://github.com/truecharts/charts/compare/blocky-1.1.9...blocky-1.1.10) (2022-11-06)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#4317](https://github.com/truecharts/charts/issues/4317))
## [blocky-1.1.9](https://github.com/truecharts/charts/compare/blocky-1.1.8...blocky-1.1.9) (2022-11-05)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#4308](https://github.com/truecharts/charts/issues/4308))
## [blocky-1.1.8](https://github.com/truecharts/charts/compare/blocky-1.1.7...blocky-1.1.8) (2022-11-02)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#4261](https://github.com/truecharts/charts/issues/4261))
## [blocky-1.1.7](https://github.com/truecharts/charts/compare/blocky-1.1.6...blocky-1.1.7) (2022-10-31)
### Chore
- Auto-update chart README [skip ci]
### Fix
- fix UI, wrong variable names ([#4258](https://github.com/truecharts/charts/issues/4258))
## [blocky-1.1.6](https://github.com/truecharts/charts/compare/blocky-1.1.5...blocky-1.1.6) (2022-10-25)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#4182](https://github.com/truecharts/charts/issues/4182))
## [blocky-1.1.5](https://github.com/truecharts/charts/compare/blocky-1.1.4...blocky-1.1.5) (2022-10-19)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#4122](https://github.com/truecharts/charts/issues/4122))
## [blocky-1.1.4](https://github.com/truecharts/charts/compare/blocky-1.1.3...blocky-1.1.4) (2022-10-12)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#4071](https://github.com/truecharts/charts/issues/4071))
## [blocky-1.1.3](https://github.com/truecharts/charts/compare/blocky-1.1.2...blocky-1.1.3) (2022-10-07)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- update helm general non-major
## [blocky-1.1.3](https://github.com/truecharts/charts/compare/blocky-1.1.2...blocky-1.1.3) (2022-10-07)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major
## [blocky-1.1.2](https://github.com/truecharts/charts/compare/blocky-1.1.1...blocky-1.1.2) (2022-10-05)
### Chore
- Auto-update chart README [skip ci]
- split addons in smaller templates ([#3979](https://github.com/truecharts/charts/issues/3979))
- update helm general non-major
## [blocky-1.1.1](https://github.com/truecharts/charts/compare/blocky-1.1.0...blocky-1.1.1) (2022-09-30)
### Chore
- Auto-update chart README [skip ci]
### Feat
- add blocky documentation links to descriptions ([#3964](https://github.com/truecharts/charts/issues/3964))
## [blocky-1.1.0](https://github.com/truecharts/charts/compare/blocky-1.0.11...blocky-1.1.0) (2022-09-29)
### Feat
- add DoH support on main ingress ([#3959](https://github.com/truecharts/charts/issues/3959))
## [blocky-1.0.10](https://github.com/truecharts/charts/compare/blocky-1.0.9...blocky-1.0.10) (2022-09-27)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#3918](https://github.com/truecharts/charts/issues/3918))
## [blocky-1.0.9](https://github.com/truecharts/charts/compare/blocky-1.0.7...blocky-1.0.9) (2022-09-26)
### Chore
- Auto-update chart README [skip ci]
## [blocky-1.0.7](https://github.com/truecharts/charts/compare/blocky-1.0.6...blocky-1.0.7) (2022-09-26)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
### Fix
- fix GUI apiurl and prometheus metrics ([#3908](https://github.com/truecharts/charts/issues/3908))
## [blocky-1.0.6](https://github.com/truecharts/charts/compare/blocky-1.0.5...blocky-1.0.6) (2022-09-25)
### Chore
- Auto-update chart README [skip ci]
- bump version
### Fix
- allow port changes, allow dot, fix prometheus and fix api access ([#3899](https://github.com/truecharts/charts/issues/3899))
## [blocky-1.0.5](https://github.com/truecharts/charts/compare/blocky-1.0.4...blocky-1.0.5) (2022-09-25)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#3898](https://github.com/truecharts/charts/issues/3898))
## [blocky-1.0.4](https://github.com/truecharts/charts/compare/blocky-1.0.3...blocky-1.0.4) (2022-09-25)
### Chore
- Auto-update chart README [skip ci]
### Fix
- update redis
## [blocky-1.0.3](https://github.com/truecharts/charts/compare/blocky-1.0.2...blocky-1.0.3) (2022-09-25)
### Chore
- Auto-update chart README [skip ci]
### Fix
- use new common SA handler
## [blocky-1.0.2](https://github.com/truecharts/charts/compare/blocky-1.0.1...blocky-1.0.2) (2022-09-25)
### Chore
- Auto-update chart README [skip ci]
### Fix
- disable probes until next release ([#3886](https://github.com/truecharts/charts/issues/3886))
## [blocky-1.0.1](https://github.com/truecharts/charts/compare/blocky-1.0.0...blocky-1.0.1) (2022-09-25)
### Chore
- Auto-update chart README [skip ci]
### Fix
- set defaults to some durations ([#3885](https://github.com/truecharts/charts/issues/3885))
## [blocky-1.0.0](https://github.com/truecharts/charts/compare/blocky-0.0.4...blocky-1.0.0) (2022-09-24)
### Chore
- move blocky to enterprise ([#3875](https://github.com/truecharts/charts/issues/3875))
## [blocky-0.0.4](https://github.com/truecharts/charts/compare/blocky-0.0.3...blocky-0.0.4) (2022-09-24)
### Chore
- Auto-update chart README [skip ci]
### Fix
- Finish up UI ([#3866](https://github.com/truecharts/charts/issues/3866))
## [blocky-0.0.3](https://github.com/truecharts/charts/compare/blocky-0.0.2...blocky-0.0.3) (2022-09-24)
### Chore
- Auto-update chart README [skip ci]
- update docker general non-major ([#3860](https://github.com/truecharts/charts/issues/3860))
## [blocky-0.0.2](https://github.com/truecharts/charts/compare/blocky-0.0.1...blocky-0.0.2) (2022-09-23)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- update docker general non-major ([#3850](https://github.com/truecharts/charts/issues/3850))
## [blocky-0.0.1]blocky-0.0.1 (2022-09-22)
### Feat
- add blocky ([#3735](https://github.com/truecharts/charts/issues/3735))

View File

@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: "0.13.9"
appVersion: "latest"
deprecated: false
description: A network load-balancer implementation for Kubernetes using standard routing protocols
home: https://truecharts.org/charts/operators/metallb
home: https://truecharts.org/charts/enterprise/metallb
icon: https://truecharts.org/img/hotlink-ok/chart-icons/metallb.png
keywords:
- metallb
@@ -10,7 +10,7 @@ keywords:
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.10.8
version: 12.9.5
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
@@ -18,13 +18,13 @@ maintainers:
url: https://truecharts.org
name: metallb
sources:
- https://github.com/truecharts/charts/tree/master/charts/operators/metallb
- https://github.com/truecharts/charts/tree/master/charts/enterprise/metallb
- https://github.com/metallb/metallb
- https://metallb.universe.tf
type: application
version: 9.0.5
version: 8.0.30
annotations:
truecharts.org/catagories: |
- operators
- core
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@@ -0,0 +1,6 @@
ipAddressPools:
- name: example
autoAssign: true
avoidBuggyIPs: true
addresses:
- 192.168.1.1-192.168.1.100

View File

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 65 KiB

View File

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB

View File

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

@@ -5,7 +5,7 @@ apiVersion: metallb.io/v1beta1
kind: BGPAdvertisement
metadata:
name: {{ .name }}
namespace: {{ $.Values.operatorNamespace }}
namespace: metallb-system
spec:
ipAddressPools:
{{- range .addressPools }}

View File

@@ -5,7 +5,7 @@ apiVersion: metallb.io/v1beta1
kind: Community
metadata:
name: communities
namespace: {{ $.Values.operatorNamespace }}
namespace: metallb-system
spec:
communities:
{{- range .Values.Communities }}

View File

@@ -5,7 +5,7 @@ apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: {{ .name }}
namespace: {{ $.Values.operatorNamespace }}
namespace: metallb-system
spec:
addresses:
{{- range .addresses }}

View File

@@ -5,7 +5,7 @@ apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: {{ .name }}
namespace: {{ $.Values.operatorNamespace }}
namespace: metallb-system
spec:
ipAddressPools:
{{- range .addressPools }}

View File

@@ -5,7 +5,7 @@ apiVersion: metallb.io/v1beta2
kind: BGPPeer
metadata:
name: {{ .name }}
namespace: {{ $.Values.operatorNamespace }}
namespace: metallb-system
spec:
{{- with .password }}
password: {{ . }}

View File

@@ -1,12 +1,6 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . }}
{{- $operatorNamespace := "metallb-system" -}}
{{- if .Values.operator.metallb -}}
{{ $operatorNamespace = ( $.Values.operator.metallb.namespace | default "metallb-system") }}
{{- end -}}
{{- $_ := set $.Values "operatorNamespace" $operatorNamespace -}}
{{/* Render the templates */}}
{{ include "tc.v1.common.loader.apply" . }}

View File

@@ -3,7 +3,7 @@ image:
tag: latest@sha256:9dd0f68d32ace452a3a75273bd8e3a074d0a14e4d38683389c73887432832fc3
pullPolicy: IfNotPresent
manifestManager:
enabled: false
enabled: true
workload:
main:
enabled: false
@@ -26,11 +26,6 @@ service:
main:
enabled: false
port: 9999
operator:
verify:
enabled: false
additionalOperators: ["metallb"]
portal:
open:

View File

@@ -3,15 +3,15 @@ appVersion: "2.44.0"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.10.4
version: 12.9.5
- condition: exporters.enabled,exporters.node-exporter.enabled
name: node-exporter
repository: https://deps.truecharts.org
version: 1.0.6
version: 1.0.3
- condition: exporters.enabled,exporters.kube-state-metrics.enabled
name: kube-state-metrics
repository: https://deps.truecharts.org
version: 1.0.7
version: 1.0.4
deprecated: false
description: kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
icon: https://truecharts.org/img/hotlink-ok/chart-icons/prometheus.png
@@ -29,7 +29,7 @@ sources:
- https://github.com/prometheus-community/helm-charts
- https://github.com/prometheus-operator/kube-prometheus
type: application
version: 9.0.13
version: 9.0.10
annotations:
truecharts.org/catagories: |
- metrics

View File

@@ -196,6 +196,5 @@ questions:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressAdvanced}
# Include{ingressList}
# Include{advanced}

View File

@@ -1,6 +1,6 @@
image:
repository: tccr.io/truecharts/prometheus
tag: v2.44.0@sha256:b4baeb2de94c734dbe36910e3e1a28c51e915ff355760863ad80af4fe7f88d29
tag: v2.44.0@sha256:48aa3e3b18118bea2ffddc916517a400f483f68bf2cdc48c75ebb2c6e84543fa
thanosImage:
repository: tccr.io/truecharts/thanos

View File

@@ -1,9 +1,9 @@
apiVersion: v2
appVersion: "2.10.1"
appVersion: "2.9.10"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.10.4
version: 12.9.5
deprecated: false
description: Traefik is a flexible reverse proxy and Ingress Provider.
home: https://truecharts.org/charts/enterprise/traefik
@@ -23,7 +23,7 @@ sources:
- https://github.com/traefik/traefik-helm-chart
- https://traefik.io/
type: application
version: 18.0.7
version: 18.0.2
annotations:
truecharts.org/catagories: |
- network

View File

@@ -16,34 +16,25 @@ questions:
# Include{containerConfig}
# Include{podOptions}
- variable: expertIngressClass
label: Expert Mode
group: App Configuration
description: |
Expert Mode contains settings like: </br>
- IngressClass </br>
- variable: ingressClass
label: "ingressClass"
group: "App Configuration"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: ingressClass
label: "ingressClass"
additional_attrs: true
type: dict
attrs:
- variable: enabled
label: "Enable"
description: "When enabled, ingressClass will match the entered name of this app"
schema:
additional_attrs: true
type: dict
attrs:
- variable: enabled
label: "Enable"
description: "When enabled, ingressClass will match the entered name of this app"
schema:
type: boolean
default: false
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: isDefaultClass
label: "isDefaultClass"
schema:
type: boolean
show_if: [["enabled", "=", true]]
default: false
- variable: logs
label: "Logs"
@@ -374,9 +365,9 @@ questions:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressAdvanced}
# Include{ingressList}
# Include{securityContextRoot}
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"

View File

@@ -6,7 +6,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ ternary "portalhook" (printf "portalhook-%v" .Release.Name ) $.Values.ingressClass.enabled }}
name: portalhook{{ if $.Values.ingressClass.enabled }}-{{ .Release.Name }}{{ end }}
namespace: tc-system
data:
{{- $ports := dict }}

View File

@@ -6,7 +6,7 @@
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: {{ ternary (printf "%v-%v" $.Release.Name $middlewareData.name) $middlewareData.name $.Values.ingressClass.enabled }}
name: {{ if $.Values.ingressClass.enabled }}{{ .Release.Name }}-{{ end }}{{ $middlewareData.name }}
namespace: tc-system
spec:
addPrefix:

View File

@@ -1,9 +1,10 @@
{{- $values := .Values }}
---
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: {{ ternary (printf "%v-compress" $.Release.Name) "compress" $.Values.ingressClass.enabled }}
name: {{ if $.Values.ingressClass.enabled }}{{ .Release.Name }}-{{ end }}{{ if $.Values.ingressClass.enabled }}{{ .Release.Name }}-{{ end }}compress
namespace: tc-system
spec:
compress: {}
@@ -13,7 +14,7 @@ spec:
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: {{ ternary (printf "%v-basic-ratelimit" $.Release.Name) "basic-ratelimit" $.Values.ingressClass.enabled }}
name: {{ if $.Values.ingressClass.enabled }}{{ .Release.Name }}-{{ end }}{{ if $.Values.ingressClass.enabled }}{{ .Release.Name }}-{{ end }}basic-ratelimit
namespace: tc-system
spec:
rateLimit:
@@ -23,7 +24,7 @@ spec:
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: {{ ternary (printf "%v-basic-secure-headers" $.Release.Name) "basic-secure-headers" $.Values.ingressClass.enabled }}
name: {{ if $.Values.ingressClass.enabled }}{{ .Release.Name }}-{{ end }}{{ if $.Values.ingressClass.enabled }}{{ .Release.Name }}-{{ end }}basic-secure-headers
namespace: tc-system
spec:
headers:
@@ -48,11 +49,11 @@ spec:
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: {{ ternary (printf "%v-chain-basic" $.Release.Name) "chain-basic" $.Values.ingressClass.enabled }}
name: {{ if $.Values.ingressClass.enabled }}{{ .Release.Name }}-{{ end }}{{ if $.Values.ingressClass.enabled }}{{ .Release.Name }}-{{ end }}chain-basic
namespace: tc-system
spec:
chain:
middlewares:
- name: {{ ternary (printf "%v-basic-ratelimit" $.Release.Name) "basic-ratelimit" $.Values.ingressClass.enabled }}
- name: {{ ternary (printf "%v-basic-secure-headers" $.Release.Name) "basic-secure-headers" $.Values.ingressClass.enabled }}
- name: {{ ternary (printf "%v-compress" $.Release.Name) "compress" $.Values.ingressClass.enabled }}
- name: {{ if $.Values.ingressClass.enabled }}{{ .Release.Name }}-{{ end }}{{ if $.Values.ingressClass.enabled }}{{ .Release.Name }}-{{ end }}basic-ratelimit
- name: {{ if $.Values.ingressClass.enabled }}{{ .Release.Name }}-{{ end }}{{ if $.Values.ingressClass.enabled }}{{ .Release.Name }}-{{ end }}basic-secure-headers
- name: {{ if $.Values.ingressClass.enabled }}{{ .Release.Name }}-{{ end }}{{ if $.Values.ingressClass.enabled }}{{ .Release.Name }}-{{ end }}compress

View File

@@ -3,9 +3,9 @@
{{ range $index, $middlewareData := .Values.middlewares.basicAuth }}
---
{{- $users := list }}
{{- range $index, $userdata := $middlewareData.users }}
{{- $users = append $users (htpasswd $userdata.username $userdata.password) }}
{{- end }}
{{ range $index, $userdata := $middlewareData.users }}
{{ $users = append $users ( htpasswd $userdata.username $userdata.password ) }}
{{ end }}
apiVersion: v1
kind: Secret
@@ -23,9 +23,9 @@ stringData:
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: {{ ternary (printf "%v-%v" $.Release.Name $middlewareData.name) $middlewareData.name $.Values.ingressClass.enabled }}
name: {{ if $.Values.ingressClass.enabled }}{{ .Release.Name }}-{{ end }}{{ $middlewareData.name }}
namespace: tc-system
spec:
basicAuth:
secret: {{ printf "%v-%v" $middlewareData.name "secret" }}
secret: {{printf "%v-%v" $middlewareData.name "secret" }}
{{ end }}

View File

@@ -10,7 +10,7 @@
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: {{ ternary (printf "%v-%v" $.Release.Name $middlewareData.name) $middlewareData.name $.Values.ingressClass.enabled }}
name: {{ if $.Values.ingressClass.enabled }}{{ .Release.Name }}-{{ end }}{{ $middlewareData.name }}
namespace: tc-system
spec:
chain:

View File

@@ -5,7 +5,7 @@
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: {{ ternary (printf "%v-%v" $.Release.Name $middlewareData.name) $middlewareData.name $.Values.ingressClass.enabled }}
name: {{ if $.Values.ingressClass.enabled }}{{ .Release.Name }}-{{ end }}{{ $middlewareData.name }}
namespace: tc-system
spec:
forwardAuth:

Some files were not shown because too many files have changed in this diff Show More