Compare commits

..

1 commit

Author SHA1 Message Date
716c303987 Update image code.forgejo.org/forgejo/runner to v5.0.2 2024-11-21 14:34:04 +00:00
41 changed files with 88 additions and 65 deletions

View file

@ -1,55 +0,0 @@
---
# yaml-language-server: $schema=https://ks.hsn.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: &app plex
namespace: flux-system
spec:
targetNamespace: default
commonMetadata:
labels:
app.kubernetes.io/name: *app
path: ./kubernetes/apps/default/plex/app
prune: true
sourceRef:
kind: GitRepository
name: theshire
wait: true
dependsOn:
- name: rook-ceph-cluster
- name: volsync
- name: external-secrets-stores
interval: 30m
timeout: 5m
postBuild:
substitute:
APP: *app
GATUS_PATH: /web/index.html
VOLSYNC_CAPACITY: 30Gi
---
# yaml-language-server: $schema=https://ks.hsn.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: &app kometa-image-maid
namespace: flux-system
spec:
targetNamespace: default
commonMetadata:
labels:
app.kubernetes.io/name: *app
interval: 30m
timeout: 5m
path: "./kubernetes/apps/default/plex/kometa-image-maid"
prune: true
sourceRef:
kind: GitRepository
name: theshire
wait: false
dependsOn:
- name: external-secrets-stores
- name: plex
postBuild:
substitute:
APP: *app

View file

@ -6,4 +6,5 @@ resources:
# Pre Flux-Kustomizations # Pre Flux-Kustomizations
- ./namespace.yaml - ./namespace.yaml
# Flux-Kustomizations # Flux-Kustomizations
- ./ollama/ks.yaml
- ./open-webui/ks.yaml - ./open-webui/ks.yaml

View file

@ -12,6 +12,7 @@ spec:
app.kubernetes.io/name: *app app.kubernetes.io/name: *app
dependsOn: dependsOn:
- name: volsync - name: volsync
- name: ollama
path: ./kubernetes/apps/ai/open-webui/app path: ./kubernetes/apps/ai/open-webui/app
prune: true prune: true
sourceRef: sourceRef:

View file

@ -6,6 +6,8 @@ resources:
# Pre Flux-Kustomizations # Pre Flux-Kustomizations
- ./namespace.yaml - ./namespace.yaml
# Flux-Kustomizations # Flux-Kustomizations
- ./jellyfin/ks.yaml # sqlite
- ./jellyseerr/ks.yaml # sqlite - ./jellyseerr/ks.yaml # sqlite
- ./radarr/ks.yaml # postgres - ./radarr/ks.yaml # postgres
# - ./shoko/ks.yaml # sqlite
- ./sonarr/ks.yaml # postgres - ./sonarr/ks.yaml # postgres

View file

@ -30,7 +30,7 @@ spec:
runner-register: runner-register:
image: image:
repository: code.forgejo.org/forgejo/runner repository: code.forgejo.org/forgejo/runner
tag: 5.0.0 tag: 5.0.2
command: command:
- "forgejo-runner" - "forgejo-runner"
- "register" - "register"
@ -72,7 +72,7 @@ spec:
app: app:
image: image:
repository: code.forgejo.org/forgejo/runner repository: code.forgejo.org/forgejo/runner
tag: 5.0.0 tag: 5.0.2
command: command:
- "sh" - "sh"
- "-c" - "-c"

View file

@ -22,6 +22,7 @@ resources:
- ./recyclarr/ks.yaml - ./recyclarr/ks.yaml
- ./redlib/ks.yaml - ./redlib/ks.yaml
- ./sabnzbd/ks.yaml - ./sabnzbd/ks.yaml
- ./scrypted/ks.yaml
- ./searxng/ks.yaml - ./searxng/ks.yaml
- ./sonarr/ks.yaml - ./sonarr/ks.yaml
- ./stirling-pdf/ks.yaml - ./stirling-pdf/ks.yaml

View file

@ -2,6 +2,35 @@
# yaml-language-server: $schema=https://ks.hsn.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json # yaml-language-server: $schema=https://ks.hsn.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1 apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization kind: Kustomization
metadata:
name: &app plex
namespace: flux-system
spec:
targetNamespace: default
commonMetadata:
labels:
app.kubernetes.io/name: *app
path: ./kubernetes/apps/default/plex/app
prune: true
sourceRef:
kind: GitRepository
name: theshire
wait: true
dependsOn:
- name: rook-ceph-cluster
- name: volsync
- name: external-secrets-stores
interval: 30m
timeout: 5m
postBuild:
substitute:
APP: *app
GATUS_PATH: /web/index.html
VOLSYNC_CAPACITY: 30Gi
---
# yaml-language-server: $schema=https://ks.hsn.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata: metadata:
name: &app plex-trakt-sync name: &app plex-trakt-sync
namespace: flux-system namespace: flux-system
@ -22,7 +51,34 @@ spec:
- name: rook-ceph-cluster - name: rook-ceph-cluster
- name: volsync - name: volsync
- name: external-secrets-stores - name: external-secrets-stores
- name: plex
postBuild: postBuild:
substitute: substitute:
APP: *app APP: *app
VOLSYNC_CAPACITY: 1Gi VOLSYNC_CAPACITY: 1Gi
---
# yaml-language-server: $schema=https://ks.hsn.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: &app kometa-image-maid
namespace: flux-system
spec:
targetNamespace: default
commonMetadata:
labels:
app.kubernetes.io/name: *app
interval: 30m
timeout: 5m
path: "./kubernetes/apps/default/plex/kometa-image-maid"
prune: true
sourceRef:
kind: GitRepository
name: theshire
wait: false
dependsOn:
- name: external-secrets-stores
- name: plex
postBuild:
substitute:
APP: *app

View file

@ -37,8 +37,8 @@ spec:
args: args:
- sync - sync
env: env:
PLEX_BASEURL: http://10.1.1.61:32400 PLEX_BASEURL: http://plex.default.svc.cluster.local:32400
PLEX_LOCALURL: http://10.1.1.61:32400 PLEX_LOCALURL: http://plex.default.svc.cluster.local:32400
PLEX_USERNAME: veriwind PLEX_USERNAME: veriwind
TRAKT_USERNAME: jahanson TRAKT_USERNAME: jahanson
probes: probes:

View file

@ -75,9 +75,12 @@ spec:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
capabilities: { drop: ["ALL"] } capabilities: { drop: ["ALL"] }
resources:
requests:
cpu: 100m
limits:
memory: 16Gi
defaultPodOptions: defaultPodOptions:
nodeSelector: # ~~testing~~
kubernetes.io/hostname: gandalf-01
securityContext: securityContext:
runAsNonRoot: true runAsNonRoot: true
runAsUser: 568 runAsUser: 568

View file

@ -1,2 +1,2 @@
--- ---
providerRegex: ^bilbo|^frodo|^sam|^merry|^pippin|^rosie|^gandalf-01$ providerRegex: ^bilbo|^frodo|^sam|^merry|^pippin|^rosie|^shadowfax-01|^gandalf-01$

View file

@ -196,6 +196,9 @@ spec:
cert-manager: cert-manager:
url: https://gitlab.com/uneeq-oss/cert-manager-mixin/-/raw/master/dashboards/cert-manager.json?ref_type=heads url: https://gitlab.com/uneeq-oss/cert-manager-mixin/-/raw/master/dashboards/cert-manager.json?ref_type=heads
datasource: Prometheus datasource: Prometheus
dcgm-exporter:
url: https://raw.githubusercontent.com/NVIDIA/dcgm-exporter/main/grafana/dcgm-exporter-dashboard.json
datasource: Prometheus
external-secrets: external-secrets:
url: https://raw.githubusercontent.com/external-secrets/external-secrets/main/docs/snippets/dashboard.json url: https://raw.githubusercontent.com/external-secrets/external-secrets/main/docs/snippets/dashboard.json
datasource: Prometheus datasource: Prometheus

View file

@ -66,9 +66,15 @@ spec:
capabilities: capabilities:
drop: drop:
- ALL - ALL
resources:
requests:
cpu: 100m
memory: 1024Mi
limits:
memory: 8Gi
defaultPodOptions: defaultPodOptions:
nodeSelector: # ~~testing~~ nodeSelector: # ~~testing~~
kubernetes.io/hostname: gandalf-01 kubernetes.io/hostname: shadowfax-01
securityContext: securityContext:
runAsNonRoot: true runAsNonRoot: true
runAsUser: 568 runAsUser: 568

View file

@ -22,6 +22,8 @@ spec:
strategy: rollback strategy: rollback
retries: 3 retries: 3
dependsOn: dependsOn:
- name: kyverno
namespace: kyverno
- name: snapshot-controller - name: snapshot-controller
namespace: volsync-system namespace: volsync-system
values: values:

View file

@ -10,6 +10,8 @@ spec:
commonMetadata: commonMetadata:
labels: labels:
app.kubernetes.io/name: *app app.kubernetes.io/name: *app
dependsOn:
- name: cluster-policies
path: ./kubernetes/apps/volsync-system/volsync/app path: ./kubernetes/apps/volsync-system/volsync/app
prune: true prune: true
sourceRef: sourceRef:

View file

@ -4,5 +4,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- ./claim.yaml - ./claim.yaml
- ./minio.yaml - ./nfs.yaml
- ./r2.yaml - ./r2.yaml

View file

@ -15,6 +15,8 @@ pkgs.mkShell {
gitleaks gitleaks
helmfile helmfile
k9s k9s
krew
kubectl
kubevirt kubevirt
kubernetes-helm kubernetes-helm
pre-commit pre-commit
@ -23,6 +25,5 @@ pkgs.mkShell {
mqttui mqttui
kustomize kustomize
yq-go yq-go
go-task
]; ];
} }