diff --git a/kubernetes/main/apps/dev/actions-runner-controller/operator/helmrelease.yaml b/kubernetes/main/apps/dev/actions-runner-controller/operator/helmrelease.yaml index 35a98918773..67b99896f51 100644 --- a/kubernetes/main/apps/dev/actions-runner-controller/operator/helmrelease.yaml +++ b/kubernetes/main/apps/dev/actions-runner-controller/operator/helmrelease.yaml @@ -9,7 +9,7 @@ spec: chart: spec: chart: actions-runner-controller-charts/gha-runner-scale-set-controller - version: 0.8.1 + version: 0.8.2 sourceRef: kind: HelmRepository name: actions-runner-controller diff --git a/kubernetes/main/apps/dev/actions-runner-controller/runners/assets.yaml b/kubernetes/main/apps/dev/actions-runner-controller/runners/assets.yaml index b161bb6d908..d3fb059a60a 100644 --- a/kubernetes/main/apps/dev/actions-runner-controller/runners/assets.yaml +++ b/kubernetes/main/apps/dev/actions-runner-controller/runners/assets.yaml @@ -10,7 +10,7 @@ spec: chart: spec: chart: actions-runner-controller-charts/gha-runner-scale-set - version: 0.8.1 + version: 0.8.2 sourceRef: kind: HelmRepository name: actions-runner-controller diff --git a/kubernetes/main/apps/dev/actions-runner-controller/runners/home-ops.yaml b/kubernetes/main/apps/dev/actions-runner-controller/runners/home-ops.yaml index ad7787fb831..cb139cd9676 100644 --- a/kubernetes/main/apps/dev/actions-runner-controller/runners/home-ops.yaml +++ b/kubernetes/main/apps/dev/actions-runner-controller/runners/home-ops.yaml @@ -9,7 +9,7 @@ spec: chart: spec: chart: actions-runner-controller-charts/gha-runner-scale-set - version: 0.8.1 + version: 0.8.2 sourceRef: kind: HelmRepository name: actions-runner-controller diff --git a/kubernetes/main/apps/downloads/prowlarr/app/helmrelease.yaml b/kubernetes/main/apps/downloads/prowlarr/app/helmrelease.yaml index 0b0e64aedab..8fd538e4776 100644 --- a/kubernetes/main/apps/downloads/prowlarr/app/helmrelease.yaml +++ b/kubernetes/main/apps/downloads/prowlarr/app/helmrelease.yaml @@ -38,7 +38,7 @@ spec: main: image: repository: ghcr.io/onedr0p/prowlarr-nightly - tag: 1.13.1.4233@sha256:6d959bc6eb977870dec0f37c9895de9a5563f887cd5e049a48cd97af88547389 + tag: 1.13.1.4242@sha256:1cb120e3366e8b51bc5cfba2e219bd37fa4a48acf57576cf5edabbdd5d4475e5 env: COMPlus_EnableDiagnostics: "0" PROWLARR__INSTANCE_NAME: Prowlarr diff --git a/kubernetes/main/apps/monitoring/thanos/app/helmrelease.yaml b/kubernetes/main/apps/monitoring/thanos/app/helmrelease.yaml index 61bf8e9e29b..df3793b3fcc 100644 --- a/kubernetes/main/apps/monitoring/thanos/app/helmrelease.yaml +++ b/kubernetes/main/apps/monitoring/thanos/app/helmrelease.yaml @@ -9,7 +9,7 @@ spec: chart: spec: chart: thanos - version: 12.21.1 + version: 12.22.0 sourceRef: kind: HelmRepository name: bitnami diff --git a/kubernetes/main/apps/network/cloudflared/app/helmrelease.yaml b/kubernetes/main/apps/network/cloudflared/app/helmrelease.yaml index 38795f6b9f2..a04abdc314c 100644 --- a/kubernetes/main/apps/network/cloudflared/app/helmrelease.yaml +++ b/kubernetes/main/apps/network/cloudflared/app/helmrelease.yaml @@ -41,7 +41,7 @@ spec: main: image: repository: docker.io/cloudflare/cloudflared - tag: 2024.1.4 + tag: 2024.1.5 args: - tunnel - --config diff --git a/kubernetes/main/apps/network/external-dns/external/helmrelease.yaml b/kubernetes/main/apps/network/external-dns/external/helmrelease.yaml index d06488fa641..150eb7e5ab2 100644 --- a/kubernetes/main/apps/network/external-dns/external/helmrelease.yaml +++ b/kubernetes/main/apps/network/external-dns/external/helmrelease.yaml @@ -9,7 +9,7 @@ spec: chart: spec: chart: external-dns - version: 1.14.2 + version: 1.14.3 sourceRef: kind: HelmRepository name: kubernetes-sigs-external-dns diff --git a/kubernetes/main/apps/network/external-dns/internal/helmrelease.yaml b/kubernetes/main/apps/network/external-dns/internal/helmrelease.yaml index 033602af383..6ca1894ce5e 100644 --- a/kubernetes/main/apps/network/external-dns/internal/helmrelease.yaml +++ b/kubernetes/main/apps/network/external-dns/internal/helmrelease.yaml @@ -9,7 +9,7 @@ spec: chart: spec: chart: external-dns - version: 1.14.2 + version: 1.14.3 sourceRef: kind: HelmRepository name: kubernetes-sigs-external-dns diff --git a/kubernetes/main/apps/selfhosted/kustomization.yaml b/kubernetes/main/apps/selfhosted/kustomization.yaml index ab29990b42c..b8286fd1595 100644 --- a/kubernetes/main/apps/selfhosted/kustomization.yaml +++ b/kubernetes/main/apps/selfhosted/kustomization.yaml @@ -9,6 +9,7 @@ resources: - ./atuin/ks.yaml - ./libreddit/ks.yaml - ./linkding/ks.yaml + - ./maker-management-platform - ./miniflux/ks.yaml - ./mealie/ks.yaml - ./node-red/ks.yaml diff --git a/kubernetes/main/apps/selfhosted/maker-management-platform/app/helmrelease.yaml b/kubernetes/main/apps/selfhosted/maker-management-platform/app/helmrelease.yaml new file mode 100644 index 00000000000..1f3c351ba53 --- /dev/null +++ b/kubernetes/main/apps/selfhosted/maker-management-platform/app/helmrelease.yaml @@ -0,0 +1,100 @@ +--- +# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta2.json +apiVersion: helm.toolkit.fluxcd.io/v2beta2 +kind: HelmRelease +metadata: + name: maker-management-platform +spec: + interval: 30m + chart: + spec: + chart: app-template + version: 2.5.0 + interval: 30m + sourceRef: + kind: HelmRepository + name: bjw-s + namespace: flux-system + + values: + controllers: + main: + annotations: + reloader.stakater.com/auto: "true" + + pod: + enableServiceLinks: false + securityContext: + # TODO: can't run all containers as ${APP_UID} until https://github.com/Maker-Management-Platform/agent/pull/86 gets merged + fsGroup: ${APP_GID} + fsGroupChangePolicy: "OnRootMismatch" + + containers: + main: + enabled: false + agent: + image: + repository: ghcr.io/maker-management-platform/agent + tag: v1.0.3 + env: + LIBRARY_PATH: /library + LOG_PATH: "" + resources: + requests: + cpu: 12m + memory: 128M + limits: + memory: 512M + ui: + image: + repository: ghcr.io/maker-management-platform/mmp-ui + tag: v1.0.2 + env: + AGENT_ADDRESS: localhost:8000 + resources: + requests: + cpu: 12m + memory: 128M + limits: + memory: 128M + securityContext: + runAsUser: ${APP_UID} + runAsGroup: ${APP_GID} + + service: + main: + ports: + http: + port: 8081 + + ingress: + main: + enabled: true + className: "internal-nginx" + hosts: + - host: "${HOSTNAME}" + paths: + - path: / + service: + name: main + port: http + tls: + - hosts: + - "${HOSTNAME}" + + persistence: + library: + enabled: true + existingClaim: "${VOLSYNC_CLAIM}" + advancedMounts: + main: + main: + - path: /library + # Prevents errors due to running as non-default user + caddy: + enabled: true + type: emptyDir + advancedMounts: + main: + ui: + - path: /config/caddy diff --git a/kubernetes/main/apps/selfhosted/maker-management-platform/app/kustomization.yaml b/kubernetes/main/apps/selfhosted/maker-management-platform/app/kustomization.yaml new file mode 100644 index 00000000000..077527c8e3f --- /dev/null +++ b/kubernetes/main/apps/selfhosted/maker-management-platform/app/kustomization.yaml @@ -0,0 +1,6 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - ./helmrelease.yaml + - ../../../../templates/volsync diff --git a/kubernetes/main/apps/selfhosted/maker-management-platform/ks.yaml b/kubernetes/main/apps/selfhosted/maker-management-platform/ks.yaml new file mode 100644 index 00000000000..25a0ba5e8a1 --- /dev/null +++ b/kubernetes/main/apps/selfhosted/maker-management-platform/ks.yaml @@ -0,0 +1,30 @@ +--- +# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: &appname maker-management-platform + namespace: flux-system +spec: + targetNamespace: selfhosted + commonMetadata: + labels: + app.kubernetes.io/name: *appname + interval: 10m + path: "./kubernetes/main/apps/selfhosted/maker-management-platform/app" + prune: true + sourceRef: + kind: GitRepository + name: home-ops-kubernetes + wait: false + dependsOn: + - name: rook-ceph-cluster + - name: volsync + - name: external-secrets-stores + postBuild: + substitute: + APP: *appname + HOSTNAME: mmp.bjw-s.dev + APP_UID: "568" + APP_GID: "568" + VOLSYNC_CLAIM: maker-management-platform-library diff --git a/kubernetes/nas/apps/network/external-dns/internal/helmrelease.yaml b/kubernetes/nas/apps/network/external-dns/internal/helmrelease.yaml index 89974166027..c1a4ac3ff9a 100644 --- a/kubernetes/nas/apps/network/external-dns/internal/helmrelease.yaml +++ b/kubernetes/nas/apps/network/external-dns/internal/helmrelease.yaml @@ -9,7 +9,7 @@ spec: chart: spec: chart: external-dns - version: 1.14.2 + version: 1.14.3 sourceRef: kind: HelmRepository name: kubernetes-sigs-external-dns