mirror of
https://github.com/morten-olsen/homelab-operator.git
synced 2026-02-08 01:36:28 +01:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf6cf818c4 | ||
|
|
4a7a84919c | ||
|
|
324356a59d |
4
.github/workflows/renovate.yml
vendored
4
.github/workflows/renovate.yml
vendored
@@ -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,4 @@ 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 }}
|
||||||
|
|||||||
@@ -4,6 +4,6 @@ globals:
|
|||||||
domain: olsen.cloud
|
domain: olsen.cloud
|
||||||
image:
|
image:
|
||||||
repository: docker.io/caronc/apprise
|
repository: docker.io/caronc/apprise
|
||||||
tag: latest
|
tag: latest@sha256:127b3834f0679502529397ead8ffeaadf5189019c4c863fa6652e9b942fdccf8
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
subdomain: apprise
|
subdomain: apprise
|
||||||
|
|||||||
@@ -2,6 +2,6 @@ globals:
|
|||||||
environment: prod
|
environment: prod
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/advplyr/audiobookshelf
|
repository: ghcr.io/advplyr/audiobookshelf
|
||||||
tag: 2.26.1
|
tag: 2.26.1@sha256:5901162ccdf4b44f563ff2012484d5e315d9a1ecd6af86f7fe605ec96bbc5039
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
subdomain: audiobookshelf
|
subdomain: audiobookshelf
|
||||||
|
|||||||
@@ -4,6 +4,6 @@ globals:
|
|||||||
domain: olsen.cloud
|
domain: olsen.cloud
|
||||||
image:
|
image:
|
||||||
repository: docker.io/ckulka/baikal
|
repository: docker.io/ckulka/baikal
|
||||||
tag: nginx
|
tag: nginx@sha256:27bd9afbb8142c2143b6959c023074b05c86356ded0f589fcb1424ab5fbe0a70
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
subdomain: baikal
|
subdomain: baikal
|
||||||
|
|||||||
@@ -4,6 +4,6 @@ globals:
|
|||||||
timezone: Europe/Amsterdam
|
timezone: Europe/Amsterdam
|
||||||
image:
|
image:
|
||||||
repository: lscr.io/linuxserver/calibre-web
|
repository: lscr.io/linuxserver/calibre-web
|
||||||
tag: latest
|
tag: latest@sha256:a833d4cf90333f167871fe6ab1f034c7be7bc3d2061a1563fdb6a8fa27af346e
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
subdomain: calibre-web
|
subdomain: calibre-web
|
||||||
|
|||||||
@@ -2,6 +2,6 @@ globals:
|
|||||||
environment: prod
|
environment: prod
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/coder/coder
|
repository: ghcr.io/coder/coder
|
||||||
tag: latest
|
tag: latest@sha256:73714e0685addde01bbff905cf5b647d6b677d77977c8009b6293d40fdf0f562
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
subdomain: coder
|
subdomain: coder
|
||||||
|
|||||||
@@ -4,6 +4,6 @@ globals:
|
|||||||
domain: olsen.cloud
|
domain: olsen.cloud
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/esphome/esphome
|
repository: ghcr.io/esphome/esphome
|
||||||
tag: latest
|
tag: latest@sha256:393775c4c02e0b09d086cd794815a723f90d4af7c3d871935e22be1a34c5d89a
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
subdomain: esphome
|
subdomain: esphome
|
||||||
|
|||||||
@@ -3,6 +3,6 @@ globals:
|
|||||||
timezone: Europe/Amsterdam
|
timezone: Europe/Amsterdam
|
||||||
image:
|
image:
|
||||||
repository: docker.gitea.com/gitea
|
repository: docker.gitea.com/gitea
|
||||||
tag: latest
|
tag: latest@sha256:2edc102cbb636ae1ddac5fa0c715aa5b03079dee13ac6800b2cef6d4e912e718
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
subdomain: gitea
|
subdomain: gitea
|
||||||
|
|||||||
@@ -2,6 +2,6 @@ globals:
|
|||||||
environment: prod
|
environment: prod
|
||||||
image:
|
image:
|
||||||
repository: headscale/headscale
|
repository: headscale/headscale
|
||||||
tag: latest
|
tag: latest@sha256:ea9b5ee06274d757a4d52103de56cd11a9c393acb19d9a35f4b9fe52ada410de
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
subdomain: headscale
|
subdomain: headscale
|
||||||
|
|||||||
@@ -2,6 +2,6 @@ globals:
|
|||||||
environment: prod
|
environment: prod
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/homarr-labs/homarr
|
repository: ghcr.io/homarr-labs/homarr
|
||||||
tag: latest
|
tag: latest@sha256:7d58149aa544037d173a48f41fbde86706068d2b8933a33a911dce26457ecf16
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
subdomain: homarr
|
subdomain: homarr
|
||||||
|
|||||||
@@ -3,19 +3,19 @@ globals:
|
|||||||
timezone: Europe/Amsterdam
|
timezone: Europe/Amsterdam
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/home-assistant/home-assistant
|
repository: ghcr.io/home-assistant/home-assistant
|
||||||
tag: stable
|
tag: stable@sha256:37af5e84627dc6cc4f8ce2de631cca7ee1fc76c908b429b3a8c1ec46f246a5fe
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
subdomain: home-assistant
|
subdomain: home-assistant
|
||||||
piper:
|
piper:
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/morten-olsen/glados-voice
|
repository: ghcr.io/morten-olsen/glados-voice
|
||||||
tag: main
|
tag: main@sha256:8fcc19bd9e7e846bdfd9e9e569c8c944dcfb1d0b47e3f479cbaa7f5587c7206c
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
model: en_US-glados-medium
|
model: en_US-glados-medium
|
||||||
whisper:
|
whisper:
|
||||||
image:
|
image:
|
||||||
repository: rhasspy/wyoming-whisper
|
repository: rhasspy/wyoming-whisper
|
||||||
tag: latest
|
tag: latest@sha256:f03456914affe8076fc7688c0890f4c708d93ebfac7340b0b2467f721412012d
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
model: tiny-int8
|
model: tiny-int8
|
||||||
language: us
|
language: us
|
||||||
|
|||||||
12
charts/apps/install.sh
Executable file
12
charts/apps/install.sh
Executable 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
|
||||||
@@ -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 }}"
|
||||||
|
|||||||
@@ -2,6 +2,6 @@ globals:
|
|||||||
environment: prod
|
environment: prod
|
||||||
image:
|
image:
|
||||||
repository: docker.io/jellyfin/jellyfin
|
repository: docker.io/jellyfin/jellyfin
|
||||||
tag: latest
|
tag: latest@sha256:7ae36aab93ef9b6aaff02b37f8bb23df84bb2d7a3f6054ec8fc466072a648ce2
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
subdomain: jellyfin
|
subdomain: jellyfin
|
||||||
|
|||||||
@@ -5,4 +5,4 @@ globals:
|
|||||||
subdomain: mealie
|
subdomain: mealie
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/mealie-recipes/mealie
|
repository: ghcr.io/mealie-recipes/mealie
|
||||||
tag: latest
|
tag: latest@sha256:d872fb529097df2d77b3c6f5e469b047f99d0d1c9f793a84ae27aa106e1f5d7e
|
||||||
@@ -3,6 +3,6 @@ globals:
|
|||||||
timezone: Europe/Amsterdam
|
timezone: Europe/Amsterdam
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/metatool-ai/metamcp
|
repository: ghcr.io/metatool-ai/metamcp
|
||||||
tag: latest
|
tag: latest@sha256:09e467e3ac40132f4ee11407e792ca5767894b0909d56c270223bdfe64dfcfd2
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
subdomain: metamcp
|
subdomain: metamcp
|
||||||
|
|||||||
@@ -4,6 +4,6 @@ globals:
|
|||||||
domain: olsen.cloud
|
domain: olsen.cloud
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/miniflux/miniflux
|
repository: ghcr.io/miniflux/miniflux
|
||||||
tag: latest
|
tag: latest@sha256:b435a1ea2408f996c8d4c00c4f46523fa9203971ee1e85b1fe7ad3f0e7ae617f
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
subdomain: miniflux
|
subdomain: miniflux
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ globals:
|
|||||||
domain: olsen.cloud
|
domain: olsen.cloud
|
||||||
image:
|
image:
|
||||||
repository: docker.io/eclipse-mosquitto
|
repository: docker.io/eclipse-mosquitto
|
||||||
tag: latest
|
tag: latest@sha256:d219d3a72847f3aed6a1d66975972d3b17f86e39e8f6f6b86b4088b879c1a2d6
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
subdomain: mqtt
|
subdomain: mqtt
|
||||||
mode: json-rpc
|
mode: json-rpc
|
||||||
@@ -2,6 +2,6 @@ globals:
|
|||||||
environment: prod
|
environment: prod
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/music-assistant/server
|
repository: ghcr.io/music-assistant/server
|
||||||
tag: latest
|
tag: latest@sha256:f534116c53d49b3120961c908a5fa24f28684806bf222ccd74add9e16b105aa4
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
subdomain: music-assistant
|
subdomain: music-assistant
|
||||||
|
|||||||
@@ -4,6 +4,6 @@ globals:
|
|||||||
domain: olsen.cloud
|
domain: olsen.cloud
|
||||||
image:
|
image:
|
||||||
repository: docker.n8n.io/n8nio/n8n
|
repository: docker.n8n.io/n8nio/n8n
|
||||||
tag: latest
|
tag: latest@sha256:6c0c7650150a3fb0fd30d13160a87b5227963c36c9297b5bda618bcadfcee932
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
subdomain: n8n
|
subdomain: n8n
|
||||||
|
|||||||
@@ -2,6 +2,6 @@ globals:
|
|||||||
environment: prod
|
environment: prod
|
||||||
image:
|
image:
|
||||||
repository: ollama/ollama
|
repository: ollama/ollama
|
||||||
tag: 0.11.8
|
tag: 0.11.8@sha256:03eaa1581455ba16e7c954d799e4f44996b60ae668261acd00a0e80a241ed720
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
subdomain: openwebui
|
subdomain: openwebui
|
||||||
|
|||||||
@@ -2,6 +2,6 @@ globals:
|
|||||||
environment: prod
|
environment: prod
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/open-webui/open-webui
|
repository: ghcr.io/open-webui/open-webui
|
||||||
tag: main
|
tag: main@sha256:2e78a2f9f6f62173ae28d2203f3c9bcdadc614023380ebbe903ea9fab772535e
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
subdomain: openwebui
|
subdomain: openwebui
|
||||||
|
|||||||
@@ -2,6 +2,6 @@ globals:
|
|||||||
environment: prod
|
environment: prod
|
||||||
image:
|
image:
|
||||||
repository: photoprism/photoprism
|
repository: photoprism/photoprism
|
||||||
tag: latest
|
tag: latest@sha256:2ba3a774ca1acc498096d7a5cb50df9cfecb7e3117a617d648093ff74eec2793
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
subdomain: photoprism
|
subdomain: photoprism
|
||||||
|
|||||||
@@ -4,6 +4,6 @@ globals:
|
|||||||
timezone: Europe/Amsterdam
|
timezone: Europe/Amsterdam
|
||||||
image:
|
image:
|
||||||
repository: codeberg.org/readeck/readeck
|
repository: codeberg.org/readeck/readeck
|
||||||
tag: latest
|
tag: latest@sha256:2fc8c3ce875db68fbfdc6cdd517a9315b14be65867116ffac26997e800def0ca
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
subdomain: readeck
|
subdomain: readeck
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ globals:
|
|||||||
domain: olsen.cloud
|
domain: olsen.cloud
|
||||||
image:
|
image:
|
||||||
repository: bbernhard/signal-cli-rest-api
|
repository: bbernhard/signal-cli-rest-api
|
||||||
tag: latest
|
tag: latest@sha256:e4bc92213b2a4da10fc429d16ed1754e90c2c169f186efbb9ce5f04da5322771
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
subdomain: apprise
|
subdomain: apprise
|
||||||
mode: json-rpc
|
mode: json-rpc
|
||||||
@@ -5,4 +5,4 @@ globals:
|
|||||||
subdomain: zot
|
subdomain: zot
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/project-zot/zot
|
repository: ghcr.io/project-zot/zot
|
||||||
tag: latest
|
tag: latest@sha256:cd2aea942f428630bcb4190542be6abd35e14177aab84fc7ccad0dca8ecb363d
|
||||||
@@ -4,7 +4,7 @@ globals:
|
|||||||
domain: olsen.cloud
|
domain: olsen.cloud
|
||||||
image:
|
image:
|
||||||
repository: garethgeorge/backrest
|
repository: garethgeorge/backrest
|
||||||
tag: latest
|
tag: latest@sha256:f8306faef0a3cbedc7daa55756f1d4c105d8c104aa773656bdad4fa8553dab5a
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
subdomain: restic
|
subdomain: restic
|
||||||
password:
|
password:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ image:
|
|||||||
repository: ghcr.io/morten-olsen/homelab-operator
|
repository: ghcr.io/morten-olsen/homelab-operator
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: main
|
tag: main@sha256:752b25d3ef9711e72d63e936244dac03c6caa2dd1e00f49fb98238f2702f07a5
|
||||||
|
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
nameOverride: ''
|
nameOverride: ''
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM alpine/git:latest
|
FROM alpine/git:latest@sha256:9c9c6debba3eac25c9230db4bbd1e17d0c27efffdb93e502a47f6f447ab90ac4
|
||||||
# or a more specific image like a Debian slim or Ubuntu base image.
|
# or a more specific image like a Debian slim or Ubuntu base image.
|
||||||
RUN apk add --no-cache restic fuse-overlayfs
|
RUN apk add --no-cache restic fuse-overlayfs
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM node:23-slim
|
FROM node:23-slim@sha256:86191b94d2a163be41f3dc7fe5e5fcaca8ba2f1be7275d98a06343483c17414a
|
||||||
RUN corepack enable
|
RUN corepack enable
|
||||||
COPY package.json pnpm-lock.yaml ./
|
COPY package.json pnpm-lock.yaml ./
|
||||||
RUN pnpm install --frozen-lockfile --prod
|
RUN pnpm install --frozen-lockfile --prod
|
||||||
|
|||||||
8
images/operator/pnpm-lock.yaml
generated
8
images/operator/pnpm-lock.yaml
generated
@@ -28,7 +28,7 @@ importers:
|
|||||||
version: 2.2.3
|
version: 2.2.3
|
||||||
dotenv:
|
dotenv:
|
||||||
specifier: ^17.2.1
|
specifier: ^17.2.1
|
||||||
version: 17.2.1
|
version: 17.2.2
|
||||||
eventemitter3:
|
eventemitter3:
|
||||||
specifier: ^5.0.1
|
specifier: ^5.0.1
|
||||||
version: 5.0.1
|
version: 5.0.1
|
||||||
@@ -614,8 +614,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==}
|
resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==}
|
||||||
engines: {node: '>=0.10.0'}
|
engines: {node: '>=0.10.0'}
|
||||||
|
|
||||||
dotenv@17.2.1:
|
dotenv@17.2.2:
|
||||||
resolution: {integrity: sha512-kQhDYKZecqnM0fCnzI5eIv5L4cAe/iRI+HqMbO/hbRdTAeXDG+M9FjipUxNfbARuEg4iHIbhnhs78BCHNbSxEQ==}
|
resolution: {integrity: sha512-Sf2LSQP+bOlhKWWyhFsn0UsfdK/kCWRv1iuA2gXAwt3dyNabr6QSj00I2V10pidqz69soatm9ZwZvpQMTIOd5Q==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
|
|
||||||
dunder-proto@1.0.1:
|
dunder-proto@1.0.1:
|
||||||
@@ -2651,7 +2651,7 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
esutils: 2.0.3
|
esutils: 2.0.3
|
||||||
|
|
||||||
dotenv@17.2.1: {}
|
dotenv@17.2.2: {}
|
||||||
|
|
||||||
dunder-proto@1.0.1:
|
dunder-proto@1.0.1:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|||||||
Reference in New Issue
Block a user