Files
truecharts/.github/scripts/install_dependencies.sh
TrueCharts Bot 1dde1f3624 chore(deps): update container image common to v17.2.26@24c98f7 by renovate (#17409)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[common](https://togithub.com/truecharts/apps/tree/master/charts/common)
([source](https://togithub.com/truecharts/apps)) | patch | `17.2.22` ->
`17.2.26` |
|
[common](https://togithub.com/truecharts/apps/tree/master/charts/common)
([source](https://togithub.com/truecharts/apps)) | patch | `17.2.25` ->
`17.2.26` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Configuration

📅 **Schedule**: Branch creation - "before 10pm on monday" in timezone
Europe/Amsterdam, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNDAuMTYiLCJ1cGRhdGVkSW5WZXIiOiIzNy4xNDEuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->

---------

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
2024-01-21 18:33:27 +02:00

64 lines
2.1 KiB
Bash
Executable File

#!/bin/bash
curr_chart=$1
if [ -z "$curr_chart" ]
then
echo "No chart name provided"
exit 1
fi
echo "Chart name: $curr_chart"
if [[ "$curr_chart" == "charts/enterprise/metallb-config" ]]; then
echo "Installing metallb chart"
helm install metallb oci://tccr.io/truecharts/metallb --namespace metallb --create-namespace --wait
if [[ "$?" != "0" ]]; then
echo "Failed to install metallb chart"
exit 1
fi
echo "Done installing metallb chart"
fi
if [[ "$curr_chart" == "charts/enterprise/clusterissuer" ]]; then
echo "Installing cert-manager chart"
helm install cert-manager oci://tccr.io/truecharts/cert-manager --namespace cert-manager --create-namespace --wait
if [[ "$?" != "0" ]]; then
echo "Failed to install cert-manager chart"
exit 1
fi
echo "Done installing cert-manager chart"
fi
if [[ "$curr_chart" != "charts/operators/cloudnative-pg" ]]; then
echo "Installing cloudnative-pg chart"
helm install cloudnative-pg oci://tccr.io/truecharts/cloudnative-pg --namespace cloudnative-pg --create-namespace --wait
if [[ "$?" != "0" ]]; then
echo "Failed to install cloudnative-pg chart"
exit 1
fi
echo "Done installing cloudnative-pg chart"
fi
if [[ "$curr_chart" != "charts/operators/prometheus-operator" ]]; then
echo "Installing prometheus-operator chart"
helm install prometheus-operator oci://tccr.io/truecharts/prometheus-operator --namespace prometheus-operator --create-namespace --wait
if [[ "$?" != "0" ]]; then
echo "Failed to install prometheus-operator chart"
exit 1
fi
echo "Done installing prometheus-operator chart"
fi
if [[ "$curr_chart" != "charts/enterprise/traefik" ]]; then
echo "Installing traefik chart"
helm install traefik oci://tccr.io/truecharts/traefik --namespace traefik --create-namespace --wait \
--set "service.main.type=ClusterIP" --set "service.tcp.type=ClusterIP"
if [[ "$?" != "0" ]]; then
echo "Failed to install traefik chart"
exit 1
fi
echo "Done installing traefik chart"
fi