Compare commits

...

3 Commits

Author SHA1 Message Date
renovate[bot]
d59aabb30c chore(deps): update docker/metadata-action digest to 032a4b3 (#12)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| docker/metadata-action | action | digest | `9ec57ed` -> `032a4b3` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

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

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

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/morten-olsen/homelab-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-14 20:45:43 +02:00
Morten Olsen
303c9704b3 renovate fix (#8) 2025-09-13 12:47:16 +02:00
Morten Olsen
bf6cf818c4 fix: renovate token (#7) 2025-09-13 12:43:36 +02:00
6 changed files with 21 additions and 8 deletions

View File

@@ -44,7 +44,7 @@ jobs:
- name: Extract metadata (tags, labels) for Docker - name: Extract metadata (tags, labels) for Docker
id: meta id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 uses: docker/metadata-action@032a4b3bda1b716928481836ac5bfe36e1feaad6
with: with:
images: ${{ env.DOCKER_REGISTRY }}/${{ env.IMAGE_NAME }} images: ${{ env.DOCKER_REGISTRY }}/${{ env.IMAGE_NAME }}

View File

@@ -44,7 +44,7 @@ jobs:
- name: Extract metadata (tags, labels) for Docker - name: Extract metadata (tags, labels) for Docker
id: meta id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 uses: docker/metadata-action@032a4b3bda1b716928481836ac5bfe36e1feaad6
with: with:
images: ${{ env.DOCKER_REGISTRY }}/${{ env.IMAGE_NAME }} images: ${{ env.DOCKER_REGISTRY }}/${{ env.IMAGE_NAME }}

View File

@@ -2,7 +2,7 @@ name: Renovate
on: on:
workflow_dispatch: workflow_dispatch:
schedule: schedule:
- cron: '0 */6 * * *' - cron: "0 */6 * * *"
jobs: jobs:
renovate: renovate:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -12,4 +12,5 @@ jobs:
- name: Self-hosted Renovate - name: Self-hosted Renovate
uses: renovatebot/github-action@v40.2.2 uses: renovatebot/github-action@v40.2.2
with: with:
token: ${{ secrets.RENOVATE_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
configurationFile: ./renovate.json5

12
charts/apps/install.sh Executable file
View File

@@ -0,0 +1,12 @@
set -euo pipefail
find . -name "values.yaml" -type f -print0 | while IFS= read -r -d '' values_file; do
location=$(dirname "$values_file")
name=$(basename "$location")
name=$(echo "$name" | tr '[:upper:]' '[:lower:]' | tr -s '[:punct:][:space:]' '-' | sed -e 's/^-*//' -e 's/-*$//')
echo "✅ Chart found in: $location"
echo " - Generated release name: $name"
HELM_COMMAND="helm install --namespace prod \"$name\" \"$location\""
helm upgrade -i --namespace prod "$name" "$location"
done

View File

@@ -1,11 +1,11 @@
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
apiVersion: v1 apiVersion: v1
metadata: metadata:
name: '{{ .Release.Name }}-config' name: "{{ .Release.Name }}-config"
spec: spec:
accessModes: accessModes:
- 'ReadWriteOnce' - "ReadWriteOnce"
resources: resources:
requests: requests:
storage: '1Gi' storage: "1Gi"
storageClassName: '{{ .Values.environment }}' storageClassName: "{{ .Values.globals.environment }}"