Compare commits
110 commits
renovate/p
...
main
Author | SHA1 | Date | |
---|---|---|---|
18c4acef70 | |||
1b362f4cc4 | |||
35263bda94 | |||
4b47b130aa | |||
d0d5350a92 | |||
aa9c28db43 | |||
2f434cf580 | |||
651a30b75c | |||
5aa0355b58 | |||
d439ff9175 | |||
7e04c17bf5 | |||
7196c84c51 | |||
87971913b2 | |||
8121351e9c | |||
907b0b7746 | |||
b2bac535a7 | |||
37857f6937 | |||
6fc5d078a2 | |||
b2aeef55f8 | |||
927ab1adf5 | |||
64f257f1d4 | |||
4352717e22 | |||
65022cdf10 | |||
66dbac10d5 | |||
dc81c04418 | |||
2793ce316c | |||
01ac9b0e2f | |||
999144193a | |||
bd5633bf2a | |||
0c112958e5 | |||
4138eddb1e | |||
2fe359aee1 | |||
198ca231a6 | |||
e26f8eb688 | |||
3bd342bd13 | |||
66b5241224 | |||
123b107b2a | |||
df0327db00 | |||
a46de3ac82 | |||
6c402b834b | |||
da2e892508 | |||
eeb4413ca9 | |||
638f7edc64 | |||
4af91bd59d | |||
03f3e53825 | |||
e5105e075b | |||
978fa93843 | |||
3035f6216e | |||
1d6ed5d2b9 | |||
3307aa1ffe | |||
79c57a7cae | |||
e067cf670b | |||
c4be806144 | |||
4a828789aa | |||
90703db7ab | |||
0ce84e03be | |||
503836d548 | |||
38ffa36a87 | |||
26d3dfff47 | |||
f040949c67 | |||
06506dd568 | |||
b89fed5929 | |||
6a249d4435 | |||
2a67024955 | |||
82f111a171 | |||
3d6625757b | |||
7048fb53a8 | |||
c7ef6772e1 | |||
99e2d29620 | |||
e7518fb4d5 | |||
608d45ca0d | |||
de370014ad | |||
caeae43edd | |||
1d69abe3bb | |||
fed987bcc5 | |||
ec3e548f0e | |||
7f8b52a128 | |||
efba82a2d4 | |||
5aa07f99a3 | |||
e9bc8fe595 | |||
448f537348 | |||
6b4bba703d | |||
ce0be413d5 | |||
0ab974557b | |||
2a2bd43d1e | |||
d662e11528 | |||
8cf9def0eb | |||
8c7ad109ae | |||
089b038fcb | |||
6d331ccb3f | |||
8f73a2a690 | |||
8101fefbdd | |||
b37de1703a | |||
a55ad296ee | |||
a5e54c3fd9 | |||
03e42a737b | |||
03bbedfe2c | |||
1ecce49f3b | |||
a152194545 | |||
7d55efb333 | |||
510a813635 | |||
87bf3997cf | |||
e5e5e232fa | |||
621d2b6931 | |||
6cf09d4a61 | |||
716c303987 | |||
f54014e6b1 | |||
b0c70a7754 | |||
aac87a3bc7 | |||
866ef866b8 |
89 changed files with 643 additions and 126 deletions
55
.archive/default/plex/ks.yaml
Normal file
55
.archive/default/plex/ks.yaml
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
---
|
||||||
|
# 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
|
|
@ -6,5 +6,4 @@ 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
|
||||||
|
|
|
@ -33,10 +33,10 @@ spec:
|
||||||
app:
|
app:
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/open-webui/open-webui
|
repository: ghcr.io/open-webui/open-webui
|
||||||
tag: v0.4.0
|
tag: v0.4.5
|
||||||
env:
|
env:
|
||||||
- name: OLLAMA_BASE_URL
|
- name: OLLAMA_BASE_URL
|
||||||
value: http://ollama.ai.svc.cluster.local:11434
|
value: http://10.1.1.61:11434
|
||||||
- name: ENABLE_RAG_WEB_SEARCH
|
- name: ENABLE_RAG_WEB_SEARCH
|
||||||
value: true
|
value: true
|
||||||
- name: RAG_WEB_SEARCH_ENGINE
|
- name: RAG_WEB_SEARCH_ENGINE
|
||||||
|
|
|
@ -12,7 +12,6 @@ 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:
|
||||||
|
|
|
@ -6,8 +6,6 @@ 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
|
||||||
|
|
|
@ -31,7 +31,7 @@ spec:
|
||||||
app:
|
app:
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/onedr0p/sonarr-develop
|
repository: ghcr.io/onedr0p/sonarr-develop
|
||||||
tag: 4.0.10.2656
|
tag: 4.0.11.2697
|
||||||
env:
|
env:
|
||||||
SONARR__APP__INSTANCENAME: Sonarr-Anime
|
SONARR__APP__INSTANCENAME: Sonarr-Anime
|
||||||
SONARR__APP__THEME: dark
|
SONARR__APP__THEME: dark
|
||||||
|
|
|
@ -10,7 +10,7 @@ spec:
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: cert-manager
|
chart: cert-manager
|
||||||
version: v1.16.1
|
version: v1.16.2
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: jetstack
|
name: jetstack
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -144,6 +144,11 @@ spec:
|
||||||
- jellyseerr
|
- jellyseerr
|
||||||
password:
|
password:
|
||||||
type: AlphaNumeric
|
type: AlphaNumeric
|
||||||
|
- name: ptero
|
||||||
|
databases:
|
||||||
|
- ptero
|
||||||
|
password:
|
||||||
|
type: AlphaNumeric
|
||||||
|
|
||||||
|
|
||||||
backups:
|
backups:
|
||||||
|
|
|
@ -9,7 +9,7 @@ spec:
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: pgo
|
chart: pgo
|
||||||
version: 5.7.0
|
version: 5.7.1
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: crunchydata
|
name: crunchydata
|
||||||
|
|
|
@ -5,7 +5,7 @@ kind: Dragonfly
|
||||||
metadata:
|
metadata:
|
||||||
name: dragonfly
|
name: dragonfly
|
||||||
spec:
|
spec:
|
||||||
image: ghcr.io/dragonflydb/dragonfly:v1.25.1
|
image: ghcr.io/dragonflydb/dragonfly:v1.25.4
|
||||||
replicas: 3
|
replicas: 3
|
||||||
env:
|
env:
|
||||||
- name: MAX_MEMORY
|
- name: MAX_MEMORY
|
||||||
|
|
|
@ -10,3 +10,4 @@ resources:
|
||||||
- ./dragonfly/ks.yaml
|
- ./dragonfly/ks.yaml
|
||||||
- ./emqx/ks.yaml
|
- ./emqx/ks.yaml
|
||||||
- ./influxdb/ks.yaml
|
- ./influxdb/ks.yaml
|
||||||
|
- ./mariadb/ks.yaml
|
||||||
|
|
78
kubernetes/apps/database/mariadb/cluster/backup.yaml
Normal file
78
kubernetes/apps/database/mariadb/cluster/backup.yaml
Normal file
|
@ -0,0 +1,78 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://ks.hsn.dev/k8s.mariadb.com/backup_v1alpha1.json
|
||||||
|
apiVersion: k8s.mariadb.com/v1alpha1
|
||||||
|
kind: Backup
|
||||||
|
metadata:
|
||||||
|
name: &name mariadb-backup
|
||||||
|
spec:
|
||||||
|
mariaDbRef:
|
||||||
|
name: mariadb
|
||||||
|
timeZone: "America/Chicago"
|
||||||
|
schedule:
|
||||||
|
cron: "0 * * * *"
|
||||||
|
suspend: false
|
||||||
|
stagingStorage:
|
||||||
|
persistentVolumeClaim:
|
||||||
|
storageClassName: openebs-hostpath
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 6Gi
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
podSecurityContext:
|
||||||
|
runAsUser: 568
|
||||||
|
runAsGroup: 568
|
||||||
|
fsGroup: 568
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
|
storage:
|
||||||
|
s3:
|
||||||
|
endpoint: s3.hsn.dev
|
||||||
|
bucket: mariadb
|
||||||
|
prefix: full/
|
||||||
|
accessKeyIdSecretKeyRef:
|
||||||
|
name: mariadb-secret
|
||||||
|
key: AWS_ACCESS_KEY_ID
|
||||||
|
secretAccessKeySecretKeyRef:
|
||||||
|
name: mariadb-secret
|
||||||
|
key: AWS_SECRET_ACCESS_KEY
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://ks.hsn.dev/k8s.mariadb.com/backup_v1alpha1.json
|
||||||
|
apiVersion: k8s.mariadb.com/v1alpha1
|
||||||
|
kind: Backup
|
||||||
|
metadata:
|
||||||
|
name: &name mariadb-pterodactyl-backup
|
||||||
|
namespace: database
|
||||||
|
spec:
|
||||||
|
mariaDbRef:
|
||||||
|
name: mariadb
|
||||||
|
namespace: database
|
||||||
|
timeZone: "America/Chicago"
|
||||||
|
schedule:
|
||||||
|
cron: "0 * * * *"
|
||||||
|
suspend: false
|
||||||
|
stagingStorage:
|
||||||
|
persistentVolumeClaim:
|
||||||
|
storageClassName: openebs-hostpath
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 6Gi
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
podSecurityContext:
|
||||||
|
runAsUser: 568
|
||||||
|
runAsGroup: 568
|
||||||
|
fsGroup: 568
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
|
databases:
|
||||||
|
- pterodactyl
|
||||||
|
storage:
|
||||||
|
s3:
|
||||||
|
endpoint: s3.hsn.dev
|
||||||
|
bucket: mariadb
|
||||||
|
prefix: pterodactyl/
|
||||||
|
accessKeyIdSecretKeyRef:
|
||||||
|
name: mariadb-secret
|
||||||
|
key: AWS_ACCESS_KEY_ID
|
||||||
|
secretAccessKeySecretKeyRef:
|
||||||
|
name: mariadb-secret
|
||||||
|
key: AWS_SECRET_ACCESS_KEY
|
27
kubernetes/apps/database/mariadb/cluster/externalsecret.yaml
Normal file
27
kubernetes/apps/database/mariadb/cluster/externalsecret.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/externalsecret_v1beta1.json
|
||||||
|
apiVersion: external-secrets.io/v1beta1
|
||||||
|
kind: ExternalSecret
|
||||||
|
metadata:
|
||||||
|
name: &name mariadb
|
||||||
|
spec:
|
||||||
|
secretStoreRef:
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
name: onepassword-connect
|
||||||
|
target:
|
||||||
|
name: mariadb-secret
|
||||||
|
template:
|
||||||
|
engineVersion: v2
|
||||||
|
data:
|
||||||
|
AWS_ACCESS_KEY_ID: "{{ .minio_mariadb_access_key }}"
|
||||||
|
AWS_SECRET_ACCESS_KEY: "{{ .minio_mariadb_secret_key }}"
|
||||||
|
dataFrom:
|
||||||
|
- extract:
|
||||||
|
key: minio
|
||||||
|
rewrite:
|
||||||
|
- regexp:
|
||||||
|
source: "[-]"
|
||||||
|
target: "_"
|
||||||
|
- regexp:
|
||||||
|
source: "(.*)"
|
||||||
|
target: "minio_$1"
|
21
kubernetes/apps/database/mariadb/cluster/gatus.yaml
Normal file
21
kubernetes/apps/database/mariadb/cluster/gatus.yaml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: mariadb-gatus-ep
|
||||||
|
labels:
|
||||||
|
gatus.io/enabled: "true"
|
||||||
|
data:
|
||||||
|
config.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: mariadb
|
||||||
|
group: infrastructure
|
||||||
|
url: tcp://mariadb.database.svc.cluster.local:3306
|
||||||
|
interval: 1m
|
||||||
|
ui:
|
||||||
|
hide-url: true
|
||||||
|
hide-hostname: true
|
||||||
|
conditions:
|
||||||
|
- "[CONNECTED] == true"
|
||||||
|
alerts:
|
||||||
|
- type: pushover
|
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ./backup.yaml
|
||||||
|
- ./externalsecret.yaml
|
||||||
|
- ./gatus.yaml
|
||||||
|
- ./mariadb.yaml
|
38
kubernetes/apps/database/mariadb/cluster/mariadb.yaml
Normal file
38
kubernetes/apps/database/mariadb/cluster/mariadb.yaml
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://ks.hsn.dev/k8s.mariadb.com/mariadb_v1alpha1.json
|
||||||
|
apiVersion: k8s.mariadb.com/v1alpha1
|
||||||
|
kind: MariaDB
|
||||||
|
metadata:
|
||||||
|
name: &name mariadb
|
||||||
|
spec:
|
||||||
|
# renovate: datasource=docker depName=docker.io/library/mariadb
|
||||||
|
image: docker.io/library/mariadb:11.6.2
|
||||||
|
replicas: 3
|
||||||
|
storage:
|
||||||
|
size: 5Gi
|
||||||
|
storageClassName: openebs-hostpath
|
||||||
|
# bootstrapFrom:
|
||||||
|
# backupRef:
|
||||||
|
# name: mariadb-backup
|
||||||
|
maxScale:
|
||||||
|
enabled: true
|
||||||
|
kubernetesService:
|
||||||
|
type: LoadBalancer
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
io.cilium/lb-ipam-ips: 10.1.1.39
|
||||||
|
connection:
|
||||||
|
secretName: mxs-connection
|
||||||
|
port: 3306
|
||||||
|
galera:
|
||||||
|
enabled: true
|
||||||
|
podSecurityContext:
|
||||||
|
runAsUser: 568
|
||||||
|
runAsGroup: 568
|
||||||
|
fsGroup: 568
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
|
service:
|
||||||
|
type: LoadBalancer
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
io.cilium/lb-ipam-ips: 10.1.1.33
|
17
kubernetes/apps/database/mariadb/cluster/restore.yaml
Normal file
17
kubernetes/apps/database/mariadb/cluster/restore.yaml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://ks.hsn.dev/k8s.mariadb.com/restore_v1alpha1.json
|
||||||
|
apiVersion: k8s.mariadb.com/v1alpha1
|
||||||
|
kind: Restore
|
||||||
|
metadata:
|
||||||
|
name: restore
|
||||||
|
spec:
|
||||||
|
mariaDbRef:
|
||||||
|
name: mariadb
|
||||||
|
namespace: database
|
||||||
|
backupRef:
|
||||||
|
name: mariadb-backup
|
||||||
|
podSecurityContext:
|
||||||
|
runAsUser: 568
|
||||||
|
runAsGroup: 568
|
||||||
|
fsGroup: 568
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
17
kubernetes/apps/database/mariadb/crds/helmrelease.yaml
Normal file
17
kubernetes/apps/database/mariadb/crds/helmrelease.yaml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://ks.hsn.dev/helm.toolkit.fluxcd.io/helmrelease_v2.json
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: mariadb-operator-crds
|
||||||
|
spec:
|
||||||
|
interval: 30m
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: mariadb-operator-crds
|
||||||
|
version: 0.36.0
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: mariadb-operator
|
||||||
|
namespace: flux-system
|
||||||
|
interval: 5m
|
6
kubernetes/apps/database/mariadb/crds/kustomization.yaml
Normal file
6
kubernetes/apps/database/mariadb/crds/kustomization.yaml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- helmrelease.yaml
|
64
kubernetes/apps/database/mariadb/ks.yaml
Normal file
64
kubernetes/apps/database/mariadb/ks.yaml
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
---
|
||||||
|
# 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 mariadb-operator
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
targetNamespace: database
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
|
dependsOn:
|
||||||
|
- name: external-secrets-stores
|
||||||
|
path: ./kubernetes/apps/database/mariadb/operator
|
||||||
|
prune: true
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: theshire
|
||||||
|
wait: true
|
||||||
|
interval: 30m
|
||||||
|
timeout: 5m
|
||||||
|
---
|
||||||
|
# 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 mariadb-operator-crds
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
targetNamespace: database
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
|
path: ./kubernetes/apps/database/mariadb/crds
|
||||||
|
prune: true
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: theshire
|
||||||
|
wait: true
|
||||||
|
interval: 30m
|
||||||
|
timeout: 5m
|
||||||
|
---
|
||||||
|
# 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 mariadb-cluster
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
targetNamespace: database
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
|
dependsOn:
|
||||||
|
- name: external-secrets-stores
|
||||||
|
path: ./kubernetes/apps/database/mariadb/cluster
|
||||||
|
prune: true
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: theshire
|
||||||
|
wait: true
|
||||||
|
interval: 30m
|
||||||
|
timeout: 5m
|
31
kubernetes/apps/database/mariadb/operator/helmrelease.yaml
Normal file
31
kubernetes/apps/database/mariadb/operator/helmrelease.yaml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://ks.hsn.dev/helm.toolkit.fluxcd.io/helmrelease_v2.json
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: mariadb-operator
|
||||||
|
spec:
|
||||||
|
interval: 30m
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: mariadb-operator
|
||||||
|
version: 0.36.0
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: mariadb-operator
|
||||||
|
namespace: flux-system
|
||||||
|
interval: 5m
|
||||||
|
values:
|
||||||
|
logLevel: debug
|
||||||
|
image:
|
||||||
|
repository: ghcr.io/mariadb-operator/mariadb-operator
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
metrics:
|
||||||
|
enabled: true
|
||||||
|
serviceMonitor:
|
||||||
|
enabled: true
|
||||||
|
webhook:
|
||||||
|
certificate:
|
||||||
|
certManager: true
|
||||||
|
serviceMonitor:
|
||||||
|
enabled: true
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- helmrelease.yaml
|
|
@ -31,7 +31,7 @@ spec:
|
||||||
app:
|
app:
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/autobrr/autobrr
|
repository: ghcr.io/autobrr/autobrr
|
||||||
tag: v1.50.0@sha256:6a6f23570ab6b418318ab12bf2558712714e2f243cf18b139afa414f8417e97d
|
tag: v1.51.1@sha256:747c682d8d59e72a202ee4239bafbd7cfa10b0fc3a6220b61446de73dbd0c956
|
||||||
env:
|
env:
|
||||||
AUTOBRR__CHECK_FOR_UPDATES: "false"
|
AUTOBRR__CHECK_FOR_UPDATES: "false"
|
||||||
AUTOBRR__HOST: 0.0.0.0
|
AUTOBRR__HOST: 0.0.0.0
|
||||||
|
|
|
@ -30,7 +30,7 @@ spec:
|
||||||
app:
|
app:
|
||||||
image:
|
image:
|
||||||
repository: docker.io/excalidraw/excalidraw
|
repository: docker.io/excalidraw/excalidraw
|
||||||
tag: latest@sha256:4d5423c1d80f353458307324b169500df334856eccc2e39fc6fa13808a64e1c2
|
tag: latest@sha256:c6b7fc35e9e9cfb2b85e76081530223407b00157896b00a01f272b4085ffe4c9
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
|
|
|
@ -36,7 +36,7 @@ spec:
|
||||||
app:
|
app:
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/onedr0p/home-assistant
|
repository: ghcr.io/onedr0p/home-assistant
|
||||||
tag: 2024.11.2@sha256:58df3d1169fb02ef2fb6f6cb2f2423abeb2142f89f3c0fd447cc983d63825c56
|
tag: 2024.11.3@sha256:f45f502b1738e46eb435fbc8947cdcc2574f3713b156c6738129ea2ea9b49018
|
||||||
env:
|
env:
|
||||||
TZ: America/Chicago
|
TZ: America/Chicago
|
||||||
envFrom:
|
envFrom:
|
||||||
|
|
|
@ -18,11 +18,11 @@ resources:
|
||||||
- ./overseerr/ks.yaml
|
- ./overseerr/ks.yaml
|
||||||
- ./plex/ks.yaml
|
- ./plex/ks.yaml
|
||||||
- ./prowlarr/ks.yaml
|
- ./prowlarr/ks.yaml
|
||||||
|
- ./pterodactyl/ks.yaml
|
||||||
- ./radarr/ks.yaml
|
- ./radarr/ks.yaml
|
||||||
- ./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
|
||||||
|
|
|
@ -2,35 +2,6 @@
|
||||||
# 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
|
||||||
|
@ -51,34 +22,7 @@ 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
|
|
||||||
|
|
|
@ -37,8 +37,8 @@ spec:
|
||||||
args:
|
args:
|
||||||
- sync
|
- sync
|
||||||
env:
|
env:
|
||||||
PLEX_BASEURL: http://plex.default.svc.cluster.local:32400
|
PLEX_BASEURL: http://10.1.1.61:32400
|
||||||
PLEX_LOCALURL: http://plex.default.svc.cluster.local:32400
|
PLEX_LOCALURL: http://10.1.1.61:32400
|
||||||
PLEX_USERNAME: veriwind
|
PLEX_USERNAME: veriwind
|
||||||
TRAKT_USERNAME: jahanson
|
TRAKT_USERNAME: jahanson
|
||||||
probes:
|
probes:
|
||||||
|
|
|
@ -31,7 +31,7 @@ spec:
|
||||||
app:
|
app:
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/onedr0p/prowlarr-develop
|
repository: ghcr.io/onedr0p/prowlarr-develop
|
||||||
tag: 1.26.1.4844@sha256:dd6ab1a0c8f2d780b990f1034f2da6ffb0b4d3e3ca6042b656f691f06d4c9397
|
tag: 1.27.0.4852@sha256:6e1041a558cceee6356efe74cc9a9138909f4a8bac5eb714a420a37e4b478c77
|
||||||
env:
|
env:
|
||||||
# Ref: https://github.com/Radarr/Radarr/issues/7030#issuecomment-1039689518
|
# Ref: https://github.com/Radarr/Radarr/issues/7030#issuecomment-1039689518
|
||||||
# Ref: https://github.com/dotnet/runtime/issues/9336
|
# Ref: https://github.com/dotnet/runtime/issues/9336
|
||||||
|
|
30
kubernetes/apps/default/pterodactyl/app/externalsecret.yaml
Normal file
30
kubernetes/apps/default/pterodactyl/app/externalsecret.yaml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/externalsecret_v1beta1.json
|
||||||
|
apiVersion: external-secrets.io/v1beta1
|
||||||
|
kind: ExternalSecret
|
||||||
|
metadata:
|
||||||
|
name: pterodactyl
|
||||||
|
spec:
|
||||||
|
secretStoreRef:
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
name: onepassword-connect
|
||||||
|
target:
|
||||||
|
name: pterodactyl-secret
|
||||||
|
template:
|
||||||
|
engineVersion: v2
|
||||||
|
data:
|
||||||
|
APP_SERVICE_AUTHOR: "{{ .PTERODACTYL_APP_EMAIL }}"
|
||||||
|
APP_URL: "https://pt.hsn.dev"
|
||||||
|
DB_DATABASE: "pterodactyl"
|
||||||
|
DB_HOST: "mariadb.database.svc.cluster.local"
|
||||||
|
DB_PASSWORD: "{{ .PTERODACTYL_MARIADB_PANEL_PASSWORD }}"
|
||||||
|
DB_USERNAME: "pterodactyl"
|
||||||
|
REDIS_HOST: "dragonfly.database.svc.cluster.local"
|
||||||
|
|
||||||
|
dataFrom:
|
||||||
|
- extract:
|
||||||
|
key: pterodactyl
|
||||||
|
rewrite:
|
||||||
|
- regexp:
|
||||||
|
source: "(.*)"
|
||||||
|
target: "PTERODACTYL_$1"
|
101
kubernetes/apps/default/pterodactyl/app/helmrelease.yaml
Normal file
101
kubernetes/apps/default/pterodactyl/app/helmrelease.yaml
Normal file
|
@ -0,0 +1,101 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: &app pterodactyl
|
||||||
|
spec:
|
||||||
|
interval: 30m
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: app-template
|
||||||
|
version: 3.5.1
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: bjw-s
|
||||||
|
namespace: flux-system
|
||||||
|
install:
|
||||||
|
remediation:
|
||||||
|
retries: 3
|
||||||
|
upgrade:
|
||||||
|
cleanupOnFail: true
|
||||||
|
remediation:
|
||||||
|
retries: 3
|
||||||
|
strategy: rollback
|
||||||
|
values:
|
||||||
|
controllers:
|
||||||
|
pterodactyl:
|
||||||
|
annotations:
|
||||||
|
reloader.stakater.com/auto: "true"
|
||||||
|
containers:
|
||||||
|
app:
|
||||||
|
image:
|
||||||
|
repository: ghcr.io/pterodactyl/panel
|
||||||
|
tag: v1.11.10@sha256:6c9d060396c0a2c273aa5573460ed51f9176016dac59608b414a3cb02b0cc30c
|
||||||
|
env:
|
||||||
|
CACHE_DRIVER: "redis"
|
||||||
|
SESSION_DRIVER: "redis"
|
||||||
|
QUEUE_DRIVER: "redis"
|
||||||
|
APP_ENV: "production"
|
||||||
|
APP_ENVIRONMENT_ONLY: "false"
|
||||||
|
APP_TIMEZONE: America/Chicago
|
||||||
|
TRUSTED_PROXIES: "*"
|
||||||
|
TZ: America/Chicago
|
||||||
|
envFrom:
|
||||||
|
- secretRef:
|
||||||
|
name: pterodactyl-secret
|
||||||
|
securityContext:
|
||||||
|
allowPrivilegeEscalation: false
|
||||||
|
readOnlyRootFilesystem: true
|
||||||
|
capabilities: { drop: ["ALL"] }
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
limits:
|
||||||
|
memory: 1Gi
|
||||||
|
pod:
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 568
|
||||||
|
runAsGroup: 568
|
||||||
|
runAsNonRoot: true
|
||||||
|
fsGroup: 568
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
|
service:
|
||||||
|
app:
|
||||||
|
controller: pterodactyl
|
||||||
|
ports:
|
||||||
|
http:
|
||||||
|
port: 80
|
||||||
|
ingress:
|
||||||
|
app:
|
||||||
|
enabled: true
|
||||||
|
className: external-nginx
|
||||||
|
annotations:
|
||||||
|
external-dns.alpha.kubernetes.io/target: external.hsn.dev
|
||||||
|
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
|
||||||
|
hosts:
|
||||||
|
- host: &host "pt.hsn.dev"
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
service:
|
||||||
|
identifier: app
|
||||||
|
port: http
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- *host
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
existingClaim: *app
|
||||||
|
advancedMounts:
|
||||||
|
pterodactyl:
|
||||||
|
app:
|
||||||
|
- subPath: "config"
|
||||||
|
path: "/app/var"
|
||||||
|
- subPath: "nginx"
|
||||||
|
path: "/etc/nginx/http.d"
|
||||||
|
- subPath: "applogs"
|
||||||
|
path: "/app/storage/logs"
|
||||||
|
- subPath: "syslogs"
|
||||||
|
path: "/var/log"
|
||||||
|
- subPath: "letsencrypt"
|
||||||
|
path: "/etc/letsencrypt"
|
10
kubernetes/apps/default/pterodactyl/app/kustomization.yaml
Normal file
10
kubernetes/apps/default/pterodactyl/app/kustomization.yaml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../../../templates/volsync
|
||||||
|
- ../../../../templates/gatus/external
|
||||||
|
- ./externalsecret.yaml
|
||||||
|
# - ./helmrelease.yaml
|
||||||
|
- ./mariadb.yaml
|
46
kubernetes/apps/default/pterodactyl/app/mariadb.yaml
Normal file
46
kubernetes/apps/default/pterodactyl/app/mariadb.yaml
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://ks.hsn.dev/k8s.mariadb.com/database_v1alpha1.json
|
||||||
|
apiVersion: k8s.mariadb.com/v1alpha1
|
||||||
|
kind: Database
|
||||||
|
metadata:
|
||||||
|
name: pterodactyl
|
||||||
|
spec:
|
||||||
|
mariaDbRef:
|
||||||
|
name: mariadb
|
||||||
|
namespace: database
|
||||||
|
characterSet: utf8
|
||||||
|
collate: utf8_general_ci
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://ks.hsn.dev/k8s.mariadb.com/user_v1alpha1.json
|
||||||
|
apiVersion: k8s.mariadb.com/v1alpha1
|
||||||
|
kind: User
|
||||||
|
metadata:
|
||||||
|
name: pterodactyl
|
||||||
|
spec:
|
||||||
|
mariaDbRef:
|
||||||
|
name: mariadb
|
||||||
|
namespace: database
|
||||||
|
passwordSecretKeyRef:
|
||||||
|
name: pterodactyl-secret
|
||||||
|
key: DB_PASSWORD
|
||||||
|
maxUserConnections: 20
|
||||||
|
host: "%"
|
||||||
|
cleanupPolicy: Delete
|
||||||
|
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://ks.hsn.dev/k8s.mariadb.com/grant_v1alpha1.json
|
||||||
|
apiVersion: k8s.mariadb.com/v1alpha1
|
||||||
|
kind: Grant
|
||||||
|
metadata:
|
||||||
|
name: grant-pterodactyl
|
||||||
|
spec:
|
||||||
|
mariaDbRef:
|
||||||
|
name: mariadb
|
||||||
|
namespace: database
|
||||||
|
privileges:
|
||||||
|
- ALL PRIVILEGES
|
||||||
|
database: "pterodactyl"
|
||||||
|
table: "*"
|
||||||
|
username: pterodactyl
|
||||||
|
grantOption: true
|
||||||
|
host: "%"
|
31
kubernetes/apps/default/pterodactyl/ks.yaml
Normal file
31
kubernetes/apps/default/pterodactyl/ks.yaml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
---
|
||||||
|
# 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 pterodactyl
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
targetNamespace: default
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
|
dependsOn:
|
||||||
|
- name: external-secrets
|
||||||
|
- name: dragonfly-cluster
|
||||||
|
- name: mariadb-cluster
|
||||||
|
- name: rook-ceph-cluster
|
||||||
|
- name: volsync
|
||||||
|
path: ./kubernetes/apps/default/pterodactyl/app
|
||||||
|
prune: true
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: theshire
|
||||||
|
wait: false
|
||||||
|
interval: 30m
|
||||||
|
timeout: 5m
|
||||||
|
postBuild:
|
||||||
|
substitute:
|
||||||
|
APP: *app
|
||||||
|
GATUS_SUBDOMAIN: "pt"
|
||||||
|
VOLSYNC_CAPACITY: 10Gi
|
|
@ -38,7 +38,7 @@ spec:
|
||||||
app:
|
app:
|
||||||
image:
|
image:
|
||||||
repository: quay.io/redlib/redlib
|
repository: quay.io/redlib/redlib
|
||||||
tag: latest@sha256:7ee73f84c5678eb2039ff73e458df46dd4ff307f7ba086b6e666af62ce771c29
|
tag: latest@sha256:1f120c85fc33bdac67c97d5d1a6c84a920be40742fbf311c970ab2749a435778
|
||||||
env:
|
env:
|
||||||
REDLIB_DEFAULT_SHOW_NSFW: on
|
REDLIB_DEFAULT_SHOW_NSFW: on
|
||||||
REDLIB_DEFAULT_WIDE: on
|
REDLIB_DEFAULT_WIDE: on
|
||||||
|
|
|
@ -75,12 +75,9 @@ 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
|
||||||
|
|
|
@ -31,7 +31,7 @@ spec:
|
||||||
app:
|
app:
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/onedr0p/sonarr-develop
|
repository: ghcr.io/onedr0p/sonarr-develop
|
||||||
tag: 4.0.10.2656
|
tag: 4.0.11.2697
|
||||||
env:
|
env:
|
||||||
SONARR__APP__INSTANCENAME: Sonarr
|
SONARR__APP__INSTANCENAME: Sonarr
|
||||||
SONARR__APP__THEME: dark
|
SONARR__APP__THEME: dark
|
||||||
|
|
|
@ -31,7 +31,7 @@ spec:
|
||||||
app:
|
app:
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/stirling-tools/s-pdf
|
repository: ghcr.io/stirling-tools/s-pdf
|
||||||
tag: 0.33.1@sha256:d30bf0b2826f0e71cf6fe1b806d918db6d90121ac70b3384569e3b49edf51b3f
|
tag: 0.34.0@sha256:42ceaa84712f9271ca4af1c4d892899996424cbc5378f7dd168828091657c0f0
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
TZ: America/Chicago
|
TZ: America/Chicago
|
||||||
|
|
|
@ -31,7 +31,7 @@ spec:
|
||||||
app:
|
app:
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/tautulli/tautulli
|
repository: ghcr.io/tautulli/tautulli
|
||||||
tag: v2.14.6@sha256:f54d2d3a78780c765cd7a10b882474909f50247b5d2d118badaa9c035421effd
|
tag: v2.15.0@sha256:f13daee2a403a95a51902b2625de5f6b944f034e9cd790e9d2a0c5e84c9842cb
|
||||||
env:
|
env:
|
||||||
TZ: America/Chicago
|
TZ: America/Chicago
|
||||||
command: ["/usr/local/bin/python", "Tautulli.py"]
|
command: ["/usr/local/bin/python", "Tautulli.py"]
|
||||||
|
|
|
@ -36,7 +36,7 @@ spec:
|
||||||
app:
|
app:
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/zwave-js/zwave-js-ui
|
repository: ghcr.io/zwave-js/zwave-js-ui
|
||||||
tag: 9.27.2@sha256:ac7e66f98c39fe56b6ddb5d2e9cfced8246f74658278b82f6f60bee15206ae73
|
tag: 9.27.7@sha256:b7327c74e9cb228af9fc2817330319d4e57e041767dc40e550fd6577a436ad7d
|
||||||
env:
|
env:
|
||||||
TZ: America/Chicago
|
TZ: America/Chicago
|
||||||
PORT: &port 80
|
PORT: &port 80
|
||||||
|
|
|
@ -7,7 +7,7 @@ spec:
|
||||||
# nodeName: nenya
|
# nodeName: nenya
|
||||||
containers:
|
containers:
|
||||||
- name: fstrim
|
- name: fstrim
|
||||||
image: ghcr.io/onedr0p/kubanetics:2024.11.0
|
image: ghcr.io/onedr0p/kubanetics:2024.11.1
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
command: ["/bin/bash", "-c", "while true; do sleep 10; done"]
|
command: ["/bin/bash", "-c", "while true; do sleep 10; done"]
|
||||||
|
|
|
@ -33,7 +33,7 @@ spec:
|
||||||
app:
|
app:
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/onedr0p/kubanetics
|
repository: ghcr.io/onedr0p/kubanetics
|
||||||
tag: 2024.11.0@sha256:12ef95790aeaad654e50d3174fab7250fb4bc60513220c0e53bc71ea4aba99e4
|
tag: 2024.11.1@sha256:875b7c22fbb046958ae0116b4a7e9ea81062cf60f54d5b27e53ebf29078bdcc4
|
||||||
env:
|
env:
|
||||||
SCRIPT_NAME: fstrim.sh
|
SCRIPT_NAME: fstrim.sh
|
||||||
probes:
|
probes:
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
---
|
---
|
||||||
providerRegex: ^bilbo|^frodo|^sam|^merry|^pippin|^rosie|^shadowfax-01|^gandalf-01$
|
providerRegex: ^bilbo|^frodo|^sam|^merry|^pippin|^rosie|^gandalf-01$
|
||||||
|
|
|
@ -35,7 +35,7 @@ spec:
|
||||||
app:
|
app:
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/onedr0p/kubanetics
|
repository: ghcr.io/onedr0p/kubanetics
|
||||||
tag: 2024.11.0
|
tag: 2024.11.1
|
||||||
env:
|
env:
|
||||||
SCRIPT_NAME: alertmanager-silencer.sh
|
SCRIPT_NAME: alertmanager-silencer.sh
|
||||||
ALERTMANAGER_URL: http://alertmanager.observability.svc.cluster.local:9093
|
ALERTMANAGER_URL: http://alertmanager.observability.svc.cluster.local:9093
|
||||||
|
|
|
@ -196,9 +196,6 @@ 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
|
||||||
|
|
|
@ -9,7 +9,7 @@ spec:
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: prometheus-operator-crds
|
chart: prometheus-operator-crds
|
||||||
version: 16.0.0
|
version: 16.0.1
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: prometheus-community
|
name: prometheus-community
|
||||||
|
|
|
@ -21,7 +21,6 @@ spec:
|
||||||
delay: 30,
|
delay: 30,
|
||||||
duplicateCategories: false,
|
duplicateCategories: false,
|
||||||
flatLinking: false,
|
flatLinking: false,
|
||||||
includeEpisodes: true,
|
|
||||||
includeNonVideos: true,
|
includeNonVideos: true,
|
||||||
includeSingleEpisodes: true,
|
includeSingleEpisodes: true,
|
||||||
linkCategory: "cross-seed",
|
linkCategory: "cross-seed",
|
||||||
|
@ -36,15 +35,6 @@ spec:
|
||||||
sonarr: ["http://sonarr.default.svc.cluster.local/?apikey={{ .SONARR_API_KEY }}"],
|
sonarr: ["http://sonarr.default.svc.cluster.local/?apikey={{ .SONARR_API_KEY }}"],
|
||||||
torrentDir: "/qbittorrent/qBittorrent/BT_backup",
|
torrentDir: "/qbittorrent/qBittorrent/BT_backup",
|
||||||
torznab: []
|
torznab: []
|
||||||
/* torznab: [
|
|
||||||
6, // ANT
|
|
||||||
8, // BLU
|
|
||||||
9, // TL
|
|
||||||
10, // FL
|
|
||||||
12, // FNP
|
|
||||||
14, // TD
|
|
||||||
].map(i => `http://prowlarr.default.svc.cluster.local/$${i}/api?apikey={{ .PROWLARR_API_KEY }}`),
|
|
||||||
*/
|
|
||||||
};
|
};
|
||||||
dataFrom:
|
dataFrom:
|
||||||
- extract:
|
- extract:
|
||||||
|
|
|
@ -35,7 +35,7 @@ spec:
|
||||||
app:
|
app:
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/cross-seed/cross-seed
|
repository: ghcr.io/cross-seed/cross-seed
|
||||||
tag: 6.0.0-44@sha256:881ce834570f3b369860e47a0801b89ab10469b3beccf5279f90e041d3725058
|
tag: 6.1.0@sha256:91fbb2a6a411b7d63cccabffb5f623e6931579d2fd652512b6a3df0a9ba97066
|
||||||
env:
|
env:
|
||||||
TZ: America/Chicago
|
TZ: America/Chicago
|
||||||
args: ["daemon"]
|
args: ["daemon"]
|
||||||
|
|
|
@ -43,7 +43,7 @@ spec:
|
||||||
app:
|
app:
|
||||||
image:
|
image:
|
||||||
repository: jesec/flood
|
repository: jesec/flood
|
||||||
tag: master@sha256:7b0f2b863434946260621b037d293130acb9f5d9248071408c641b858ffacccf
|
tag: master@sha256:04196de98223a193e4913c00e0ab1b48a27a370ef159989e52c29864afc2b2e4
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: flood-secret
|
name: flood-secret
|
||||||
|
|
|
@ -66,15 +66,9 @@ 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: shadowfax-01
|
kubernetes.io/hostname: gandalf-01
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
runAsUser: 568
|
runAsUser: 568
|
||||||
|
|
|
@ -39,7 +39,7 @@ spec:
|
||||||
tagging: &container
|
tagging: &container
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/buroa/qbtools
|
repository: ghcr.io/buroa/qbtools
|
||||||
tag: v0.19.8@sha256:6d24270a3b4e31bfa8bcfc21ace625a27c9c71f789ef49d8454dacddbf87e123
|
tag: v0.19.9@sha256:f5405e3c00256d7911d2abb839084a5147c108586adb281e97587cf93729c89b
|
||||||
env:
|
env:
|
||||||
TZ: *timeZone
|
TZ: *timeZone
|
||||||
POD_NAMESPACE:
|
POD_NAMESPACE:
|
||||||
|
|
|
@ -10,7 +10,7 @@ spec:
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: rook-ceph
|
chart: rook-ceph
|
||||||
version: v1.15.5
|
version: v1.15.6
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: rook-ceph
|
name: rook-ceph
|
||||||
|
|
|
@ -10,7 +10,7 @@ spec:
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: rook-ceph-cluster
|
chart: rook-ceph-cluster
|
||||||
version: v1.15.5
|
version: v1.15.6
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: rook-ceph
|
name: rook-ceph
|
||||||
|
|
|
@ -10,7 +10,7 @@ spec:
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: external-secrets
|
chart: external-secrets
|
||||||
version: 0.10.5
|
version: 0.10.7
|
||||||
interval: 30m
|
interval: 30m
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
|
|
|
@ -22,8 +22,6 @@ 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:
|
||||||
|
|
|
@ -10,8 +10,6 @@ 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:
|
||||||
|
|
|
@ -19,7 +19,7 @@ releases:
|
||||||
- name: prometheus-operator-crds
|
- name: prometheus-operator-crds
|
||||||
namespace: observability
|
namespace: observability
|
||||||
chart: oci://ghcr.io/prometheus-community/charts/prometheus-operator-crds
|
chart: oci://ghcr.io/prometheus-community/charts/prometheus-operator-crds
|
||||||
version: 16.0.0
|
version: 16.0.1
|
||||||
- name: cilium
|
- name: cilium
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
chart: cilium/cilium
|
chart: cilium/cilium
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
clusterName: theshire
|
clusterName: theshire
|
||||||
|
|
||||||
# renovate: datasource=github-releases depName=siderolabs/talos
|
# renovate: datasource=github-releases depName=siderolabs/talos
|
||||||
talosVersion: v1.8.1
|
talosVersion: v1.8.3
|
||||||
# renovate: datasource=docker depName=ghcr.io/siderolabs/kubelet
|
# renovate: datasource=docker depName=ghcr.io/siderolabs/kubelet
|
||||||
kubernetesVersion: 1.31.2
|
kubernetesVersion: 1.31.2
|
||||||
endpoint: "https://10.1.1.57:6444"
|
endpoint: "https://10.1.1.57:6444"
|
||||||
|
|
|
@ -29,6 +29,7 @@ resources:
|
||||||
- kubernetes-sigs-metrics-server.yaml
|
- kubernetes-sigs-metrics-server.yaml
|
||||||
- kubernetes-sigs-nfd.yaml
|
- kubernetes-sigs-nfd.yaml
|
||||||
- kyverno.yaml
|
- kyverno.yaml
|
||||||
|
- mariadb.yaml
|
||||||
- nvidia.yaml
|
- nvidia.yaml
|
||||||
- openebs.yaml
|
- openebs.yaml
|
||||||
- piraeus.yaml
|
- piraeus.yaml
|
||||||
|
|
10
kubernetes/flux/repositories/helm/mariadb.yaml
Normal file
10
kubernetes/flux/repositories/helm/mariadb.yaml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrepository-source-v1.json
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: mariadb-operator
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 1h
|
||||||
|
url: https://mariadb-operator.github.io/mariadb-operator
|
|
@ -12,4 +12,4 @@ spec:
|
||||||
operation: copy
|
operation: copy
|
||||||
url: oci://ghcr.io/grafana/helm-charts/grafana
|
url: oci://ghcr.io/grafana/helm-charts/grafana
|
||||||
ref:
|
ref:
|
||||||
tag: 8.6.0
|
tag: 8.6.3
|
||||||
|
|
|
@ -4,5 +4,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ./claim.yaml
|
- ./claim.yaml
|
||||||
- ./nfs.yaml
|
- ./minio.yaml
|
||||||
- ./r2.yaml
|
- ./r2.yaml
|
||||||
|
|
|
@ -15,8 +15,6 @@ pkgs.mkShell {
|
||||||
gitleaks
|
gitleaks
|
||||||
helmfile
|
helmfile
|
||||||
k9s
|
k9s
|
||||||
krew
|
|
||||||
kubectl
|
|
||||||
kubevirt
|
kubevirt
|
||||||
kubernetes-helm
|
kubernetes-helm
|
||||||
pre-commit
|
pre-commit
|
||||||
|
@ -25,5 +23,6 @@ pkgs.mkShell {
|
||||||
mqttui
|
mqttui
|
||||||
kustomize
|
kustomize
|
||||||
yq-go
|
yq-go
|
||||||
|
go-task
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue