Compare commits
211 Commits
d6ce07a8a0
...
feature/ll
Author | SHA1 | Date | |
---|---|---|---|
cb0766fde2 | |||
b81eee425e | |||
1a8f52cc58 | |||
4fb7234df8 | |||
9f939b16bc | |||
173f7a319c | |||
284dff3040 | |||
b4529f52fe | |||
6eac191db3 | |||
ed53eeef71 | |||
b10aced1e1 | |||
6fcd66ff71 | |||
60077df128 | |||
dacb84ee59 | |||
40146b69d8 | |||
1a3cd7febd | |||
fad28554bb | |||
d921738728 | |||
3bb863dd07 | |||
11ab97db50 | |||
59bc6540c6 | |||
fd6e5f50de | |||
bc0a4186b3 | |||
730f8b5121 | |||
86911f133f | |||
de9ac31dbe | |||
73b9e609dd | |||
ae94d3a9a7 | |||
d077b8fdd8 | |||
122e219397 | |||
49073861bc | |||
7ba629e826 | |||
7a872b76f8 | |||
e5fa3f2072 | |||
9d1160208f | |||
232952b63e | |||
79aee6b145 | |||
a88968f192 | |||
8316e39ff7 | |||
61802b7ec0 | |||
87ea82b16d | |||
2596d698d4 | |||
f7b046844e | |||
b0a802bffc | |||
b1e3288b94 | |||
02bb4d9f76 | |||
86ac349c5d | |||
686525eeff | |||
39d351e8a1 | |||
c152fd117d | |||
6958253c96 | |||
16074c2026 | |||
fd00dbf893 | |||
513b845de1 | |||
a96472553b | |||
55ef4aa6df | |||
b0a6e5fa08 | |||
ab63d1b819 | |||
f3a1e927ff | |||
6f29475d25 | |||
e988f55ba8 | |||
bb259be422 | |||
ac45bb0958 | |||
e3580c6170 | |||
a801d8ffa8 | |||
53d6029e84 | |||
239e2fdf49 | |||
ae45a87b8a | |||
9cabd42c53 | |||
d45374fe4a | |||
e350de1a3e | |||
8eb64ff444 | |||
e8b786e210 | |||
37dfd07ea9 | |||
0f872ec949 | |||
3b1ab8e595 | |||
e35da6fc63 | |||
da4363262c | |||
ebc787030f | |||
5b2cc939a5 | |||
f45faf4509 | |||
7433dd17f4 | |||
055d091447 | |||
1aa86ef16c | |||
dd5e738cab | |||
7e5a1afb90 | |||
175817190c | |||
31141c6ef1 | |||
e581c3a488 | |||
4ce4e816c1 | |||
f50a2a61fc | |||
ee6e4f1e32 | |||
40454d871f | |||
e503ae6d30 | |||
5233956a09 | |||
e7118e9182 | |||
e79da15d16 | |||
1bcaafd14e | |||
6a10c8a908 | |||
7f61158564 | |||
2f17e6d47a | |||
466d58b26b | |||
03f873ecf4 | |||
56cca145b4 | |||
3ecd55787a | |||
45e46cf6e9 | |||
c19d6d8244 | |||
c5250c5a45 | |||
e70c1c9685 | |||
b5d6f28178 | |||
14a54e691d | |||
d6eb7b8f84 | |||
025e0c4ff1 | |||
d76455787a | |||
252b732bd8 | |||
93ca89060c | |||
8e043fdd58 | |||
d87b8bcff2 | |||
4be1c00592 | |||
9b1303d10e | |||
36f2596dfb | |||
abf59c480f | |||
c521a23a16 | |||
b646968c16 | |||
a1afc7d736 | |||
799d084471 | |||
511ed7e78d | |||
0d1d10a103 | |||
de667a31ad | |||
ef2b1d393d | |||
0402d54fda | |||
d80dfc35fd | |||
9d47443573 | |||
806b42874c | |||
3c71ac8411 | |||
c2db5eb712 | |||
040771494a | |||
57c57b7620 | |||
a41ec520a2 | |||
9057768561 | |||
db3dc9a8af | |||
31a968ef87 | |||
9778d796a9 | |||
7a44938d6d | |||
689038a808 | |||
88ca15d995 | |||
249b335ccb | |||
8c33c50457 | |||
4f1cbbabe6 | |||
4f4e6bdf13 | |||
ebbece048e | |||
9987aa9d0b | |||
14cc093e51 | |||
18576ff7f2 | |||
bee9243407 | |||
8223b336ed | |||
1fd0da6778 | |||
6be344fc8d | |||
d46ee3894e | |||
b282f363ce | |||
4b494642f5 | |||
08c508862f | |||
3d63498b25 | |||
4ef6b01a92 | |||
7cf2c9c479 | |||
a11f3e24f8 | |||
adff6180ea | |||
99dd81531e | |||
4f18adf1da | |||
7e3f8a2764 | |||
3a94d7a7b7 | |||
9f8ae4b0fa | |||
d53ee0079e | |||
f844eb8caa | |||
fb645058ac | |||
261790e329 | |||
645c8edde7 | |||
c7b52155ac | |||
46a2c8998e | |||
fbba22cb07 | |||
f03c76c53b | |||
c7f5cb8773 | |||
206f8e4c50 | |||
03df5e4663 | |||
72906d205b | |||
c6f7471ebb | |||
a3550d10cb | |||
f22d25b101 | |||
b7b9afa1a5 | |||
835f05866c | |||
1aa2e55f22 | |||
3c777a92c0 | |||
7d893d27ec | |||
d0fcf951cc | |||
1e9959e3d1 | |||
ce821b6abe | |||
1de224ea77 | |||
103f4c8a9f | |||
124881d3a8 | |||
0b5d2a5fe6 | |||
332082c9fc | |||
0eaa9fe774 | |||
192e2e869f | |||
0fd9936db5 | |||
1a9d0fc00c | |||
a8dfca3c43 | |||
42e2bc35a5 | |||
7e2e5a56db | |||
01279dd023 | |||
5f1dcaabba | |||
37bdb32f43 |
6
.gitmodules
vendored
6
.gitmodules
vendored
@@ -1,6 +0,0 @@
|
|||||||
[submodule "infrastructure/external-dns/octodns"]
|
|
||||||
path = infrastructure/external-dns/octodns
|
|
||||||
url = ssh://git@git.kluster.moll.re:2222/remoll/dns.git
|
|
||||||
[submodule "apps/monitoring/dashboards"]
|
|
||||||
path = apps/monitoring/dashboards
|
|
||||||
url = ssh://git@git.kluster.moll.re:2222/remoll/grafana-dashboards.git
|
|
@@ -10,7 +10,7 @@ resources:
|
|||||||
images:
|
images:
|
||||||
- name: adguard/adguardhome
|
- name: adguard/adguardhome
|
||||||
newName: adguard/adguardhome
|
newName: adguard/adguardhome
|
||||||
newTag: v0.107.48
|
newTag: v0.107.52
|
||||||
|
|
||||||
namespace: adguard
|
namespace: adguard
|
||||||
|
|
||||||
|
42
apps/audiobookshelf/deployment.yaml
Normal file
42
apps/audiobookshelf/deployment.yaml
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: audiobookshelf
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: audiobookshelf
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: audiobookshelf
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: audiobookshelf
|
||||||
|
image: audiobookshelf
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
||||||
|
|
||||||
|
env:
|
||||||
|
- name: TZ
|
||||||
|
value: Europe/Berlin
|
||||||
|
- name: CONFIG_PATH
|
||||||
|
value: /data/config
|
||||||
|
- name: METADATA_PATH
|
||||||
|
value: /data/metadata
|
||||||
|
volumeMounts:
|
||||||
|
- name: data
|
||||||
|
mountPath: /data
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: "100m"
|
||||||
|
memory: "200Mi"
|
||||||
|
limits:
|
||||||
|
cpu: "2"
|
||||||
|
memory: "1Gi"
|
||||||
|
volumes:
|
||||||
|
- name: data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: audiobookshelf-data
|
||||||
|
|
17
apps/audiobookshelf/ingress.yaml
Normal file
17
apps/audiobookshelf/ingress.yaml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: IngressRoute
|
||||||
|
metadata:
|
||||||
|
name: audiobookshelf-ingressroute
|
||||||
|
|
||||||
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- websecure
|
||||||
|
routes:
|
||||||
|
- match: Host(`audiobookshelf.kluster.moll.re`)
|
||||||
|
kind: Rule
|
||||||
|
services:
|
||||||
|
- name: audiobookshelf-web
|
||||||
|
port: 80
|
||||||
|
|
||||||
|
tls:
|
||||||
|
certResolver: default-tls
|
@@ -1,17 +1,15 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
namespace: homepage
|
|
||||||
|
|
||||||
resources:
|
|
||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
|
- pvc.yaml
|
||||||
- deployment.yaml
|
- deployment.yaml
|
||||||
- service.yaml
|
- service.yaml
|
||||||
- configmap.yaml
|
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
|
|
||||||
|
namespace: audiobookshelf
|
||||||
|
|
||||||
images:
|
images:
|
||||||
- name: homepage
|
- name: audiobookshelf
|
||||||
newName: ghcr.io/gethomepage/homepage
|
newName: ghcr.io/advplyr/audiobookshelf
|
||||||
newTag: v0.8.12
|
newTag: "2.13.4"
|
11
apps/audiobookshelf/pvc.yaml
Normal file
11
apps/audiobookshelf/pvc.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
kind: PersistentVolumeClaim
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: audiobookshelf-data
|
||||||
|
spec:
|
||||||
|
storageClassName: "nfs-client"
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 10Gi
|
10
apps/audiobookshelf/service.yaml
Normal file
10
apps/audiobookshelf/service.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: audiobookshelf-web
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: audiobookshelf
|
||||||
|
ports:
|
||||||
|
- port: 80
|
||||||
|
targetPort: 80
|
@@ -13,4 +13,4 @@ namespace: files
|
|||||||
images:
|
images:
|
||||||
- name: ocis
|
- name: ocis
|
||||||
newName: owncloud/ocis
|
newName: owncloud/ocis
|
||||||
newTag: "5.0.3"
|
newTag: "5.0.7"
|
||||||
|
File diff suppressed because one or more lines are too long
@@ -13,4 +13,4 @@ resources:
|
|||||||
images:
|
images:
|
||||||
- name: actualbudget
|
- name: actualbudget
|
||||||
newName: actualbudget/actual-server
|
newName: actualbudget/actual-server
|
||||||
newTag: 24.5.0
|
newTag: 24.9.0
|
||||||
|
@@ -15,4 +15,4 @@ resources:
|
|||||||
images:
|
images:
|
||||||
- name: homeassistant/home-assistant
|
- name: homeassistant/home-assistant
|
||||||
newName: homeassistant/home-assistant
|
newName: homeassistant/home-assistant
|
||||||
newTag: "2024.5"
|
newTag: "2024.9"
|
||||||
|
@@ -2,6 +2,8 @@ apiVersion: v1
|
|||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: homeassistant-web
|
name: homeassistant-web
|
||||||
|
labels:
|
||||||
|
app: homeassistant
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: homeassistant
|
app: homeassistant
|
||||||
|
@@ -1,98 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
name: config
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: homepage
|
|
||||||
data:
|
|
||||||
kubernetes.yaml: "" #|
|
|
||||||
# mode: cluster
|
|
||||||
settings.yaml: |
|
|
||||||
title: "Homepage"
|
|
||||||
background: https://images.unsplash.com/photo-1547327132-5d20850c62b5?q=80&w=3870&auto=format&fit=crop
|
|
||||||
cardBlur: sm
|
|
||||||
#settings.yaml: |
|
|
||||||
# providers:
|
|
||||||
# longhorn:
|
|
||||||
# url: https://longhorn.my.network
|
|
||||||
custom.css: ""
|
|
||||||
custom.js: ""
|
|
||||||
bookmarks.yaml: |
|
|
||||||
- Developer:
|
|
||||||
- Github:
|
|
||||||
- abbr: GH
|
|
||||||
href: https://github.com/moll-re
|
|
||||||
services.yaml: |
|
|
||||||
- Media:
|
|
||||||
- Jellyfin backend:
|
|
||||||
href: https://media-backend.kluster.moll.re
|
|
||||||
ping: media-backend.kluster.moll.re
|
|
||||||
- Jellyfin vue:
|
|
||||||
href: https://media.kluster.moll.re
|
|
||||||
ping: media.kluster.moll.re
|
|
||||||
- Immich:
|
|
||||||
href: https://immich.kluster.moll.re
|
|
||||||
ping: immich.kluster.moll.re
|
|
||||||
|
|
||||||
- Productivity:
|
|
||||||
- OwnCloud:
|
|
||||||
href: https://ocis.kluster.moll.re
|
|
||||||
ping: ocis.kluster.moll.re
|
|
||||||
- ToDo:
|
|
||||||
href: https://todos.kluster.moll.re
|
|
||||||
ping: todos.kluster.moll.re
|
|
||||||
- Finance:
|
|
||||||
href: https://finance.kluster.moll.re
|
|
||||||
ping: finance.kluster.moll.re
|
|
||||||
|
|
||||||
- Home:
|
|
||||||
- Home Assistant:
|
|
||||||
href: https://home.kluster.moll.re
|
|
||||||
ping: home.kluster.moll.re
|
|
||||||
- Grafana:
|
|
||||||
href: https://grafana.kluster.moll.re
|
|
||||||
ping: grafana.kluster.moll.re
|
|
||||||
- Recipes:
|
|
||||||
href: https://recipes.kluster.moll.re
|
|
||||||
ping: recipes.kluster.moll.re
|
|
||||||
|
|
||||||
- Infra:
|
|
||||||
- Gitea:
|
|
||||||
href: https://git.kluster.moll.re
|
|
||||||
ping: git.kluster.moll.re
|
|
||||||
- ArgoCD:
|
|
||||||
href: https://argocd.kluster.moll.re
|
|
||||||
ping: argocd.kluster.moll.re
|
|
||||||
|
|
||||||
widgets.yaml: |
|
|
||||||
# - kubernetes:
|
|
||||||
# cluster:
|
|
||||||
# show: true
|
|
||||||
# cpu: true
|
|
||||||
# memory: true
|
|
||||||
# showLabel: true
|
|
||||||
# label: "cluster"
|
|
||||||
# nodes:
|
|
||||||
# show: true
|
|
||||||
# cpu: true
|
|
||||||
# memory: true
|
|
||||||
# showLabel: true
|
|
||||||
- search:
|
|
||||||
provider: duckduckgo
|
|
||||||
- openmeteo:
|
|
||||||
label: Zürich # optional
|
|
||||||
latitude: 47.24236
|
|
||||||
longitude: 8.30439
|
|
||||||
units: metric # or imperial
|
|
||||||
cache: 30 # Time in minutes to cache API responses, to stay within limits
|
|
||||||
format: # optional, Intl.NumberFormat options
|
|
||||||
maximumFractionDigits: 1
|
|
||||||
- datetime:
|
|
||||||
locale: de
|
|
||||||
format:
|
|
||||||
dateStyle: long
|
|
||||||
timeStyle: short
|
|
||||||
- adguard:
|
|
||||||
url: http://adguard-home-web.adguard-home:3000
|
|
||||||
|
|
||||||
docker.yaml: ""
|
|
@@ -1,64 +0,0 @@
|
|||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: homepage
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: homepage
|
|
||||||
spec:
|
|
||||||
revisionHistoryLimit: 3
|
|
||||||
replicas: 1
|
|
||||||
strategy:
|
|
||||||
type: RollingUpdate
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app.kubernetes.io/name: homepage
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: homepage
|
|
||||||
spec:
|
|
||||||
# serviceAccountName: homepage
|
|
||||||
# automountServiceAccountToken: true
|
|
||||||
dnsPolicy: ClusterFirst
|
|
||||||
# enableServiceLinks: true
|
|
||||||
containers:
|
|
||||||
- name: homepage
|
|
||||||
image: homepage
|
|
||||||
imagePullPolicy: Always
|
|
||||||
ports:
|
|
||||||
- name: http
|
|
||||||
containerPort: 3000
|
|
||||||
protocol: TCP
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /app/config/custom.js
|
|
||||||
name: config
|
|
||||||
subPath: custom.js
|
|
||||||
- mountPath: /app/config/custom.css
|
|
||||||
name: config
|
|
||||||
subPath: custom.css
|
|
||||||
- mountPath: /app/config/bookmarks.yaml
|
|
||||||
name: config
|
|
||||||
subPath: bookmarks.yaml
|
|
||||||
- mountPath: /app/config/docker.yaml
|
|
||||||
name: config
|
|
||||||
subPath: docker.yaml
|
|
||||||
- mountPath: /app/config/kubernetes.yaml
|
|
||||||
name: config
|
|
||||||
subPath: kubernetes.yaml
|
|
||||||
- mountPath: /app/config/services.yaml
|
|
||||||
name: config
|
|
||||||
subPath: services.yaml
|
|
||||||
- mountPath: /app/config/settings.yaml
|
|
||||||
name: config
|
|
||||||
subPath: settings.yaml
|
|
||||||
- mountPath: /app/config/widgets.yaml
|
|
||||||
name: config
|
|
||||||
subPath: widgets.yaml
|
|
||||||
- mountPath: /app/config/logs
|
|
||||||
name: logs
|
|
||||||
volumes:
|
|
||||||
- name: config
|
|
||||||
configMap:
|
|
||||||
name: config
|
|
||||||
- name: logs
|
|
||||||
emptyDir: {}
|
|
@@ -1,16 +0,0 @@
|
|||||||
apiVersion: traefik.io/v1alpha1
|
|
||||||
kind: IngressRoute
|
|
||||||
metadata:
|
|
||||||
name: homepage-ingressroute
|
|
||||||
|
|
||||||
spec:
|
|
||||||
entryPoints:
|
|
||||||
- websecure
|
|
||||||
routes:
|
|
||||||
- match: Host(`start.kluster.moll.re`)
|
|
||||||
kind: Rule
|
|
||||||
services:
|
|
||||||
- name: homepage-web
|
|
||||||
port: 3000
|
|
||||||
tls:
|
|
||||||
certResolver: default-tls
|
|
@@ -1,15 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: homepage-web
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: homepage
|
|
||||||
spec:
|
|
||||||
type: ClusterIP
|
|
||||||
ports:
|
|
||||||
- port: 3000
|
|
||||||
targetPort: http
|
|
||||||
protocol: TCP
|
|
||||||
name: http
|
|
||||||
selector:
|
|
||||||
app.kubernetes.io/name: homepage
|
|
@@ -1,24 +1,33 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
- pvc.yaml
|
- pvc.yaml
|
||||||
- postgres.yaml
|
- postgres.yaml
|
||||||
- postgres.sealedsecret.yaml
|
- postgres.sealedsecret.yaml
|
||||||
|
|
||||||
|
|
||||||
namespace: immich
|
namespace: immich
|
||||||
|
|
||||||
|
|
||||||
helmCharts:
|
helmCharts:
|
||||||
- name: immich
|
- name: immich
|
||||||
releaseName: immich
|
releaseName: immich
|
||||||
version: 0.6.0
|
version: 0.7.2
|
||||||
valuesFile: values.yaml
|
valuesFile: values.yaml
|
||||||
repo: https://immich-app.github.io/immich-charts
|
repo: https://immich-app.github.io/immich-charts
|
||||||
|
|
||||||
|
|
||||||
images:
|
images:
|
||||||
- name: ghcr.io/immich-app/immich-machine-learning
|
- name: ghcr.io/immich-app/immich-machine-learning
|
||||||
newTag: v1.103.1
|
newTag: v1.116.2
|
||||||
- name: ghcr.io/immich-app/immich-server
|
- name: ghcr.io/immich-app/immich-server
|
||||||
newTag: v1.103.1
|
newTag: v1.116.2
|
||||||
|
|
||||||
|
|
||||||
|
patches:
|
||||||
|
- path: patch-redis-pvc.yaml
|
||||||
|
target:
|
||||||
|
kind: StatefulSet
|
||||||
|
name: immich-redis-master
|
17
apps/immich/patch-redis-pvc.yaml
Normal file
17
apps/immich/patch-redis-pvc.yaml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: StatefulSet
|
||||||
|
metadata:
|
||||||
|
name: immich-redis-master
|
||||||
|
spec:
|
||||||
|
volumeClaimTemplates:
|
||||||
|
- apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: redis-data
|
||||||
|
spec:
|
||||||
|
storageClassName: nfs-client
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 2Gi
|
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
apiVersion: postgresql.cnpg.io/v1
|
apiVersion: postgresql.cnpg.io/v1
|
||||||
kind: Cluster
|
kind: Cluster
|
||||||
metadata:
|
metadata:
|
||||||
@@ -13,18 +12,24 @@ spec:
|
|||||||
secret:
|
secret:
|
||||||
name: postgres-password
|
name: postgres-password
|
||||||
|
|
||||||
|
# Enable the VECTORS extension
|
||||||
|
postInitSQL:
|
||||||
|
- CREATE EXTENSION IF NOT EXISTS "vectors";
|
||||||
|
|
||||||
postgresql:
|
postgresql:
|
||||||
shared_preload_libraries:
|
shared_preload_libraries:
|
||||||
- "vectors.so"
|
- "vectors.so"
|
||||||
|
|
||||||
|
# Persistent storage configuration
|
||||||
storage:
|
storage:
|
||||||
size: 1Gi
|
size: 2Gi
|
||||||
pvcTemplate:
|
pvcTemplate:
|
||||||
storageClassName: ""
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: "1Gi"
|
storage: 2Gi
|
||||||
volumeName: immich-postgres
|
storageClassName: nfs-client
|
||||||
|
volumeMode: Filesystem
|
||||||
monitoring:
|
monitoring:
|
||||||
enablePodMonitor: true
|
enablePodMonitor: true
|
||||||
|
@@ -1,40 +1,11 @@
|
|||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolume
|
|
||||||
metadata:
|
|
||||||
name: immich-nfs
|
|
||||||
spec:
|
|
||||||
capacity:
|
|
||||||
storage: "50Gi"
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
nfs:
|
|
||||||
path: /kluster/immich
|
|
||||||
server: 192.168.1.157
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: immich-nfs
|
name: data
|
||||||
spec:
|
spec:
|
||||||
storageClassName: ""
|
storageClassName: "nfs-client"
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: "50Gi"
|
storage: "100Gi"
|
||||||
volumeName: immich-nfs
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolume
|
|
||||||
metadata:
|
|
||||||
name: immich-postgres
|
|
||||||
spec:
|
|
||||||
capacity:
|
|
||||||
storage: "1Gi"
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
nfs:
|
|
||||||
path: /kluster/immich-postgres
|
|
||||||
server: 192.168.1.157
|
|
||||||
# later used by cnpg
|
|
||||||
|
@@ -22,16 +22,19 @@ env:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: postgres-password
|
name: postgres-password
|
||||||
key: password
|
key: password
|
||||||
IMMICH_WEB_URL: '{{ printf "http://%s-web:3000" .Release.Name }}'
|
|
||||||
IMMICH_MACHINE_LEARNING_URL: '{{ printf "http://%s-machine-learning:3003" .Release.Name }}'
|
IMMICH_MACHINE_LEARNING_URL: '{{ printf "http://%s-machine-learning:3003" .Release.Name }}'
|
||||||
|
IMMICH_METRICS: true
|
||||||
|
|
||||||
immich:
|
immich:
|
||||||
|
metrics:
|
||||||
|
# Enabling this will create the service monitors needed to monitor immich with the prometheus operator
|
||||||
|
enabled: true
|
||||||
persistence:
|
persistence:
|
||||||
# Main data store for all photos shared between different components.
|
# Main data store for all photos shared between different components.
|
||||||
library:
|
library:
|
||||||
# Automatically creating the library volume is not supported by this chart
|
# Automatically creating the library volume is not supported by this chart
|
||||||
# You have to specify an existing PVC to use
|
# You have to specify an existing PVC to use
|
||||||
existingClaim: immich-nfs
|
existingClaim: data
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
|
|
||||||
@@ -52,16 +55,6 @@ server:
|
|||||||
main:
|
main:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
microservices:
|
|
||||||
enabled: true
|
|
||||||
persistence:
|
|
||||||
geodata-cache:
|
|
||||||
enabled: true
|
|
||||||
size: 1Gi
|
|
||||||
# Optional: Set this to pvc to avoid downloading the geodata every start.
|
|
||||||
type: emptyDir
|
|
||||||
accessMode: ReadWriteMany
|
|
||||||
|
|
||||||
machine-learning:
|
machine-learning:
|
||||||
enabled: true
|
enabled: true
|
||||||
persistence:
|
persistence:
|
||||||
|
@@ -18,6 +18,9 @@ spec:
|
|||||||
limits:
|
limits:
|
||||||
memory: "2Gi"
|
memory: "2Gi"
|
||||||
cpu: "2"
|
cpu: "2"
|
||||||
|
requests:
|
||||||
|
memory: "128Mi"
|
||||||
|
cpu: "250m"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8096
|
- containerPort: 8096
|
||||||
name: jellyfin
|
name: jellyfin
|
@@ -1,24 +1,5 @@
|
|||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: IngressRoute
|
kind: IngressRoute
|
||||||
metadata:
|
|
||||||
name: jellyfin-vue-ingress
|
|
||||||
namespace: media
|
|
||||||
spec:
|
|
||||||
entryPoints:
|
|
||||||
- websecure
|
|
||||||
routes:
|
|
||||||
- match: Host(`media.kluster.moll.re`)
|
|
||||||
middlewares:
|
|
||||||
- name: jellyfin-websocket
|
|
||||||
kind: Rule
|
|
||||||
services:
|
|
||||||
- name: jellyfin-web
|
|
||||||
port: 80
|
|
||||||
tls:
|
|
||||||
certResolver: default-tls
|
|
||||||
---
|
|
||||||
apiVersion: traefik.io/v1alpha1
|
|
||||||
kind: IngressRoute
|
|
||||||
metadata:
|
metadata:
|
||||||
name: jellyfin-backend-ingress
|
name: jellyfin-backend-ingress
|
||||||
namespace: media
|
namespace: media
|
||||||
@@ -26,7 +7,7 @@ spec:
|
|||||||
entryPoints:
|
entryPoints:
|
||||||
- websecure
|
- websecure
|
||||||
routes:
|
routes:
|
||||||
- match: Host(`media-backend.kluster.moll.re`) && !Path(`/metrics`)
|
- match: Host(`media.kluster.moll.re`) && !Path(`/metrics`)
|
||||||
middlewares:
|
middlewares:
|
||||||
- name: jellyfin-websocket
|
- name: jellyfin-websocket
|
||||||
- name: jellyfin-server-headers
|
- name: jellyfin-server-headers
|
||||||
|
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: monitoring.coreos.com/v1
|
|
||||||
kind: ServiceMonitor
|
|
||||||
metadata:
|
|
||||||
name: jellyfin
|
|
||||||
labels:
|
|
||||||
metrics: prometheus
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: jellyfin-server-service
|
|
||||||
endpoints:
|
|
||||||
- path: /metrics
|
|
||||||
targetPort: jellyfin
|
|
||||||
|
|
||||||
# this exposes metrics on port 8096 as enabled in the jellyfin config
|
|
||||||
# https://jellyfin.org/docs/general/networking/monitoring/
|
|
||||||
# the metrics are available at /metrics but blocked by the ingress
|
|
@@ -5,16 +5,11 @@ namespace: media
|
|||||||
resources:
|
resources:
|
||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
- pvc.yaml
|
- pvc.yaml
|
||||||
- server.deployment.yaml
|
- deployment.yaml
|
||||||
- server.service.yaml
|
- service.yaml
|
||||||
- web.deployment.yaml
|
|
||||||
- web.service.yaml
|
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
|
|
||||||
images:
|
images:
|
||||||
- name: jellyfin/jellyfin
|
- name: jellyfin/jellyfin
|
||||||
newName: jellyfin/jellyfin
|
newName: jellyfin/jellyfin
|
||||||
newTag: 10.8.13
|
newTag: 10.9.11
|
||||||
- name: ghcr.io/jellyfin/jellyfin-vue
|
|
||||||
newName: ghcr.io/jellyfin/jellyfin-vue
|
|
||||||
newTag: stable-rc.0.3.1
|
|
||||||
|
@@ -1,27 +0,0 @@
|
|||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: jellyfin-web
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: jellyfin-web
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: jellyfin-web
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: jellyfin-web
|
|
||||||
image: ghcr.io/jellyfin/jellyfin-vue
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
memory: "128Mi"
|
|
||||||
cpu: "30m"
|
|
||||||
ports:
|
|
||||||
- containerPort: 80
|
|
||||||
env:
|
|
||||||
- name: TZ
|
|
||||||
value: Europe/Berlin
|
|
||||||
- name: DEFAULT_SERVERS
|
|
||||||
value: "https://media-backend.kluster.moll.re"
|
|
@@ -1,12 +0,0 @@
|
|||||||
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: jellyfin-web
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
app: jellyfin-web
|
|
||||||
ports:
|
|
||||||
- protocol: TCP
|
|
||||||
port: 80
|
|
||||||
targetPort: 80
|
|
7
apps/minecraft/README.md
Normal file
7
apps/minecraft/README.md
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
## Sending a command
|
||||||
|
```
|
||||||
|
kubectl exec -it -n minecraft deploy/minecraft-server -- /bin/bash
|
||||||
|
mc-send-to-console /help
|
||||||
|
# or directly
|
||||||
|
kubectl exec -it -n minecraft deploy/minecraft-server -- mc-send-to-console /help
|
||||||
|
```
|
16
apps/minecraft/curseforge.sealedsecret.yaml
Normal file
16
apps/minecraft/curseforge.sealedsecret.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
apiVersion: bitnami.com/v1alpha1
|
||||||
|
kind: SealedSecret
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: curseforge-api
|
||||||
|
namespace: minecraft
|
||||||
|
spec:
|
||||||
|
encryptedData:
|
||||||
|
key: AgBYeAiejdmxDBorvgnxQX5YvUhR3NId2vfWybMKlc27e6D/bKglLNyZMk70xSnFAPjcDmZ20mYjFPYvDOr9T6IU/REJ8QlzoKAn0xW779R4SkIxRToT+dJv+OM2avgQ9uqp7vja29xeXMjYAnQML+QGZKcrT8mE04G/Ty8rdUiv3yUXK5HFAR3SUF35aVLdlthLjpRkv1s0R7GAP4L2pNzBJNV3i37viceUSSjU0zpOa23fsQOkPAs67AIukAJBqh/hyF/hR9H1GeYZNTI3OcHcvC2iNk/XGstvv0Zy6ApzoebsfWGdsbVn+QUI0EBw+mSTPqpl71cbkz0v4S4XAVndosxWpe6AIgm5MBTU0FXIyGyoFDe1aMPq8BXiQikYVwB48oVNh9KF0xXX5AOG0whB/FEsL3OJsiNQvQ3R/Hru43JBn64oxjVtLfM3E7u8v/xr1VQahX8dylDmb4s5EV01U6O4y19Ou4td1eEMlhpJb0fBPDRUYuWxZAEDGmp+U4tAakyPed11VkcZPPn9fKAAcv8sGs3TYAbbF18hqsBnv2Wd+i7ZEvKwmdmfR/T0r1TJGsvKI7jaW0QtH256XrSxQp7a52qMKMVQWOSKw2k27t/IkRhxT2Prw4GfJvaVr4RozUaBf3LV/hfDWlDfmM2zg3X9W8HkzjotGg021OLxsa0Wzmhffvb8h4bvZwxeq3U1xaJocqXui7z0rT2pF4z3wYHR/lPtexHcOA2M8gfBGKb1rBKh+kW+N+/ZfVLNI0mokg5vrTO2nR2rb4c=
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: curseforge-api
|
||||||
|
namespace: minecraft
|
||||||
|
type: Opaque
|
57
apps/minecraft/job.yaml
Normal file
57
apps/minecraft/job.yaml
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
apiVersion: batch/v1
|
||||||
|
kind: Job
|
||||||
|
metadata:
|
||||||
|
name: start-server
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
|
restartPolicy: OnFailure
|
||||||
|
containers:
|
||||||
|
- name: minecraft-server
|
||||||
|
image: minecraft
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: "10000Mi"
|
||||||
|
cpu: "5"
|
||||||
|
requests:
|
||||||
|
memory: "1500Mi"
|
||||||
|
cpu: "500m"
|
||||||
|
ports:
|
||||||
|
- containerPort: 25565
|
||||||
|
env:
|
||||||
|
- name: EULA
|
||||||
|
value: "TRUE"
|
||||||
|
- name: TYPE
|
||||||
|
value: "AUTO_CURSEFORGE"
|
||||||
|
- name: CF_API_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: curseforge-api
|
||||||
|
key: key
|
||||||
|
- name: CF_PAGE_URL
|
||||||
|
value: "https://www.curseforge.com/minecraft/modpacks/vault-hunters-1-18-2/files/5413446"
|
||||||
|
- name: VERSION
|
||||||
|
value: "1.18.2"
|
||||||
|
- name: INIT_MEMORY
|
||||||
|
value: "1G"
|
||||||
|
- name: MAX_MEMORY
|
||||||
|
value: "8G"
|
||||||
|
- name: MOTD
|
||||||
|
value: "VaultHunters baby!"
|
||||||
|
- name: ENABLE_RCON
|
||||||
|
value: "false"
|
||||||
|
- name: CREATE_CONSOLE_IN_PIPE
|
||||||
|
value: "true"
|
||||||
|
- name: ONLINE_MODE
|
||||||
|
value: "true"
|
||||||
|
- name: ENABLE_AUTOSTOP
|
||||||
|
value: "true"
|
||||||
|
|
||||||
|
volumeMounts:
|
||||||
|
- name: minecraft-data
|
||||||
|
mountPath: /data
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: minecraft-data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: minecraft-data
|
17
apps/minecraft/kustomization.yaml
Normal file
17
apps/minecraft/kustomization.yaml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
namespace: minecraft
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- pvc.yaml
|
||||||
|
- job.yaml
|
||||||
|
- service.yaml
|
||||||
|
- curseforge.sealedsecret.yaml
|
||||||
|
|
||||||
|
|
||||||
|
images:
|
||||||
|
- name: minecraft
|
||||||
|
newName: itzg/minecraft-server
|
||||||
|
newTag: java21
|
4
apps/minecraft/namespace.yaml
Normal file
4
apps/minecraft/namespace.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: placeholder
|
11
apps/minecraft/pvc.yaml
Normal file
11
apps/minecraft/pvc.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
kind: PersistentVolumeClaim
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: minecraft-data
|
||||||
|
spec:
|
||||||
|
storageClassName: "nfs-client"
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
12
apps/minecraft/service.yaml
Normal file
12
apps/minecraft/service.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: minecraft-server
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: minecraft-server
|
||||||
|
ports:
|
||||||
|
- port: 25565
|
||||||
|
targetPort: 25565
|
||||||
|
type: LoadBalancer
|
||||||
|
loadBalancerIP: 192.168.3.4
|
Submodule apps/monitoring/dashboards deleted from 984a69be34
@@ -7,8 +7,8 @@ metadata:
|
|||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
spec:
|
spec:
|
||||||
encryptedData:
|
encryptedData:
|
||||||
password: AgBe8isrCWd5MuaQq5CpA+P3fDizCCDo23BVauaBJLuMRIYbVwpfahaJW7Ocj3LTXwdeVVPBrOk2D6vESUXu6I0EWc3y/NFN4ZezScxMcjmeaAb+z1zWwdH0FynTPJYOxv1fis1FDTkXDmGy3FXo5NDK9ET899TtulKFkh7UqSxdrRWbD3pegJgqKGPIqDCTAxZN/ssiccfWGS4lHqQBJkXn8DeampcKwjOCvgaBdilF03GoSfpgsqa2Iw2SfTDEobWBWVMMK/RB3/Oi/YJkGwMW3ECUxvTDam8gb0RFA1xjWXoYTLVVP5fK7q7x63ns51HebloxAP1GBrt138N/iDrfbGfjNP8Lx0NFl5y5bTgYN/z8DVTOFf90xxWe+YYERdwllg0Ci1JLNbA+NszXTD4L/HC7a8XuBfjRzxMTeymNjR76jzfPkH6v1EvesOduTfSrahPgS0qS+eGOier1rHxj3EBRhOScY1ut5Bq4oJMNId9nMVbVa6xyq2HyxuJHXV+j6h5FGHmEXn9gIR7wGp8RhtPhKgVGLrHcbHZ5Th2E7eomz1T2NK/ezNP8ZhcwOj/lyGywlW0vhU798zpWhMf57k2OPeuMlfs8Y8y74epBdyBjsrMR4EDctF8RZR3vraxENiMJ6kk1gqKj04ir6HwL7blqwiybIFFnJrp2j7MzgjS4SQ687qMX5Zf5XT03aEE+9W9Epy73tT7zVQKdENCQlcm5
|
password: AgAwMLnsYN1y8JQSqgGQbNG/8jKensTDsEw6ogITdkhDRlJcg8HQ5t7a6xLzNCrLHLJiQW8YOoyLT4lvFkBRMOa2EYcrDvBiRD0PjygWLIscKa7dA+jpAUf/icD9zsiDnTym2yf+VUANcmEgE6DiNvlcsrcmYqiR4pKVUTDlKPNOjOpTJ3nXETb3/sbt69E0JSGwtkvusYQSXKLU9KLbciihv+ycdkdlC9xy9myd4+vYZYXSh/eAvyZeb/hsmdSX7yaASmupMvet6Qsdt99PNzFQxtbQH+LQvYalVZ8bjWZQvCN/p0bA4H15otKBfe8rtEwVthgvyEvo6TK0Mg0pFY/b3AOGFmImnT3rDmgG6S8KTZH0Jce17ksFqvELQmHjqHuYpQsPDl44glM8kWRJ9Mf/Z424LRwZlJNVcOkuVl4qFqPUjzd2rWIyF0RaD0BE012C0ThJxKn2l17lVJbNtdUiR3qNpW01ot2m0CgKd2kXbjDmgRgAll4WgrukfCIn9ZnE0gVCFLJuK3MOQAaipFYy/bDO0izwl9T8nldgcI8OfiC3NTk2O+Es5jJRXu0oJGaC3HrTB7wXiwOoELvAsxLTPxKBiN9mCHCMtZX0PEtrio0dFRQ6Pi5xPng0KVT0I9dvGNsPdhPETNOB913WEvbgP8Gt3cj016nCzk51eUsYbXPpNL2B4kmbIhecqW/8kwKQPwYjVlBSXj3NxjzwMY6PvOl1
|
||||||
user: AgAdiOivMn0d+nYjYycMZz9QSiS/9QqwHPJQMHkE7/IOou+CJtBknlETNtdv84KZgBQTucufYqu3LR3djOBpdnQsYbIXDxPFgRZQ11pwu/sO2EGifDk218yyzzfZMvx1FL7JL4LI1rKoiHycZowCwsAjEtlICVOOYv1/Plki+6MHXiAGG4r/yUhugGx3VLLX+Poq8oaTeHndgSsFXJege8SfgYR4TsC7pQgsM1UQEFncGIhJYTD2ashmUxFJ+7CJjHqPR0lFRrZXmFvPwTYTCMT+tnSHnCFWtTht8cEi1NxA4kD/eKEX0rOol15EUZnFUws2WqWI634TbyGwZ7km/Yw4XoDxiQR4ar6ulkqb/djcc3cWDYE7PF1m1c+r3iog85S5CSfZ5EvdCHHrbPN9uO2gmoRQWiR5qI70YMxBSnkeLZWN05O1vUuopdXFDTafY7YskxLEdIGHGqFUpUrJZOvBB0zNBdHGgYxFzb5pNmMCC5LPlOuoKjV4yskh9Tgovz06aAvsPxn2WWx6NOJambeziKB5OmSKvPsFofViyGBekVAWSWtt9yJe6lu5OKpBEiA6xhGhQ4ZryTXu9wvVALuPSIwBFITv85sIxjJb80qhJ51wb12QgzLLcPby0HSanyBI1M4jfsXWpK8gIAbDNO+eD7z3PhD9Y/5hPqYKXZ37Geyq23xiyxG8XDj6cL+Ie6k8XipayI4=
|
user: AgBqmjCYGMqy5zBE+vhtsynOvhWdHWDJDyl1D+laBtLjXTJwzRbNTdunHYo1ekwyqQ6Cr5pi4YMiLxAl1LIHF+Lfsp2QlY+ResAGzp9WgSBtNQDX3EmLDQofeWxMUDdMtMsE9wiKLCfNGDkRDsGquXTz+YFq03m1vH9cB8Bp+1ClWOTui+/Ce0MZlWsJZX1W8WXH7XTirtwUo0s53pc4AplUUH97ZEK3KSIxWa3gLCn0sAPDDLPX+JVA2xtpMq1XuVFiFifjzEtG2h0dejiF35FtSAR+rR4YmEfimk3QpRDfOqV5QUxvjCG+dTV49upSevF2mvbHW+o+lB6vEc6l9cZXvlbnMdaep3NmOsJcJ8wQIdFpFK4iVzFOTKSEbzLPlZ/J+sjS5vDXsfthorIO2faMA1iIf+I663zNxQU5btaK4TNYOZQlrFVjAmioRLkDhGZ6tDUPX/zMv+Crt+0HCwyEyhmvFZckDvezTZrxARSXXMKBVcvjHCyUNkz7ubZRiMU0PGM7fYuHr659e+XMRvj+LFA68ZaEIzCQpCFJenWWYAXgUdRG4LQ1LP2MwvRHpkOYSoRkHIpX7jOfhX82A60h/ta/CdbWifqNyL9OecvE3FKsZu/Kr0taw9W6nm6FBhQLgFkOnFrqp9dWnxfHruXuDBgcn0iE8nR7Ht2zS7hfQPeR4a3Y0xK3Plqbzdrb9HKnWQQhf14=
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
|
@@ -1,25 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolume
|
|
||||||
metadata:
|
|
||||||
name: grafana-nfs
|
|
||||||
spec:
|
|
||||||
capacity:
|
|
||||||
storage: "1Gi"
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
nfs:
|
|
||||||
path: /export/kluster/grafana
|
|
||||||
server: 192.168.1.157
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: grafana-nfs
|
|
||||||
spec:
|
|
||||||
storageClassName: ""
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: "1Gi"
|
|
||||||
volumeName: grafana-nfs
|
|
@@ -31,7 +31,7 @@ datasources:
|
|||||||
datasources:
|
datasources:
|
||||||
- name: Thanos
|
- name: Thanos
|
||||||
type: prometheus
|
type: prometheus
|
||||||
url: http://thanos-querier.prometheus.svc:9090
|
url: http://thanos-querier.prometheus.svc:10902
|
||||||
isDefault: true
|
isDefault: true
|
||||||
- name: Prometheus
|
- name: Prometheus
|
||||||
type: prometheus
|
type: prometheus
|
||||||
|
@@ -1,25 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolume
|
|
||||||
metadata:
|
|
||||||
name: influxdb-nfs
|
|
||||||
spec:
|
|
||||||
capacity:
|
|
||||||
storage: "10Gi"
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
nfs:
|
|
||||||
path: /export/kluster/influxdb
|
|
||||||
server: 192.168.1.157
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: influxdb-nfs
|
|
||||||
spec:
|
|
||||||
storageClassName: ""
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: "10Gi"
|
|
||||||
volumeName: influxdb-nfs
|
|
@@ -1,26 +0,0 @@
|
|||||||
## Create default user through docker entrypoint
|
|
||||||
## Defaults indicated below
|
|
||||||
##
|
|
||||||
adminUser:
|
|
||||||
organization: "influxdata"
|
|
||||||
bucket: "default"
|
|
||||||
user: "admin"
|
|
||||||
retention_policy: "0s"
|
|
||||||
## Leave empty to generate a random password and token.
|
|
||||||
## Or fill any of these values to use fixed values.
|
|
||||||
password: ""
|
|
||||||
token: ""
|
|
||||||
|
|
||||||
|
|
||||||
## Persist data to a persistent volume
|
|
||||||
##
|
|
||||||
persistence:
|
|
||||||
enabled: true
|
|
||||||
## If true will use an existing PVC instead of creating one
|
|
||||||
useExisting: true
|
|
||||||
## Name of existing PVC to be used in the influx deployment
|
|
||||||
name: influxdb-nfs
|
|
||||||
|
|
||||||
|
|
||||||
ingress:
|
|
||||||
enabled: false
|
|
@@ -5,16 +5,16 @@ namespace: monitoring
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
- grafana.pvc.yaml
|
|
||||||
# - influxdb.pvc.yaml
|
|
||||||
- grafana.ingress.yaml
|
- grafana.ingress.yaml
|
||||||
- grafana-admin.sealedsecret.yaml
|
- grafana-admin.sealedsecret.yaml
|
||||||
- dashboards/
|
# grafana dashboards are provisioned from a git repository
|
||||||
|
# in the initial bootstrap of the app of apps, the git repo won't be available, so this sync will initially fail
|
||||||
|
- https://git.kluster.moll.re/remoll/grafana-dashboards//?timeout=10&ref=main
|
||||||
|
|
||||||
|
|
||||||
helmCharts:
|
helmCharts:
|
||||||
- releaseName: grafana
|
- releaseName: grafana
|
||||||
name: grafana
|
name: grafana
|
||||||
repo: https://grafana.github.io/helm-charts
|
repo: https://grafana.github.io/helm-charts
|
||||||
version: 7.3.9
|
version: 8.5.1
|
||||||
valuesFile: grafana.values.yaml
|
valuesFile: grafana.values.yaml
|
||||||
|
@@ -1,52 +0,0 @@
|
|||||||
env:
|
|
||||||
- name: HOSTNAME
|
|
||||||
value: "telegraf-speedtest"
|
|
||||||
|
|
||||||
service:
|
|
||||||
enabled: false
|
|
||||||
rbac:
|
|
||||||
# Specifies whether RBAC resources should be created
|
|
||||||
create: false
|
|
||||||
|
|
||||||
serviceAccount:
|
|
||||||
# Specifies whether a ServiceAccount should be created
|
|
||||||
create: false
|
|
||||||
|
|
||||||
|
|
||||||
## Exposed telegraf configuration
|
|
||||||
## For full list of possible values see `/docs/all-config-values.yaml` and `/docs/all-config-values.toml`
|
|
||||||
## ref: https://docs.influxdata.com/telegraf/v1.1/administration/configuration/
|
|
||||||
config:
|
|
||||||
agent:
|
|
||||||
interval: "2h"
|
|
||||||
round_interval: true
|
|
||||||
metric_batch_size: 1000
|
|
||||||
metric_buffer_limit: 10000
|
|
||||||
collection_jitter: "0s"
|
|
||||||
flush_interval: "10s"
|
|
||||||
flush_jitter: "0s"
|
|
||||||
precision: ""
|
|
||||||
debug: false
|
|
||||||
quiet: false
|
|
||||||
logfile: ""
|
|
||||||
hostname: "$HOSTNAME"
|
|
||||||
omit_hostname: false
|
|
||||||
processors:
|
|
||||||
- enum:
|
|
||||||
mapping:
|
|
||||||
field: "status"
|
|
||||||
dest: "status_code"
|
|
||||||
value_mappings:
|
|
||||||
healthy: 1
|
|
||||||
problem: 2
|
|
||||||
critical: 3
|
|
||||||
outputs:
|
|
||||||
- influxdb_v2:
|
|
||||||
urls:
|
|
||||||
- "http://influxdb-influxdb2.monitoring:80"
|
|
||||||
token: We64mk4L4bqYCL77x3fAUSYfOse9Kktyf2eBLyrryG9c3-y8PQFiKPIh9EvSWuq78QSQz6hUcsm7XSFR2Zj1MA==
|
|
||||||
organization: "influxdata"
|
|
||||||
bucket: "homeassistant"
|
|
||||||
inputs:
|
|
||||||
- internet_speed:
|
|
||||||
enable_file_download: false
|
|
@@ -13,4 +13,4 @@ resources:
|
|||||||
images:
|
images:
|
||||||
- name: binwiederhier/ntfy
|
- name: binwiederhier/ntfy
|
||||||
newName: binwiederhier/ntfy
|
newName: binwiederhier/ntfy
|
||||||
newTag: v2.10.0
|
newTag: v2.11.0
|
||||||
|
55
apps/ollama/backend.deployment.yaml
Normal file
55
apps/ollama/backend.deployment.yaml
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: ollama-rocm
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: ollama-rocm
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: ollama-rocm
|
||||||
|
spec:
|
||||||
|
nodeSelector:
|
||||||
|
gpu: full
|
||||||
|
containers:
|
||||||
|
- name: ollama
|
||||||
|
image: ollama
|
||||||
|
env:
|
||||||
|
- name: HSA_OVERRIDE_GFX_VERSION
|
||||||
|
# allows to run on IGPU as well
|
||||||
|
value: "11.0.0"
|
||||||
|
ports:
|
||||||
|
- containerPort: 11434
|
||||||
|
name: ollama
|
||||||
|
volumeMounts:
|
||||||
|
- name: ollama-data
|
||||||
|
mountPath: /root/.ollama
|
||||||
|
- name: dshm
|
||||||
|
mountPath: /dev/shm
|
||||||
|
- name: dri
|
||||||
|
mountPath: /dev/dri/
|
||||||
|
- name: kfd
|
||||||
|
mountPath: /dev/kfd
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: "1Gi"
|
||||||
|
cpu: "1"
|
||||||
|
limits:
|
||||||
|
memory: "16Gi"
|
||||||
|
cpu: "8"
|
||||||
|
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: ollama-data
|
||||||
|
emptyDir: {}
|
||||||
|
- name: dri
|
||||||
|
hostPath:
|
||||||
|
path: /dev/dri/
|
||||||
|
- name: dshm
|
||||||
|
emptyDir:
|
||||||
|
medium: Memory
|
||||||
|
- name: kfd
|
||||||
|
hostPath: /dev/kfd
|
13
apps/ollama/backend.service.yaml
Normal file
13
apps/ollama/backend.service.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: ollama-service
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: ollama-rocm
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 11434
|
||||||
|
targetPort: 11434
|
||||||
|
name: ollama
|
30
apps/ollama/frontend.deployment.yaml
Normal file
30
apps/ollama/frontend.deployment.yaml
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: ollama-ui
|
||||||
|
labels:
|
||||||
|
app: ollama-ui
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: ollama-ui
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: ollama-ui
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: ollama-ui
|
||||||
|
image: ollama-ui
|
||||||
|
ports:
|
||||||
|
- containerPort: 8080
|
||||||
|
env:
|
||||||
|
- name: OLLAMA_BASE_URL
|
||||||
|
value: http://ollama-service:11434
|
||||||
|
volumeMounts:
|
||||||
|
- name: ollama-ui-data
|
||||||
|
mountPath: /app/backend/data
|
||||||
|
volumes:
|
||||||
|
- name: ollama-ui-data
|
||||||
|
emptyDir: {}
|
13
apps/ollama/frontend.service.yaml
Normal file
13
apps/ollama/frontend.service.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: ollama-ui-service
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: ollama-ui
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 8080
|
||||||
|
targetPort: 8080
|
||||||
|
name: ollama-ui
|
21
apps/ollama/ingress.yaml
Normal file
21
apps/ollama/ingress.yaml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: IngressRoute
|
||||||
|
metadata:
|
||||||
|
name: ollama-ingressroute
|
||||||
|
|
||||||
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- websecure
|
||||||
|
routes:
|
||||||
|
- match: Host(`llm.kluster.moll.re`)
|
||||||
|
kind: Rule
|
||||||
|
services:
|
||||||
|
- name: ollama-ui-service
|
||||||
|
port: 8080
|
||||||
|
# - match: Host(`todos.kluster.moll.re`) && PathPrefix(`/`)
|
||||||
|
# kind: Rule
|
||||||
|
# services:
|
||||||
|
# - name: todos-frontend
|
||||||
|
# port: 80
|
||||||
|
tls:
|
||||||
|
certResolver: default-tls
|
23
apps/ollama/kustomization.yaml
Normal file
23
apps/ollama/kustomization.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
namespace: ollama
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- backend.deployment.yaml
|
||||||
|
- backend.service.yaml
|
||||||
|
- frontend.deployment.yaml
|
||||||
|
- frontend.service.yaml
|
||||||
|
- ingress.yaml
|
||||||
|
|
||||||
|
|
||||||
|
images:
|
||||||
|
- name: ollama
|
||||||
|
newName: ollama/ollama
|
||||||
|
newTag: 0.3.6-rocm
|
||||||
|
- name: ollama-ui
|
||||||
|
newName: ghcr.io/open-webui/open-webui
|
||||||
|
newTag: main
|
||||||
|
|
||||||
|
|
6
apps/ollama/namespace.yaml
Normal file
6
apps/ollama/namespace.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: placeholder
|
||||||
|
labels:
|
||||||
|
pod-security.kubernetes.io/enforce: privileged
|
52
apps/paperless/deployment.yaml
Normal file
52
apps/paperless/deployment.yaml
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: paperless
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: paperless
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: paperless
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: paperless
|
||||||
|
image: paperless
|
||||||
|
ports:
|
||||||
|
- containerPort: 8000
|
||||||
|
env:
|
||||||
|
- name: PAPERLESS_REDIS
|
||||||
|
value: redis://redis-master:6379
|
||||||
|
- name: PAPERLESS_TIME_ZONE
|
||||||
|
value: Europe/Berlin
|
||||||
|
- name: PAPERLESS_OCR_LANGUAGE
|
||||||
|
value: deu+eng+fra
|
||||||
|
- name: PAPERLESS_URL
|
||||||
|
value: https://paperless.kluster.moll.re
|
||||||
|
- name: PAPERLESS_SECRET_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: paperless-secret-key
|
||||||
|
key: key
|
||||||
|
- name: PAPERLESS_DATA_DIR
|
||||||
|
value: /data
|
||||||
|
- name: PAPERLESS_MEDIA_ROOT
|
||||||
|
value: /data
|
||||||
|
volumeMounts:
|
||||||
|
- name: data
|
||||||
|
mountPath: /data
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: "100m"
|
||||||
|
memory: "200Mi"
|
||||||
|
limits:
|
||||||
|
cpu: "2"
|
||||||
|
memory: "1Gi"
|
||||||
|
volumes:
|
||||||
|
- name: data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: paperless-data
|
||||||
|
|
31
apps/paperless/kustomization.yaml
Normal file
31
apps/paperless/kustomization.yaml
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- pvc.yaml
|
||||||
|
- deployment.yaml
|
||||||
|
- service.yaml
|
||||||
|
- ingress.yaml
|
||||||
|
- paperless-secret-key.sealedsecret.yaml
|
||||||
|
|
||||||
|
namespace: paperless
|
||||||
|
|
||||||
|
images:
|
||||||
|
- name: paperless
|
||||||
|
newName: ghcr.io/paperless-ngx/paperless-ngx
|
||||||
|
newTag: "2.12.1"
|
||||||
|
|
||||||
|
|
||||||
|
helmCharts:
|
||||||
|
- name: redis
|
||||||
|
releaseName: redis
|
||||||
|
repo: https://charts.bitnami.com/bitnami
|
||||||
|
version: 20.1.5
|
||||||
|
valuesInline:
|
||||||
|
auth:
|
||||||
|
enabled: false
|
||||||
|
replica:
|
||||||
|
replicaCount: 0
|
||||||
|
master:
|
||||||
|
persistence:
|
||||||
|
storageClass: "nfs-client"
|
4
apps/paperless/namespace.yaml
Normal file
4
apps/paperless/namespace.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: placeholder
|
15
apps/paperless/paperless-secret-key.sealedsecret.yaml
Normal file
15
apps/paperless/paperless-secret-key.sealedsecret.yaml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
apiVersion: bitnami.com/v1alpha1
|
||||||
|
kind: SealedSecret
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: paperless-secret-key
|
||||||
|
namespace: paperless
|
||||||
|
spec:
|
||||||
|
encryptedData:
|
||||||
|
key: AgAjDxYW+bf+7a+65DR/u5Qrh37JSPQCstUrNWRdxq9We1eGf7qzTnmyke/O5TiE26rHVx3yzyK/Lcp/R+pJUnDauCvL6ja7k82DLzElkoRGhvRg4nr5Iehw488WIdJDXWqAbus4oLFCgnj5axs1B97hEiAN2onCPDsOuk7oSdJfG4mMI47Ass2qFPyQaff9TulLXQQEY5U7LrawCTudUPeiTCYGbOjBadPjEzn5pDwsyAd1G+NrqoPOwkrbNzrwMwbnwB4hLO0f+jrYOh2OMNcdZzMZgM671VH9cRYSVV6uz5iAN4A1NpZ1ZdenQN4pcWvaPmPOcvp14vjZtrYbGeyaNGnob5IycRrO4yaf+0V7DZ4Thwc/vqm6r5y/MR9U4Q9EFoNNHYmfo9VEw7LhivtaDOG8OaZXUnIFoXFLOZ59qfoZdIyK4eByTRQBZFZLK9rVgXOommbqlCgzNuDM7u11OGcYfROJFeiI9pH333x5u7GZsDz0hnAjWKphXzeTglXdaXMsQUeAHusdqKCn0X1cMatGUjkBAXwlOBrqmaDwSRdyc/+J2QIdkyQM9A+88+yoop7q8c5P8oizBikVaL7SojulUTJStH5cv7nRzhmpAY4j15+o3RQKrbEjGB4HVVx3VBFjjOiP9gfjhiYqxznYwkYTpXADPwjhLFf4opOPuhpoUD1M3OKXlQpPK/RvFTWWsh14jbJuL7WJpXbfyYs0+drbVdnYeUsn8OKlnFDoOaACdpNUCr6t9dSFMs7o7Mo8yN0E
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: paperless-secret-key
|
||||||
|
namespace: paperless
|
11
apps/paperless/pvc.yaml
Normal file
11
apps/paperless/pvc.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
kind: PersistentVolumeClaim
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: paperless-data
|
||||||
|
spec:
|
||||||
|
storageClassName: "nfs-client"
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 10Gi
|
10
apps/paperless/service.yaml
Normal file
10
apps/paperless/service.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: paperless-web
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: paperless
|
||||||
|
ports:
|
||||||
|
- port: 8000
|
||||||
|
targetPort: 8000
|
@@ -12,5 +12,5 @@ resources:
|
|||||||
|
|
||||||
images:
|
images:
|
||||||
- name: mealie
|
- name: mealie
|
||||||
newTag: v1.6.0
|
newTag: v1.12.0
|
||||||
newName: ghcr.io/mealie-recipes/mealie
|
newName: ghcr.io/mealie-recipes/mealie
|
@@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
apiVersion: bitnami.com/v1alpha1
|
||||||
|
kind: SealedSecret
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: backblaze-credentials
|
||||||
|
namespace: backup
|
||||||
|
spec:
|
||||||
|
encryptedData:
|
||||||
|
bucket-id: AgBwwjlkGjskxMXXpXrnfcT9fJGgDXtbOO/6WcpqsX0exoADw31dADjLTHztiddsGYipiGFf2DBWge69UEnL04NXIzh/xTwWtWaqlz6yOJm/89FMQE1mfbrrLc7tk98TO3oS8i+IDAnkUiYyvDXJexgJg56QLY595PXkpplYit2bAk43mAB02yUZAK0gMs3KRDIvhHFsMq8Uiqx78En5KGGXwEg6KbVDyNvI2k8suEyy+C0yNO/M6dlczoUQiIJbllQzbqIzuxbOp609PfvGFAYHuPlz1kwsg+feZJ3kNsHYi4hWvpd64BWb30iO9J3dAYfW6d7C61t3S5uabmnd9E7bMYZA/OppD8SCknBFalXF91BUiJao9qBVd/BB7TCZOzhdzhxTW+FhgARcA+GIfg+nIzgBqHfAfQQmAOO2RZnsWrvMysyZaUpODvU8kSsLWZJ3CESVRVU3BHmJZpyxjX/s6QEXShQXZaLq54zoFJULZU/kbom5yFNNDWW5sKbURPvbKJcf/J9QabY5toO4yOwDk96Sr/FI+CHHvMh8/amigva0Upq6naiTHXMf4BR6+w3VKP5ALn5cbD5jG7EpUA/j1roMoLn68GMAtTJDLvSq2BGeJENWrUpOmjWZHDKZy8DEKorJk/Wbp46ksteSALE8eXpi4DRKXYDPvDb57EhzoJGQ9NMXgAvU9+1vw2nyTZE4gAWKpg0JkiHglu4Om79HfuGuewzJXlY=
|
||||||
|
key-id: AgBe4Iytjw9CkT7CqqNLHWyG4F8F+R6m8W1fnQZdGJvLy7D81+nB2ZDMCUZgUQV/mppGnXCkSxHyelcyTYCswQ9bD8hZsAIiQACq39v2UFxdORFEgNMj4bTWPo65fwhSK2giozPqN/4lzPopP91uyq1Z0gQaiqn/HDtbfNjq+Nu9kPmV06O1NUj1f7QqvfsMK+Xadv0G+DAA+ClGaq1q3fZPDkl2MSDdbEPGq+fLPK2DSdYu9fr1bc9TPyaU5JDFvGrCg8Nyigugi4wVGjQFtVwR1QsHAADmnoDAdXoj1Sz65QO5F+zNaDZWvnLnVFxAFrXJHihilc4ilAc8hSpE6YHQm7dGO5gGejLRNaaCspb/fPJD1g2XlnkckhFCSwd9sHNrXb07BZk8gFTHfndEC0t2UyUNloYpXsfap6fvehPK91ey35jbxDk9zYdgKZ7bz/tY0450CkofSbhisf2DwS3prt5YCEDaXasrpUqlk4dSbmLaGm6aee8lM5VpO8qYE56nvXY7qr0yB6z/NGWuLX3oH3fV+C8hH1P4mxDjvVEFdtewlF50Bf9WFoE7KpboSvmChZhBfjOkbtsGmQE41ZuNoYVupetXn6IfvYo6MzGoG6dTRVpJ5S2KLQDtsUljQfXJDFCSYwo87DD2dGBEn/z9GFCIPAYNO2ewzU4RUgcXPuDD4I2tdNIC+xdEBZq7BaWn/46Yfc1+FAWUA9VWEL/9kz5tK6hFD3Ww
|
||||||
|
key-secret: AgBcKSHdXHeNBzkZRtbaOEZra7AAWVlzmubaQoklECr14gKNL7rTReqX87qQObjQjmGKXtnJlKXIVHGDuiuHGkqfxQ9PCxccvpA3/7LdbFZnZtlFDWpAv+VB6Tp7H7Quho/GeAo8u6de0BXz85lz7+RyDCssBpuuzpchMgOlcEmhhfgQM5E6ye7bD6LpAZWcay3PV6FW2xTrJvLobpCcJordye6iTdSySPKdk6zflkon9h1KuQT+njmW4cfTQg/u7iS/NDQYcHdCpDHRLCor4GkVmi7NW8q+WuYhUSGWBy55SGvcUobhUL7GEHFJZpKmyrBOwSbwiWUDoN+NjI2TR5xvG0Ldjd/Hj32Vk29I+xSnj/O7pZj5ho35qExlZ/WCe42i0VHjzHFbOoU1MkqB+Skm24L1cLufhyNBtA8NNN3GWZhkcozpe164gpx4H/Vfe0UyzxUn4VJIws/IXYiLb4DgDkGrV+wzigN2QfSgTgs6syQkSs4UJ4gUZeN0jsyq0YHIhq1VZ8qPtLH310d8LZLxpTjZdO0obBwJfnHkg3blwSABEt5756C5DvjKmvO1pjG+JX/PJ0yAINL9Sc+FsY7TnGlItVzD830NcZ3Gg9C4Tg4xBEHybUWCSl1rJjwMvmUvVKNcIzLBHPAOyle1VLTZ37zb13MnhwNwdUtBu7+RZTy9wVO26iqemXTtFVj13kgZkJsyLjM6bo2y2wvFmjBCV9EKQtm87ROStM7iKB46
|
||||||
|
repository-string: AgAEYSqT6VR4OKW9/ZDgjYV+rm4tK3uucZsQG2u7W+8rRO0Rowkuba1AbybjgTE+G3q8si/GtlgsB1J8suvztHcVLNxg0y0Olb40pn2sZjKd85Q8AzsM0pFMkzme1lvnwu1Bcgd6Ck+FCr4CuUnh+UvJM5iWhAoSHJtdBb/EKw2F1BhewAqMXSX4oWM7V/T8RTtW2wBUk4wgX4ia+gCBPMpTo6i00ZtSpRB3Ub9VfGJfRmiXZA7oh5j3yN9nJlXonbJYBp4DNWod76CF7s35HBnSzS7YfIV80R4lH4xAPgRbZ0tvPWkTLMhSBX8rJCEnxT7DjL2lS7WfyboLdL4Uy8WmP7n2difZSr7p2iic6SCP44YgQ8JY5UgXh2QZENQ6oLvjK/PpFTjQ4bfw3E1/dakg1EdCYc/6DPyK3YekccUe/pXvVBrazpgObxXWeKKT6RMDeYWLUXTBHWhJ5OaJHHePD5t9IM65FlFTtkuUFbxExTi/u+RczBlWWcy10Yow3I3LGrDPJ/PfBy4RPfHCeQDQ+WoLJkNT20nu5mBXEYYKgNvgdn4yogifSiNG8vsNpo4dO89aHppbnHdmdp7F9asfbn27btEoFoHzIFku/mEnY5srs+Smrhhzy0+iPKge9LOuW33Gi4oJban1UYFvLAjq8YsZGkbIO82r2p+v15UjwU3girWPl1KBUc8WzLJtnqBvRPWS1ul6/X9JIdmmrHJjC0KlcGiVMU/Ls9ljnQj7dgLXuDW7JzuK3MhTWV3Y2kS39ze3TskCKcbL
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: backblaze-credentials
|
||||||
|
namespace: backup
|
||||||
|
type: Opaque
|
@@ -46,14 +46,27 @@ spec:
|
|||||||
name: backup-nfs-access
|
name: backup-nfs-access
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- name: RESTIC_REPOSITORY
|
# secrets live in the same namespace as per kustomization.yaml
|
||||||
value: rest:http://rclone-gcloud:8000/kluster
|
|
||||||
# lives in the same namespace
|
|
||||||
- name: RESTIC_PASSWORD
|
- name: RESTIC_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: restic-gdrive-credentials
|
name: restic-gdrive-credentials
|
||||||
key: restic-password
|
key: restic-password
|
||||||
|
- name: RESTIC_REPOSITORY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: backblaze-credentials
|
||||||
|
key: repository-string
|
||||||
|
- name: AWS_ACCESS_KEY_ID
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: backblaze-credentials
|
||||||
|
key: key-id
|
||||||
|
- name: AWS_ACCESS_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: backblaze-credentials
|
||||||
|
key: key-secret
|
||||||
volumes:
|
volumes:
|
||||||
- name: backup-nfs-access
|
- name: backup-nfs-access
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
@@ -17,10 +17,12 @@ spec:
|
|||||||
# RESTIC_ARGS Can be for instance: --verbose --dry-run
|
# RESTIC_ARGS Can be for instance: --verbose --dry-run
|
||||||
# RESTIC_REPOSITORY is set in the secret
|
# RESTIC_REPOSITORY is set in the secret
|
||||||
- >-
|
- >-
|
||||||
|
restic unlock
|
||||||
|
&&
|
||||||
restic forget
|
restic forget
|
||||||
-r $(RESTIC_REPOSITORY)
|
-r $(RESTIC_REPOSITORY)
|
||||||
--verbose=2
|
--verbose=2
|
||||||
--keep-daily 7 --keep-weekly 5
|
--keep-daily 7 --keep-weekly 10
|
||||||
--prune
|
--prune
|
||||||
containers:
|
containers:
|
||||||
- name: ntfy-command-send
|
- name: ntfy-command-send
|
||||||
|
@@ -8,7 +8,6 @@ resources:
|
|||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
- pvc.yaml
|
- pvc.yaml
|
||||||
- restic-password.sealedsecret.yaml
|
- restic-password.sealedsecret.yaml
|
||||||
- rclone-config.sealedsecret.yaml
|
- backblaze-credentials.sealedsecret.yaml
|
||||||
- rclone-gcloud.deployment.yaml
|
|
||||||
- cronjobs-overlays/prune/
|
- cronjobs-overlays/prune/
|
||||||
- cronjobs-overlays/backup/
|
- cronjobs-overlays/backup/
|
||||||
|
@@ -11,8 +11,8 @@ resources:
|
|||||||
images:
|
images:
|
||||||
- name: octodns
|
- name: octodns
|
||||||
newName: octodns/octodns # has all plugins
|
newName: octodns/octodns # has all plugins
|
||||||
newTag: "2024.04"
|
newTag: "2024.08"
|
||||||
|
|
||||||
- name: git
|
- name: git
|
||||||
newName: alpine/git
|
newName: alpine/git
|
||||||
newTag: "2.43.0"
|
newTag: "v2.45.2"
|
Submodule infrastructure/external-dns/octodns deleted from ba74e801c1
2
infrastructure/external/kustomization.yaml
vendored
2
infrastructure/external/kustomization.yaml
vendored
@@ -8,4 +8,4 @@ resources:
|
|||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
- omv-s3.ingress.yaml
|
- omv-s3.ingress.yaml
|
||||||
- openmediavault.ingress.yaml
|
- openmediavault.ingress.yaml
|
||||||
- proxmox.ingress.yaml
|
- proxmox.ingress.yaml
|
||||||
|
31
infrastructure/gitea/README.md
Normal file
31
infrastructure/gitea/README.md
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
# Using gitea actions
|
||||||
|
The actions deployment allows to use gitea actions from repositories within this instance.
|
||||||
|
|
||||||
|
### Building docker images
|
||||||
|
Docker builds use the kubernetes runner to build the images. For this to work, the pipeline needs to be able to access the kube-api. A service-account is created for this purpose.
|
||||||
|
|
||||||
|
To use the correct docker builder use the following action
|
||||||
|
```yaml
|
||||||
|
...
|
||||||
|
|
||||||
|
- name: Create Kubeconfig
|
||||||
|
run: |
|
||||||
|
mkdir $HOME/.kube
|
||||||
|
echo "${{ secrets.BUILDX_KUBECONFIG }}" > $HOME/.kube/config
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
with:
|
||||||
|
driver: kubernetes
|
||||||
|
driver-opts: |
|
||||||
|
namespace=act-runner
|
||||||
|
qemu.install=true
|
||||||
|
|
||||||
|
...
|
||||||
|
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
<other config>
|
||||||
|
```
|
@@ -1,24 +1,23 @@
|
|||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: actions-runner
|
labels:
|
||||||
|
app: act-runner
|
||||||
|
name: act-runner
|
||||||
spec:
|
spec:
|
||||||
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: actions-runner
|
app: act-runner
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: actions-runner
|
app: act-runner
|
||||||
spec:
|
spec:
|
||||||
hostname: kube-runner
|
restartPolicy: Always
|
||||||
containers:
|
containers:
|
||||||
- name: actions-runner
|
- name: runner
|
||||||
image: actions-runner
|
image: vegardit/gitea-act-runner:dind-latest
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
memory: "128Mi"
|
|
||||||
cpu: "500m"
|
|
||||||
env:
|
env:
|
||||||
- name: GITEA_INSTANCE_URL
|
- name: GITEA_INSTANCE_URL
|
||||||
value: "https://git.kluster.moll.re"
|
value: "https://git.kluster.moll.re"
|
||||||
@@ -27,5 +26,35 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: actions-runner-secret
|
name: actions-runner-secret
|
||||||
key: runner-token
|
key: runner-token
|
||||||
- name: GITEA_RUNNER_LABELS
|
- name: ACTIONS_RUNNER_POD_NAME
|
||||||
value: k8s
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.name
|
||||||
|
- name: GITEA_RUNNER_UID
|
||||||
|
value: '1000'
|
||||||
|
- name: GITEA_RUNNER_GID
|
||||||
|
value: '1000'
|
||||||
|
- name: GITEA_RUNNER_JOB_CONTAINER_PRIVILEGED
|
||||||
|
value: 'true'
|
||||||
|
securityContext:
|
||||||
|
privileged: true
|
||||||
|
volumeMounts:
|
||||||
|
- name: runner-data
|
||||||
|
mountPath: /data
|
||||||
|
volumes:
|
||||||
|
- name: runner-data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: runner-data
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: runner-data
|
||||||
|
spec:
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 5Gi
|
||||||
|
storageClassName: "nfs-client"
|
||||||
|
volumeMode: Filesystem
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
@@ -7,7 +7,7 @@ metadata:
|
|||||||
namespace: gitea
|
namespace: gitea
|
||||||
spec:
|
spec:
|
||||||
encryptedData:
|
encryptedData:
|
||||||
runner-token: AgBHwek/Aj/0oOnI/bnZ4FgtRoeJw4tIKvcDzBhaPdQ7bMVHyHUKYUNP7lkPgZrIN+7rhMY7C/j13iGWx4iTdhTgipLiJvyZ70pXKLSix4IpcypJTElggWkW0JW79x1HyJfBtn9iJiHnEZXPi7sEnyKhA0asAOR0ae8NS6mxxei0TIImaPaC2RHL6MOi40xsXpHz2ZaVhDQaTSRWjv0U6+WkCGcueqM2HLYfF1gqqkzGCjjhdOTK1CKvIvApZ5n8x6x94IiywCXJraDCwLz+acF2c2vA/Jb/3p7TwyyRZ5uIF5LZufhTJ6+5sFJSReHYxO4CpPA8KvM880vtiEjN7LxVo/Jruj2459OvjviKZS03ZwLHHrjanom1+HA9Sx2ffRLiR5ayGkfj/6kvpIRt5x1F7BbPp+a0LXuxJX+1nGDyEa1D1WzVKvZASav6/v7cXcom/nKGO91Zb8qHlOv7ZTs5guGQ9G9VCOHOG8szwpW3ZmQwWfFoWsShzqbDqszBYOGeIjIiDllLzTZ8A9dv9J2ELngZ1IPGIkfpQNEW8hsbNXTYhdVIrkh7BIFkRWfYDNWxqZd4iE6XllQcT1rqndusgiNEJX2r+P4nT8dPewATXQ79wzvZU3kB+VHzM8cLymlVGADi7v/qTY9RcrhuE0oMLzHRShr6JU05VfLGbMsttrYKmW7smvBp3lRJitO5A8+r8cRniS1+Xr8mIx87vCvnoWSH6BKkl9pCdDeCGylAWfkJN9UpkaKg
|
runner-token: AgAUU0jMe3bhoaOdqRZjRzvuQyRMagahDQtX2eqoJ78xihMPkL2yK5MZoCbcps2+xq2zSBgtdwA8xAMyVC4aKkeqYaPSlvBcvuGbcEsnGYJB1Fmjqn2CbvF4nbfaio+XMBmhZXW+GiPWmeiID6LhMwZghzVmcLEuqSmBJ0uB203j0wqsz/k9haL5zZ3vZRE0ofNFceDiVE55TrvTBiLQf1H6R9kFSaRRvcuCH8desX3OmkcSZ0PktULM7KElF9pX1gndrbwiEL5XK60KzE9URl2qpTK/mRrN88ZBa6IuX7u7M579yD3d7yS/JgYi2TL8s3Z69v8JF/nF1ha19xJFhEp1iiyS40xo8cuGHbfVzDSExbJ9fQMpG+1w8ZmyiARXT0EMjuz7tBSruKlr21R6lvwyri71Zg6cUKoVcmQlcmEW7Y6TkH4dsOGlpBX2KsLai7ObGgsQePZ7BHaMTEl54omtdsNsQaquElKhhhBVLEGGQgbP/YZ0wT244mgQkjuMLjVxAM1IWsu4THUY16F+bphzw4xYesZTYYCJUpNO3FDvcsyqlMgPlLMnO3CZyt+Y1avrfz/id5eJUxlVFx9y5htzXA1GaBgrnoRkrpv2OVRFIxatASGbbQgqcDIWx3VXfjVF32fnzVUNtiTZ+pvC/UcyAvFZmaZIrdbK42cA85O1FaOThHJg+8rpc4RXWOOiVg8+8BAQUd/c9bdPJeYLavDefaI5O9DZT4UqiQioBCET2yZPIhwm9JBT
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
|
@@ -1,84 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: ServiceAccount
|
|
||||||
metadata:
|
|
||||||
name: drone-runner
|
|
||||||
---
|
|
||||||
kind: Role
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
metadata:
|
|
||||||
name: drone-runner
|
|
||||||
rules:
|
|
||||||
- apiGroups:
|
|
||||||
- ""
|
|
||||||
resources:
|
|
||||||
- secrets
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- apiGroups:
|
|
||||||
- ""
|
|
||||||
resources:
|
|
||||||
- pods
|
|
||||||
- pods/log
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- list
|
|
||||||
- watch
|
|
||||||
- update
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
kind: RoleBinding
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
metadata:
|
|
||||||
name: drone-runner
|
|
||||||
subjects:
|
|
||||||
- kind: ServiceAccount
|
|
||||||
name: drone-runner
|
|
||||||
roleRef:
|
|
||||||
kind: Role
|
|
||||||
name: drone-runner
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: drone-runner
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: drone-runner
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app.kubernetes.io/name: drone-runner
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: drone-runner
|
|
||||||
spec:
|
|
||||||
serviceAccountName: drone-runner
|
|
||||||
containers:
|
|
||||||
- name: runner
|
|
||||||
image: drone/drone-runner-kube:latest
|
|
||||||
ports:
|
|
||||||
- containerPort: 3000
|
|
||||||
env:
|
|
||||||
- name: DRONE_RPC_HOST
|
|
||||||
value: drone-server:80
|
|
||||||
- name: DRONE_RPC_PROTO
|
|
||||||
value: http
|
|
||||||
- name: DRONE_RPC_SECRET
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: drone-server-secret
|
|
||||||
key: rpc_secret
|
|
||||||
- name: DRONE_NAMESPACE_DEFAULT
|
|
||||||
value: gitea
|
|
||||||
# - name: DRONE_NAMESPACE_RULES
|
|
||||||
# value: "drone-runner:*"
|
|
||||||
- name: DRONE_SERVICE_ACCOUNT_DEFAULT
|
|
||||||
value: drone-runner
|
|
@@ -1,117 +0,0 @@
|
|||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: drone-server
|
|
||||||
labels:
|
|
||||||
app: drone-server
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: drone-server
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: drone-server
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: drone
|
|
||||||
image: drone/drone:latest
|
|
||||||
env:
|
|
||||||
- name: DRONE_SERVER_PORT # because the deployment is called drone-server, override this var again!
|
|
||||||
value: ":80"
|
|
||||||
- name: DRONE_GITEA_SERVER
|
|
||||||
value: https://git.kluster.moll.re
|
|
||||||
- name: DRONE_USER_CREATE
|
|
||||||
value: username:remoll,admin:true
|
|
||||||
- name: DRONE_GITEA_CLIENT_ID
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: drone-server-secret
|
|
||||||
key: client_id
|
|
||||||
- name: DRONE_GITEA_CLIENT_SECRET
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: drone-server-secret
|
|
||||||
key: client_secret
|
|
||||||
- name: DRONE_RPC_SECRET
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: drone-server-secret
|
|
||||||
key: rpc_secret
|
|
||||||
- name: DRONE_SERVER_HOST
|
|
||||||
value: drone.kluster.moll.re
|
|
||||||
- name: DRONE_SERVER_PROTO
|
|
||||||
value: https
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
memory: "1Gi"
|
|
||||||
cpu: 1.5
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /data
|
|
||||||
name: drone-data-nfs
|
|
||||||
volumes:
|
|
||||||
- name: drone-data-nfs
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: drone-data-nfs
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: drone-server
|
|
||||||
labels:
|
|
||||||
app: drone-server
|
|
||||||
|
|
||||||
spec:
|
|
||||||
type: ClusterIP
|
|
||||||
ports:
|
|
||||||
- port: 80
|
|
||||||
name: http
|
|
||||||
selector:
|
|
||||||
app: drone-server
|
|
||||||
---
|
|
||||||
apiVersion: traefik.io/v1alpha1
|
|
||||||
kind: IngressRoute
|
|
||||||
metadata:
|
|
||||||
name: drone-server-ingress
|
|
||||||
|
|
||||||
spec:
|
|
||||||
entryPoints:
|
|
||||||
- websecure
|
|
||||||
routes:
|
|
||||||
- match: Host(`drone.kluster.moll.re`)
|
|
||||||
kind: Rule
|
|
||||||
services:
|
|
||||||
- name: drone-server
|
|
||||||
port: 80
|
|
||||||
tls:
|
|
||||||
certResolver: default-tls
|
|
||||||
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolume
|
|
||||||
metadata:
|
|
||||||
name: drone-data-nfs
|
|
||||||
spec:
|
|
||||||
capacity:
|
|
||||||
storage: "1Gi"
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
nfs:
|
|
||||||
path: /export/kluster/drone
|
|
||||||
server: 192.168.1.157
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: drone-data-nfs
|
|
||||||
spec:
|
|
||||||
storageClassName: ""
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: "1Gi"
|
|
||||||
volumeName: drone-data-nfs
|
|
@@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
"kind": "SealedSecret",
|
|
||||||
"apiVersion": "bitnami.com/v1alpha1",
|
|
||||||
"metadata": {
|
|
||||||
"name": "drone-server-secret",
|
|
||||||
"namespace": "gitea",
|
|
||||||
"creationTimestamp": null
|
|
||||||
},
|
|
||||||
"spec": {
|
|
||||||
"template": {
|
|
||||||
"metadata": {
|
|
||||||
"name": "drone-server-secret",
|
|
||||||
"namespace": "gitea",
|
|
||||||
"creationTimestamp": null
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"encryptedData": {
|
|
||||||
"client_id": "AgA53a7kGJ6zZcx2ooTvTNwxaW2FvfzHJnxg6co54+HXinTJKsc4+GJ1PtdIbsZ7Dgu/sLi/4X90fT+PT2sgEx9jIilmHPdJeRtwV1UID3Y46A7cJlfcAKwNOFzp2PWvBvizbNp7tbJwxeAYnVX8GfN6fi700QxBGqAI3u8qQvLpU6UGW2RM96gCXI7s1QhE1Le6TgoESy5HX95pB7csDRNSwVE02OWfDHKEjH8QD8UvBB9xct6uwDfu7KrsJiNJvWMP6arvpfhy/X+UtCTFmj5wmFYL7oc6vSiCkq+QyHgQTEHTmGpEjEGKcQxPQaus3KhbhcxQBYLMEMYRlLPH0AEAA4dzbSpoVXM3LuIe9FppgrTCknK1uRB8wyrHUeInWO8mG7UraV6m5PUS+UYODMvfjwY3PyiGhTSf6LgMlhMl8e+2rb+OsWphT8Pbeom33PucrYaRFr9RpQkJSwE6HU3JEh25YLfIJ7caqRND8C/p8kD679C8UMcNpBN8WS4Cswn5jzmwbeJNM5DGp9yQVZNx7Bv3dHzx9i3ShjJ6QQnR/zWJZ/dWLy6weGYmdZMMXRAO8CCdruvcX5YyeieXZfchSIlZ/GqqBHptdcLpwLiZsfmyTWeBvk5pMAsZaKJ1tfWpQ84s4epzMoieTfhTueGXmeRKX+DJBBcriU+5YoqNxpU1lPL+LoInorJSKN7c3ouFx78N3GDOCq7mlWI94lY0bIs5zhrfUN137ITCcED62AJ7vks=",
|
|
||||||
"client_secret": "AgDQXU7x6RLhE9Hc+goeR2+3rW316SLLLA8tfqx3tsykL+vxhRkY5UCEaak3Rgei0k14jB/Rmme+/O/D1/5tc/i885+sGn0yjU7Jo4L5nkIssUOHlmRSGkRJDb9ABPauFXAjap9KLix9bd8ewI7R0lS3tOK9ZhThYhcfDUqV9qkkbSHzwNptkH7gYWt9qzG/rqqqpFP+PCtjzKVve4LCBgaxetcnh1t+d5oh7VAFnSI9Bt1G/DRzi+K3YZ+YG5+XKevBp06GMiLUMiv/eUvmOfAB/KO79LnNVbOcRsAHfnqLbXgNjFzspr5xDiGMC/ma1245LavywqXDp0S9jjNEe48i51PPQMwHWV8XEovsM6LHcteluNogt+VkL4mOnmP+sba/V3NO51rt1WXl+ca+U4kBq4dLMsdpWUKemz9BlIRC4etEXjwKJ5DznT7u6GUTrXx2RCm1j0OYWM++P10SdyD6tGjKnZf88a33Wrwm8Y7c47JrPTlP4PqLq9gzvD310uVfs1vGYGULaToGy+D/th8qiWWlu7BIfwqlIj8lruVnOhQ4GeEZmUAsqYf8JfsBwuDc0Y+8qbwjFrr2z+5x+2XBL8KGZVopyme45SHijlBZs7YsJqTBsg5oW09grM8/oO731GtzSYmpat2VZlaILuTjALqo/cu//kxwmqh7UX+jnTJ/2N3bKKSAfHWbHDeHeS2XJ+eKaI4onNYW9J70EfAP3vOpU+zmQ8rOzJuJjRt0HarLwzc5CXb1Xhlgsaoj7zKXPQMnqIDngg==",
|
|
||||||
"rpc_secret": "AgAcJNCFtOhK28vnLredkTgsVpnMPwaXss5NT5ysc0IbVid2vWRk2CTjBZc5DzjxxLwI1Ok88MFXHP08ZGCYy4rIbwoi7Ei1OEevGWfaI4n5CvAxr4ZamQHSfIX9dVAm9BSSx2M/mDtCKqVEGJEzyHCedrxf6LXM/YTNgjD43BuCZZMu35mRsHItpYFZQSttlHiUvR8y2YKrhV2P7fiWRD3cCVao8ldzKfGuvRfal8ByGoxpsYLj2D9CdtPvRF/TQsWUJJWwzbI9DmbW1MMI4/b26Jfa5TBvHxS1MQxFJpSXuMIengO+b0bi7WaR36y/FrKSNxIrQDHI7XCb00yYaSfj3RkSBVoAD0a2p8vNupHCqsKBoaWd8tMv/wGP8wbBk4DgGeQiTIvfhbQZU/Q2/LVDDficjXVn3IuKP/cqgGVf6lUh5YsUSs8qwpMil7XySiHvaZn+iFAnsXoejd4S2e/pbRvyaxP1aa7TCxnINjpU7IrnUEUiI4glQmAte3MqZWLXcc0Uk3Qz9PP0cD+V8qCOryrPMP2kTAI8LT/K4DgcEMAEGes4Vx1l0oBMF0xJvhM2kZXcEcf0NzuQJvYTgZpQF5xp0TchezLshmEUSIkII9NvAvn+iEYJeHsJUDijjmBloSYe4+QTgdYh6FakVUwYI5U4ztDNrvgqhWjExfbn8HxaFzsNTsuzGoYs+jwXH8Wk2z1Q1oQjDdO5YTjmdqvkSTdin/5CiuCDHaQX6a4gNQ=="
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -119,7 +119,7 @@ gitea:
|
|||||||
TYPE: level
|
TYPE: level
|
||||||
indexer:
|
indexer:
|
||||||
ISSUE_INDEXER_TYPE: bleve
|
ISSUE_INDEXER_TYPE: bleve
|
||||||
REPO_INDEXER_ENABLED: true
|
REPO_INDEXER_ENABLED: false
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5,24 +5,18 @@ resources:
|
|||||||
- gitea.pvc.yaml
|
- gitea.pvc.yaml
|
||||||
- gitea.ingress.yaml
|
- gitea.ingress.yaml
|
||||||
- gitea.servicemonitor.yaml
|
- gitea.servicemonitor.yaml
|
||||||
- drone-kube-runner.deployment.yaml
|
|
||||||
- drone-server.deployment.yaml
|
|
||||||
- drone-server.sealedsecret.yaml
|
|
||||||
- actions.deployment.yaml
|
- actions.deployment.yaml
|
||||||
- actions.sealedsecret.yaml
|
- actions.sealedsecret.yaml
|
||||||
|
# - actions.rbac.yaml
|
||||||
|
|
||||||
|
|
||||||
namespace: gitea
|
namespace: gitea
|
||||||
|
|
||||||
images:
|
|
||||||
- name: actions-runner
|
|
||||||
newName: ghcr.io/christopherhx/gitea-actions-runner
|
|
||||||
newTag: v0.0.11
|
|
||||||
|
|
||||||
|
|
||||||
helmCharts:
|
helmCharts:
|
||||||
- name: gitea
|
- name: gitea
|
||||||
namespace: gitea # needs to be set explicitly for svc to be referenced correctly
|
namespace: gitea # needs to be set explicitly for svc to be referenced correctly
|
||||||
releaseName: gitea
|
releaseName: gitea
|
||||||
version: 10.1.4
|
version: 10.4.1
|
||||||
valuesFile: gitea.values.yaml
|
valuesFile: gitea.values.yaml
|
||||||
repo: https://dl.gitea.io/charts/
|
repo: https://dl.gitea.io/charts/
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
name: placeholder
|
name: placeholder
|
||||||
|
labels:
|
||||||
|
pod-security.kubernetes.io/enforce: privileged
|
||||||
|
28
infrastructure/gitea/postgres.yaml
Normal file
28
infrastructure/gitea/postgres.yaml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
apiVersion: postgresql.cnpg.io/v1
|
||||||
|
kind: Cluster
|
||||||
|
metadata:
|
||||||
|
name: gitea-postgres
|
||||||
|
spec:
|
||||||
|
instances: 1
|
||||||
|
imageName: ghcr.io/tensorchord/cloudnative-pgvecto.rs:16.2
|
||||||
|
bootstrap:
|
||||||
|
initdb:
|
||||||
|
import:
|
||||||
|
type: monolith
|
||||||
|
databases:
|
||||||
|
|
||||||
|
|
||||||
|
# Persistent storage configuration
|
||||||
|
storage:
|
||||||
|
size: 10Gi
|
||||||
|
pvcTemplate:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 10Gi
|
||||||
|
storageClassName: nfs-client
|
||||||
|
volumeMode: Filesystem
|
||||||
|
|
||||||
|
monitoring:
|
||||||
|
enablePodMonitor: true
|
@@ -10,6 +10,6 @@ namespace: metallb-system
|
|||||||
helmCharts:
|
helmCharts:
|
||||||
- name: metallb
|
- name: metallb
|
||||||
repo: https://metallb.github.io/metallb
|
repo: https://metallb.github.io/metallb
|
||||||
version: 0.14.5
|
version: 0.14.8
|
||||||
releaseName: metallb
|
releaseName: metallb
|
||||||
valuesFile: values.yaml
|
valuesFile: values.yaml
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
name: placeholder
|
name: placeholder
|
||||||
|
labels:
|
||||||
|
pod-security.kubernetes.io/enforce: privileged
|
||||||
|
@@ -9,6 +9,6 @@ namespace: pg-ha
|
|||||||
helmCharts:
|
helmCharts:
|
||||||
- name: cloudnative-pg
|
- name: cloudnative-pg
|
||||||
releaseName: pg-controller
|
releaseName: pg-controller
|
||||||
version: 0.21.0
|
version: 0.22.0
|
||||||
valuesFile: values.yaml
|
valuesFile: values.yaml
|
||||||
repo: https://cloudnative-pg.io/charts/
|
repo: https://cloudnative-pg.io/charts/
|
||||||
|
@@ -17,4 +17,4 @@ resources:
|
|||||||
images:
|
images:
|
||||||
- name: thanos
|
- name: thanos
|
||||||
newName: quay.io/thanos/thanos
|
newName: quay.io/thanos/thanos
|
||||||
newTag: v0.34.1
|
newTag: v0.36.1
|
||||||
|
@@ -4,7 +4,7 @@ metadata:
|
|||||||
name: prometheus
|
name: prometheus
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
knd: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
name: prometheus
|
name: prometheus
|
||||||
rules:
|
rules:
|
||||||
@@ -52,26 +52,17 @@ spec:
|
|||||||
requests:
|
requests:
|
||||||
memory: 400Mi
|
memory: 400Mi
|
||||||
retention: 730d
|
retention: 730d
|
||||||
retentionSize: 50Gi
|
retentionSize: 3GiB
|
||||||
serviceAccountName: prometheus
|
serviceAccountName: prometheus
|
||||||
enableAdminAPI: false
|
enableAdminAPI: false
|
||||||
serviceMonitorNamespaceSelector: {}
|
serviceMonitorNamespaceSelector: {}
|
||||||
serviceMonitorSelector: {}
|
serviceMonitorSelector: {}
|
||||||
thanos:
|
thanos:
|
||||||
version: v0.33.0
|
version: v0.34.1
|
||||||
objectStorageConfig:
|
objectStorageConfig:
|
||||||
# loads the config from a secret named thanos-objstore-config in the same namespace
|
# loads the config from a secret named thanos-objstore-config in the same namespace
|
||||||
key: thanos.yaml
|
key: thanos.yaml
|
||||||
name: thanos-objstore-config
|
name: thanos-objstore-config
|
||||||
volumeClaimTemplate:
|
|
||||||
metadata:
|
|
||||||
name: prometheus-data
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 50Gi
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
@@ -7,7 +7,7 @@ metadata:
|
|||||||
namespace: prometheus
|
namespace: prometheus
|
||||||
spec:
|
spec:
|
||||||
encryptedData:
|
encryptedData:
|
||||||
thanos.yaml: AgAvZbqz5bYVzhbpfYXKoVHt+wKKuOI2C8pBCkBxuBcORoEf2f6eGVYS+aaojipQk8LaYP2yw/ffRmucKuAH0mVmZllRkVoZTOP7L1ciDmrOpbfrfPtoMJagFY90HKd1FZcI45C64MUYvqHCvF40Jk6rEii9aSmOPj9WyGqh5GrqCO24tt1Prk3o+ZS6Z2tlPRF1PdBpyZcQYYMnSuTgA4aCVuXQF/H5rR1luP85jzJAESp1VEV+xEOUY98ZLaA071fySndFZEn6YflfpixqNWFkloYENMfGL+x9jc/zbvbLyG4Q4FG5etz331GQe29OW7uIibXXGwdKO+a6Wd7a6I9ygA5+V8UdeT9mvB2AZRV6aY3aHifOgTTDDg/9YkXfUnmEwowhzsx7mtumxHOmHssFsWmRCX04wHz596/8/RyqmQrShCdGjtVkhVcEuJPPacC6awj9AZOQcW86uatZgnvnNJPlHjgSYFGxnHS89AWRgY68IF6h4Xhs8CpIcVoujK8Oi05vL3Ypi3g/r0iJ65tbYVo3LfyTnSk4pUgERJHGCPpBmiSo4DG+K9pA+cYyqjgZZGXaGKzLNCUDrBEWg5nY5gNMCyjTEeoQUurz2uPLD07Jme9KUd0a1TpoEsUOvfyyiM1DKW30XTKvIfm5m3voBatV+3oX1XfqyZEqkS7+VtWzqRqYAr0y5MEnBTpIMXQBa8M5SlVvcpaovKk1A6ZzNZExfF77o71v650axcLT3U+sxV8IIRS7y+BDRJGYiXaX0EFOIlIe+YDGFbf2k1kUi1kbhHBQEPCQkTgt79yTLEyXNAGrpNUsNYivWIQ+8GPM6+wDY9NjS2QLFKBt5sPe0VjqxzCeSoUY6rDgmR8rEtWpqOHWfuD5IuyCerzxmh0kMr9vVKjEjfJoSjES2MQRM5wOdVLHJSc=
|
thanos.yaml: AgByW/LKzPh0QeNsHR8Us4bJ/0chIQErhfh5plY1tjqiZyNLlxZ+NygYYzVggW02k4gAsKs68trbLBbeTTEhpKYP8hUphNb13lrgp07wYpOQjUF57i6RjPM2QNJpO0qLSk/nOPIOtR3XKn+nXxdJDmh3j5y0zxVz5O7MLh7adwOaHlyWTLMJjI1cda8YljDp2FYs24lHHMw4gXAYUecGDJNQqw5Xy9IiGh8kBbcKe3j6bVCj1yxPbHszmvZ2s+Q+mnndXnoeLMhwjZhMF8/PETxmSZ2bs41k3lHm/2rcPQCJsl9CuJEGKhu6ndKrVhtury4/US/FheEOoGF0YZk/AQMHII/mxy8haPNxtQTDs4rfYz/BA8cMMZll44wxOY9gAOmhm3sG6GI9wcB1Z65p98xSuDaInknO80l07vwMAAvmrZbT53Fmefrxl+jE1pImcGEsL0MfP621nTXlOBW9keF+6aUOubrwjPKKSXdqZU21acNbaIeRQSJyaOBStAKLfnPFmaryGisgNu0hCk/WmszZ0/s/ilvdMdAD6kKoiKL/NWfXtHATh/fnd76bKfSzNQk6e+WWfomToYVU0HRgAaWnIzjB9Q4tjxkbRwteEodU+K1BvD4xQ0sfQB2vHlDjQGC3pjIUFCWG0SzQGb7oe6+X2CJpcNIBHwF661iELJpJkg8dLsPtwb+8Rj6BL+ZtyVKYv18nDNON0WVpwJb/IHHSmxfYD5b/q6fATCFj55IXK5Nr4VO65a2Sv5Iv0/TTUVkwb8dkMmwfs5qcQiZ4oKWx8Ol6GkjDZrFARUtHQ/9KiZ9xDj3tPic2TeQfKr27sgc4lEL8RSxaRKHkkxIAioea3YgFfBm7ZfoxMlzJnQ1vI2vDvJcRXhWKSGdXiKOddwLSVMZFsSRRi9AxH87Sjt7j1wvsA7xgBqc=
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
|
@@ -53,15 +53,3 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
port: 10901
|
port: 10901
|
||||||
targetPort: grpc
|
targetPort: grpc
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: thanos-querier
|
|
||||||
name: thanos-querier
|
|
||||||
spec:
|
|
||||||
ports:
|
|
||||||
- port: 9090
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: http
|
|
||||||
name: http
|
|
||||||
selector:
|
|
||||||
app: thanos-querier
|
|
@@ -1,33 +1,32 @@
|
|||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: StatefulSet
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: thanos-store-gateway
|
name: thanos-store
|
||||||
labels:
|
labels:
|
||||||
app: thanos-store-gateway
|
app: thanos-store
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: thanos-store-gateway
|
app: thanos-store
|
||||||
serviceName: thanos-store-gateway
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: thanos-store-gateway
|
app: thanos-store
|
||||||
thanos-store-api: "true"
|
thanos-store-api: "true"
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: thanos
|
- name: thanos
|
||||||
image: thanos
|
image: thanos
|
||||||
args:
|
args:
|
||||||
- "store"
|
- store
|
||||||
- "--log.level=debug"
|
- --log.level=debug
|
||||||
- "--data-dir=/data"
|
- --data-dir=/data
|
||||||
- "--grpc-address=0.0.0.0:10901"
|
- --grpc-address=0.0.0.0:10901
|
||||||
- "--http-address=0.0.0.0:10902"
|
- --http-address=0.0.0.0:10902
|
||||||
- "--objstore.config-file=/etc/secret/thanos.yaml"
|
- --objstore.config-file=/etc/secret/thanos.yaml
|
||||||
- "--index-cache-size=500MB"
|
- --index-cache-size=500MB
|
||||||
- "--chunk-pool-size=500MB"
|
- --chunk-pool-size=500MB
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 10902
|
containerPort: 10902
|
||||||
@@ -61,7 +60,6 @@ metadata:
|
|||||||
app.kubernetes.io/name: thanos-store
|
app.kubernetes.io/name: thanos-store
|
||||||
name: thanos-store
|
name: thanos-store
|
||||||
spec:
|
spec:
|
||||||
clusterIP: None
|
|
||||||
ports:
|
ports:
|
||||||
- name: grpc
|
- name: grpc
|
||||||
port: 10901
|
port: 10901
|
||||||
@@ -70,4 +68,4 @@ spec:
|
|||||||
port: 10902
|
port: 10902
|
||||||
targetPort: 10902
|
targetPort: 10902
|
||||||
selector:
|
selector:
|
||||||
app: thanos-store-gateway
|
app: thanos-store
|
||||||
|
@@ -11,4 +11,4 @@ resources:
|
|||||||
images:
|
images:
|
||||||
- name: renovate/renovate
|
- name: renovate/renovate
|
||||||
newName: renovate/renovate
|
newName: renovate/renovate
|
||||||
newTag: "37"
|
newTag: "38"
|
||||||
|
@@ -9,4 +9,4 @@ resources:
|
|||||||
images:
|
images:
|
||||||
- name: controller
|
- name: controller
|
||||||
newName: docker.io/bitnami/sealed-secrets-controller
|
newName: docker.io/bitnami/sealed-secrets-controller
|
||||||
newTag: 0.26.2
|
newTag: 0.27.1
|
||||||
|
@@ -74,11 +74,13 @@ data:
|
|||||||
address = ":9000"
|
address = ":9000"
|
||||||
|
|
||||||
[entryPoints.dnsovertls]
|
[entryPoints.dnsovertls]
|
||||||
address = ":853"
|
address = ":8853"
|
||||||
# route dns over https to other pods but provide own certificate
|
# route dns over https to other pods but provide own certificate
|
||||||
|
|
||||||
|
|
||||||
[metrics]
|
[metrics]
|
||||||
[metrics.prometheus]
|
[metrics.prometheus]
|
||||||
|
# metrics are enabled and scraping is ensured through a servicemonitor
|
||||||
entryPoint = "metrics"
|
entryPoint = "metrics"
|
||||||
addEntryPointsLabels = true
|
addEntryPointsLabels = true
|
||||||
addServicesLabels = true
|
addServicesLabels = true
|
||||||
|
@@ -5,14 +5,14 @@ resources:
|
|||||||
- pvc.yaml
|
- pvc.yaml
|
||||||
- configmap.yaml
|
- configmap.yaml
|
||||||
- servicemonitor.yaml
|
- servicemonitor.yaml
|
||||||
- https://raw.githubusercontent.com/traefik/traefik/v2.11/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml
|
- https://raw.githubusercontent.com/traefik/traefik/v3.0/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml
|
||||||
- https://raw.githubusercontent.com/traefik/traefik/v2.11/docs/content/reference/dynamic-configuration/kubernetes-crd-rbac.yml
|
- https://raw.githubusercontent.com/traefik/traefik/v3.0/docs/content/reference/dynamic-configuration/kubernetes-crd-rbac.yml
|
||||||
|
|
||||||
namespace: traefik-system
|
namespace: traefik-system
|
||||||
|
|
||||||
helmCharts:
|
helmCharts:
|
||||||
- name: traefik
|
- name: traefik
|
||||||
releaseName: traefik
|
releaseName: traefik
|
||||||
version: 27.0.2
|
version: 31.1.1
|
||||||
valuesFile: values.yaml
|
valuesFile: values.yaml
|
||||||
repo: https://traefik.github.io/charts
|
repo: https://traefik.github.io/charts
|
||||||
|
@@ -2,3 +2,5 @@ apiVersion: v1
|
|||||||
kind: Namespace
|
kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
name: placeholder
|
name: placeholder
|
||||||
|
labels:
|
||||||
|
pod-security.kubernetes.io/enforce: privileged
|
||||||
|
@@ -1,25 +1,11 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolume
|
|
||||||
metadata:
|
|
||||||
name: traefik-certificate
|
|
||||||
spec:
|
|
||||||
capacity:
|
|
||||||
storage: "10Mi"
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
nfs:
|
|
||||||
path: /export/kluster/traefik/certs
|
|
||||||
server: 192.168.1.157
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: traefik-certificate
|
name: certs
|
||||||
spec:
|
spec:
|
||||||
|
storageClassName: "nfs-client"
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: "10Mi"
|
storage: "50Mi"
|
||||||
volumeName: traefik-certificate
|
|
||||||
storageClassName: ""
|
|
||||||
|
@@ -1,151 +0,0 @@
|
|||||||
## Default values.yaml for Telegraf
|
|
||||||
## This is a YAML-formatted file.
|
|
||||||
## ref: https://hub.docker.com/r/library/telegraf/tags/
|
|
||||||
|
|
||||||
replicaCount: 1
|
|
||||||
image:
|
|
||||||
repo: "telegraf"
|
|
||||||
tag: "1.24"
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
podAnnotations: {}
|
|
||||||
podLabels: {}
|
|
||||||
imagePullSecrets: []
|
|
||||||
## Configure args passed to Telegraf containers
|
|
||||||
args: []
|
|
||||||
# The name of a secret in the same kubernetes namespace which contains values to
|
|
||||||
# be added to the environment (must be manually created)
|
|
||||||
# This can be useful for auth tokens, etc.
|
|
||||||
|
|
||||||
# envFromSecret: "telegraf-tokens"
|
|
||||||
env:
|
|
||||||
- name: HOSTNAME
|
|
||||||
value: "telegraf-polling-service"
|
|
||||||
# An older "volumeMounts" key was previously added which will likely
|
|
||||||
# NOT WORK as you expect. Please use this newer configuration.
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: traefik-logs
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: traefik-logs
|
|
||||||
mountPoints:
|
|
||||||
- name: traefik-logs
|
|
||||||
mountPath: /traefik_logs
|
|
||||||
|
|
||||||
|
|
||||||
## Node labels for pod assignment
|
|
||||||
## ref: https://kubernetes.io/docs/user-guide/node-selection/
|
|
||||||
nodeSelector: {}
|
|
||||||
## Affinity for pod assignment
|
|
||||||
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
|
||||||
##
|
|
||||||
affinity: # to read the traefik logs the pod must be on the same node as traefik
|
|
||||||
podAffinity:
|
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
|
||||||
- labelSelector:
|
|
||||||
matchExpressions: # matches labels: app.kubernetes.io/name=traefik
|
|
||||||
- key: app.kubernetes.io/name
|
|
||||||
operator: In
|
|
||||||
values:
|
|
||||||
- traefik
|
|
||||||
topologyKey: "kubernetes.io/hostname"
|
|
||||||
|
|
||||||
## Tolerations for pod assignment
|
|
||||||
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
|
||||||
##
|
|
||||||
tolerations: []
|
|
||||||
# - key: "key"
|
|
||||||
# operator: "Equal|Exists"
|
|
||||||
# value: "value"
|
|
||||||
# effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)"
|
|
||||||
|
|
||||||
service:
|
|
||||||
enabled: false
|
|
||||||
type: ClusterIP
|
|
||||||
annotations: {}
|
|
||||||
rbac:
|
|
||||||
# Specifies whether RBAC resources should be created
|
|
||||||
create: true
|
|
||||||
# Create only for the release namespace or cluster wide (Role vs ClusterRole)
|
|
||||||
clusterWide: false
|
|
||||||
# Rules for the created rule
|
|
||||||
rules: []
|
|
||||||
# When using the prometheus input to scrape all pods you need extra rules set to the ClusterRole to be
|
|
||||||
# able to scan the pods for scraping labels. The following rules have been taken from:
|
|
||||||
# https://github.com/helm/charts/blob/master/stable/prometheus/templates/server-clusterrole.yaml#L8-L46
|
|
||||||
# - apiGroups:
|
|
||||||
# - ""
|
|
||||||
# resources:
|
|
||||||
# - nodes
|
|
||||||
# - nodes/proxy
|
|
||||||
# - nodes/metrics
|
|
||||||
# - services
|
|
||||||
# - endpoints
|
|
||||||
# - pods
|
|
||||||
# - ingresses
|
|
||||||
# - configmaps
|
|
||||||
# verbs:
|
|
||||||
# - get
|
|
||||||
# - list
|
|
||||||
# - watch
|
|
||||||
# - apiGroups:
|
|
||||||
# - "extensions"
|
|
||||||
# resources:
|
|
||||||
# - ingresses/status
|
|
||||||
# - ingresses
|
|
||||||
# verbs:
|
|
||||||
# - get
|
|
||||||
# - list
|
|
||||||
# - watch
|
|
||||||
# - nonResourceURLs:
|
|
||||||
# - "/metrics"
|
|
||||||
# verbs:
|
|
||||||
# - get
|
|
||||||
|
|
||||||
serviceAccount:
|
|
||||||
# Specifies whether a ServiceAccount should be created
|
|
||||||
create: true
|
|
||||||
# The name of the ServiceAccount to use.
|
|
||||||
# If not set and create is true, a name is generated using the fullname template
|
|
||||||
name:
|
|
||||||
# Annotations for the ServiceAccount
|
|
||||||
annotations: {}
|
|
||||||
## Exposed telegraf configuration
|
|
||||||
## For full list of possible values see `/docs/all-config-values.yaml` and `/docs/all-config-values.toml`
|
|
||||||
## ref: https://docs.influxdata.com/telegraf/v1.1/administration/configuration/
|
|
||||||
config:
|
|
||||||
agent:
|
|
||||||
interval: "10s"
|
|
||||||
round_interval: true
|
|
||||||
metric_batch_size: 1000
|
|
||||||
metric_buffer_limit: 10000
|
|
||||||
collection_jitter: "0s"
|
|
||||||
flush_interval: "10s"
|
|
||||||
flush_jitter: "0s"
|
|
||||||
precision: ""
|
|
||||||
debug: false
|
|
||||||
quiet: false
|
|
||||||
logfile: ""
|
|
||||||
hostname: "$HOSTNAME"
|
|
||||||
omit_hostname: true
|
|
||||||
# processors:
|
|
||||||
# - enum:
|
|
||||||
# mapping:
|
|
||||||
# field: "status"
|
|
||||||
# dest: "status_code"-+
|
|
||||||
# value_mappings:
|
|
||||||
# healthy: 1
|
|
||||||
# problem: 2
|
|
||||||
# critical: 3
|
|
||||||
outputs:
|
|
||||||
- influxdb_v2:
|
|
||||||
urls:
|
|
||||||
- "http://influxdb-influxdb2.monitoring:80"
|
|
||||||
token: N_jNm1hZTfyhJneTJj2G357mQ7EJdNzdvebjSJX6JkbyaXNup_IAqeYowblMgV8EjLypNvauTl27ewJvI_rbqQ==
|
|
||||||
organization: "influxdata"
|
|
||||||
bucket: "kluster"
|
|
||||||
# retention_policy: "2w"
|
|
||||||
inputs:
|
|
||||||
- docker_log:
|
|
||||||
endpoint: "unix:///var/run/docker.sock"
|
|
||||||
from_beginning: false
|
|
||||||
container_name_include: ["traefik"]
|
|
@@ -7,60 +7,15 @@ deployment:
|
|||||||
kind: Deployment
|
kind: Deployment
|
||||||
# Number of pods of the deployment (only applies when kind == Deployment)
|
# Number of pods of the deployment (only applies when kind == Deployment)
|
||||||
replicas: 1
|
replicas: 1
|
||||||
# Number of old history to retain to allow rollback (If not set, default Kubernetes value is set to 10)
|
|
||||||
# revisionHistoryLimit: 1
|
|
||||||
# Amount of time (in seconds) before Kubernetes will send the SIGKILL signal if Traefik does not shut down
|
|
||||||
terminationGracePeriodSeconds: 60
|
|
||||||
# The minimum number of seconds Traefik needs to be up and running before the DaemonSet/Deployment controller considers it available
|
|
||||||
minReadySeconds: 0
|
|
||||||
# Additional deployment annotations (e.g. for jaeger-operator sidecar injection)
|
|
||||||
annotations: {}
|
|
||||||
# Additional deployment labels (e.g. for filtering deployment by custom labels)
|
|
||||||
labels: {}
|
|
||||||
# Additional pod annotations (e.g. for mesh injection or prometheus scraping)
|
|
||||||
podAnnotations: {}
|
|
||||||
# Additional Pod labels (e.g. for filtering Pod by custom labels)
|
|
||||||
podLabels: {}
|
|
||||||
# Additional containers (e.g. for metric offloading sidecars)
|
|
||||||
additionalContainers: []
|
|
||||||
# https://docs.datadoghq.com/developers/dogstatsd/unix_socket/?tab=host
|
|
||||||
# - name: socat-proxy
|
|
||||||
# image: alpine/socat:1.0.5
|
|
||||||
# args: ["-s", "-u", "udp-recv:8125", "unix-sendto:/socket/socket"]
|
|
||||||
# volumeMounts:
|
|
||||||
# - name: dsdsocket
|
|
||||||
# mountPath: /socket
|
|
||||||
# Additional volumes available for use with initContainers and additionalContainers
|
# Additional volumes available for use with initContainers and additionalContainers
|
||||||
additionalVolumes:
|
additionalVolumes:
|
||||||
# - name: traefik-logs
|
- name: certs
|
||||||
# persistentVolumeClaim:
|
|
||||||
# claimName: traefik-logs
|
|
||||||
- name: traefik-certificate
|
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: traefik-certificate
|
claimName: certs
|
||||||
- name: traefik-config
|
- name: traefik-config
|
||||||
configMap:
|
configMap:
|
||||||
name: traefik-config
|
name: traefik-config
|
||||||
# - name: dsdsocket
|
|
||||||
# hostPath:
|
|
||||||
# path: /var/run/statsd-exporter
|
|
||||||
# Additional initContainers (e.g. for setting file permission as shown below)
|
|
||||||
initContainers: []
|
|
||||||
# The "volume-permissions" init container is required if you run into permission issues.
|
|
||||||
# Related issue: https://github.com/traefik/traefik/issues/6972
|
|
||||||
# - name: volume-permissions
|
|
||||||
# image: busybox:1.31.1
|
|
||||||
# command: ["sh", "-c", "chmod -Rv 600 /data/*"]
|
|
||||||
# volumeMounts:
|
|
||||||
# - name: data
|
|
||||||
# mountPath: /data
|
|
||||||
# Use process namespace sharing
|
|
||||||
shareProcessNamespace: false
|
|
||||||
# Custom pod DNS policy. Apply if `hostNetwork: true`
|
|
||||||
# dnsPolicy: ClusterFirstWithHostNet
|
|
||||||
# Additional imagePullSecrets
|
|
||||||
imagePullSecrets: []
|
|
||||||
# - name: myRegistryKeySecretName
|
|
||||||
|
|
||||||
|
|
||||||
# Use ingressClass. Ignored if Traefik version < 2.3 / kubernetes < 1.18.x
|
# Use ingressClass. Ignored if Traefik version < 2.3 / kubernetes < 1.18.x
|
||||||
@@ -78,7 +33,7 @@ pilot:
|
|||||||
# Toggle Pilot Dashboard
|
# Toggle Pilot Dashboard
|
||||||
# dashboard: false
|
# dashboard: false
|
||||||
|
|
||||||
# Enable experimental features
|
# Enable experimental featureskdes+
|
||||||
experimental:
|
experimental:
|
||||||
http3:
|
http3:
|
||||||
enabled: false
|
enabled: false
|
||||||
@@ -99,11 +54,6 @@ experimental:
|
|||||||
ingressRoute:
|
ingressRoute:
|
||||||
dashboard:
|
dashboard:
|
||||||
enabled: false
|
enabled: false
|
||||||
# Additional ingressRoute annotations (e.g. for kubernetes.io/ingress.class)
|
|
||||||
annotations: {}
|
|
||||||
# Additional ingressRoute labels (e.g. for filtering IngressRoute by custom labels)
|
|
||||||
labels: {}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -114,65 +64,26 @@ providers:
|
|||||||
enabled: true
|
enabled: true
|
||||||
allowCrossNamespace: false
|
allowCrossNamespace: false
|
||||||
allowExternalNameServices: true
|
allowExternalNameServices: true
|
||||||
allowEmptyServices: false
|
|
||||||
# ingressClass: traefik-internal
|
|
||||||
# labelSelector: environment=production,method=traefik
|
|
||||||
namespaces: []
|
|
||||||
# - "default"
|
|
||||||
|
|
||||||
kubernetesIngress:
|
kubernetesIngress:
|
||||||
enabled: true
|
enabled: true
|
||||||
allowExternalNameServices: true
|
allowExternalNameServices: true
|
||||||
allowEmptyServices: false
|
|
||||||
ingressClass: traefik
|
ingressClass: traefik
|
||||||
# labelSelector: environment=production,method=traefik
|
# labelSelector: environment=production,method=traefik
|
||||||
namespaces: []
|
|
||||||
# - "default"
|
|
||||||
# IP used for Kubernetes Ingress endpoints
|
|
||||||
publishedService:
|
|
||||||
enabled: false
|
|
||||||
# Published Kubernetes Service to copy status from. Format: namespace/servicename
|
|
||||||
# By default this Traefik service
|
|
||||||
# pathOverride: ""
|
|
||||||
|
|
||||||
|
|
||||||
# Add volumes to the traefik pod. The volume name will be passed to tpl.
|
|
||||||
# This can be used to mount a cert pair or a configmap that holds a config.toml file.
|
|
||||||
# After the volume has been mounted, add the configs into traefik by using the `additionalArguments` list below, eg:
|
|
||||||
# additionalArguments:
|
|
||||||
# - "--providers.file.filename=/config/dynamic.toml"
|
|
||||||
# - "--ping"
|
|
||||||
# - "--ping.entrypoint=web"
|
|
||||||
volumes: []
|
|
||||||
# - name: traefik-config
|
|
||||||
# mountPath: /config
|
|
||||||
# configMap:
|
|
||||||
# name: traefik-config
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Additional volumeMounts to add to the Traefik container
|
# Additional volumeMounts to add to the Traefik container
|
||||||
additionalVolumeMounts:
|
additionalVolumeMounts:
|
||||||
# - name: traefik-logs
|
- name: certs
|
||||||
# mountPath: /var/log/traefik
|
|
||||||
# nfs:
|
|
||||||
# server: 192.168.1.157
|
|
||||||
# path: /kluster/traefik
|
|
||||||
# # For instance when using a logshipper for access logs
|
|
||||||
# - name: traefik-logs
|
|
||||||
# # claimName: traefik-logs
|
|
||||||
# mountPath: /var/log/traefik
|
|
||||||
- name: traefik-certificate
|
|
||||||
# claimName: traefik-certificate
|
# claimName: traefik-certificate
|
||||||
mountPath: /certs
|
mountPath: /certs
|
||||||
- name: traefik-config
|
- name: traefik-config
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
|
|
||||||
|
|
||||||
globalArguments:
|
additionalArguments:
|
||||||
- "--configfile=/config/traefik.toml"
|
- "--configfile=/config/traefik.toml"
|
||||||
|
|
||||||
additionalArguments: []
|
|
||||||
|
|
||||||
# Environment variables to be passed to Traefik's binary
|
# Environment variables to be passed to Traefik's binary
|
||||||
env:
|
env:
|
||||||
@@ -185,18 +96,13 @@ env:
|
|||||||
ports:
|
ports:
|
||||||
# add a new one, the other ones are kept the same.
|
# add a new one, the other ones are kept the same.
|
||||||
dnsovertls:
|
dnsovertls:
|
||||||
port: 853
|
port: 8853
|
||||||
expose: true
|
expose:
|
||||||
|
default: true
|
||||||
exposedPort: 853
|
exposedPort: 853
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
||||||
|
|
||||||
envFrom: []
|
|
||||||
# - configMapRef:
|
|
||||||
# name: config-map-name
|
|
||||||
# - secretRef:
|
|
||||||
# name: secret-name
|
|
||||||
|
|
||||||
|
|
||||||
tlsOptions: {}
|
tlsOptions: {}
|
||||||
|
|
||||||
@@ -218,3 +124,4 @@ service:
|
|||||||
spec:
|
spec:
|
||||||
# externalTrafficPolicy: Local
|
# externalTrafficPolicy: Local
|
||||||
loadBalancerIP: 192.168.3.1
|
loadBalancerIP: 192.168.3.1
|
||||||
|
|
||||||
|
@@ -1,18 +1,17 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: homepage-application
|
name: audiobookshelf-application
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
|
||||||
spec:
|
spec:
|
||||||
project: apps
|
project: apps
|
||||||
source:
|
source:
|
||||||
repoURL: ssh://git@git.kluster.moll.re:2222/remoll/k3s-infra.git
|
repoURL: ssh://git@git.kluster.moll.re:2222/remoll/k3s-infra.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: apps/homepage
|
path: apps/audiobookshelf
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: homepage
|
namespace: audiobookshelf
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
4
kluster-deployments/audiobookshelf/kustomization.yaml
Normal file
4
kluster-deployments/audiobookshelf/kustomization.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- application.yaml
|
@@ -24,16 +24,18 @@ resources:
|
|||||||
|
|
||||||
# simple apps
|
# simple apps
|
||||||
- adguard/
|
- adguard/
|
||||||
|
- audiobookshelf/
|
||||||
- eth-physics/
|
- eth-physics/
|
||||||
- files/
|
- files/
|
||||||
- finance/
|
- finance/
|
||||||
- homeassistant/
|
- homeassistant/
|
||||||
- homepage/application.yaml
|
|
||||||
- immich/
|
- immich/
|
||||||
- journal/
|
- journal/
|
||||||
- media/
|
- media/
|
||||||
|
- minecraft/application.yaml
|
||||||
- monitoring/
|
- monitoring/
|
||||||
- ntfy/
|
- ntfy/
|
||||||
|
- paperless/
|
||||||
- recipes/
|
- recipes/
|
||||||
- rss/
|
- rss/
|
||||||
- whoami/
|
- whoami/
|
||||||
|
18
kluster-deployments/minecraft/application.yaml
Normal file
18
kluster-deployments/minecraft/application.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: minecraft-application
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: apps
|
||||||
|
source:
|
||||||
|
repoURL: ssh://git@git.kluster.moll.re:2222/remoll/k3s-infra.git
|
||||||
|
targetRevision: main
|
||||||
|
path: apps/minecraft
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: minecraft
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: false
|
19
kluster-deployments/paperless/application.yaml
Normal file
19
kluster-deployments/paperless/application.yaml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: paperless-application
|
||||||
|
namespace: argocd
|
||||||
|
|
||||||
|
spec:
|
||||||
|
project: infrastructure
|
||||||
|
source:
|
||||||
|
repoURL: ssh://git@git.kluster.moll.re:2222/remoll/k3s-infra.git
|
||||||
|
targetRevision: main
|
||||||
|
path: apps/paperless
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: paperless
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
4
kluster-deployments/paperless/kustomization.yaml
Normal file
4
kluster-deployments/paperless/kustomization.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- application.yaml
|
Reference in New Issue
Block a user