Compare commits

...

65 commits

Author SHA1 Message Date
Renovate bot
e552cc2205 Update Helm release external-dns to v8 2025-03-06 00:02:26 +00:00
dd6202a26f Bump some versions
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 18:09:11 +00:00
a70b28c905 Let it go
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 17:39:55 +00:00
2b39418104 Oops wrong directory
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 17:39:10 +00:00
83b0b4be59 Expose so I can use if needed in-house
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 17:38:08 +00:00
13a005f6b5 Calm argo tf down
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 17:36:37 +00:00
440682a8ff Add the tailscale proxy for use by ISO downloaders
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 17:34:34 +00:00
7a57c678c2 Move TS to a separate deploy
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 16:26:53 +00:00
020d13ada2 Not optional lol
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 11:49:46 +00:00
f709eec878 Real sidecar perhaps with manual start
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 11:41:43 +00:00
3c3107b021 This is frustratingly necessary
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 11:27:13 +00:00
9cd9b6fdfe Fix version, renovate has our back
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 11:25:58 +00:00
c91aa4c42b This is frustratingly necessary
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 11:23:02 +00:00
a885f275a6 This is frustratingly necessary
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 11:16:50 +00:00
a7597c2b52 Preparing for magic
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 11:06:34 +00:00
187db433de Preparing for magic
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 11:05:40 +00:00
8893c46d72 Merge pull request 'Update grafana/grafana Docker tag to v9.5.21' (#21) from renovate/grafana-grafana-9.x into main
Reviewed-on: #21
2025-03-05 10:49:06 +00:00
7f6b2e43f4 Let me shoot myself in the foot if I want to
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 10:11:50 +00:00
6e45ada258 Let's have a default ingress class, eh? (yaml was a mistake)
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 10:09:08 +00:00
eb0b528423 Let's have a default ingress class, eh?
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 10:08:08 +00:00
6c29998db6 We might need it in future, but not for now
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 09:56:09 +00:00
a1c4693c7c Running Drupal in k8s is a fools errand
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 09:51:49 +00:00
1152916cc3 reconciling reality
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 09:40:59 +00:00
6369b00e24 how are these not updated already
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 09:31:52 +00:00
9d0b2425a9 Remove old oldseries
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 09:29:07 +00:00
fae5c02ba6 Remove old oldseries
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 09:27:37 +00:00
29e535cb29 Allow insecure argo, as its not exposed anyway and would be fronted by ingress-nginx anyway. Allows for http webhooks.
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-03-05 09:19:04 +00:00
dab777f748 Merge pull request 'Update benbusby/whoogle-search Docker digest to 5bbb30f' (#16) from renovate/benbusby-whoogle-search into main
Reviewed-on: #16
2025-03-05 08:53:39 +00:00
1508b9a2db Merge pull request 'Update Helm release csi-driver-smb to v1.17.0' (#24) from renovate/csi-driver-smb-1.x into main
Reviewed-on: #24
2025-03-04 09:48:45 +00:00
Renovate bot
c98cdcee70 Update Helm release csi-driver-smb to v1.17.0 2025-03-04 00:01:52 +00:00
82aea15631 Merge pull request 'Update esphome/esphome Docker tag to v2022.12.8' (#20) from renovate/esphome-esphome-2022.x into main
Reviewed-on: #20
2025-03-03 09:32:35 +00:00
a1f49f6370 Up-to-date forgejo 2025-03-03 09:23:24 +00:00
8caba49f9f Nearly up-to-date 2025-03-03 09:21:03 +00:00
320f75ddc1 Only two more major releases to go... 2025-03-03 09:14:23 +00:00
6eca7e00e0 One step forward, let's see how this upgrade works 2025-03-03 09:09:35 +00:00
52120be95f Upgrade to last old version 2025-03-03 09:01:31 +00:00
Renovate bot
8987b8d2a0 Update grafana/grafana Docker tag to v9.5.21 2025-03-03 00:01:47 +00:00
Renovate bot
df4641125e Update esphome/esphome Docker tag to v2022.12.8 2025-03-03 00:01:46 +00:00
Renovate bot
88f6961dc1 Update benbusby/whoogle-search Docker digest to 5bbb30f 2025-03-01 00:01:28 +00:00
6a919ad4c2 Move to the official lms docker image and upgrade
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-02-28 15:00:09 +00:00
053f6b6b40 And the random manifests, and the helm templates in case any hardcoded stuff is left
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-02-28 15:00:09 +00:00
ea7b456d9f Merge pull request 'Update Helm release node-feature-discovery to v0.17.2' (#12) from renovate/node-feature-discovery-0.x into main
Reviewed-on: #12
2025-02-28 14:58:53 +00:00
Renovate bot
7ffb96959a Update Helm release node-feature-discovery to v0.17.2 2025-02-28 14:58:02 +00:00
73d06a7338 Merge pull request 'Update codercom/code-server Docker tag to v4.97.2' (#11) from renovate/codercom-code-server-4.x into main
Reviewed-on: #11
2025-02-28 14:56:58 +00:00
Renovate bot
d38a784ad8 Update codercom/code-server Docker tag to v4.97.2 2025-02-28 14:56:38 +00:00
fe47d6faa2 Merge pull request 'Update Helm release cert-manager to v1.17.1' (#14) from renovate/cert-manager-1.x into main
Reviewed-on: #14
2025-02-28 14:43:48 +00:00
Renovate bot
65f6d756e4 Update Helm release cert-manager to v1.17.1 2025-02-28 14:41:35 +00:00
6b3f66c107 Json comma
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-02-28 14:40:48 +00:00
9ec0603e19 Renovate add argocd match
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-02-28 14:29:40 +00:00
9a3ef783bc Upgrade time then
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-02-25 18:53:51 +00:00
2b77dc4c6a crawlers go away
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-02-25 18:47:41 +00:00
6b611bf1dc use wildcard
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-02-25 18:04:33 +00:00
cf71027b98 use wildcard
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-02-25 17:59:05 +00:00
4d771b4de6 use wildcard
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-02-25 17:57:25 +00:00
441420c864 Use default secret for all ingresses
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-02-25 17:47:59 +00:00
8f8203a9f4 use wildcard
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-02-25 17:45:48 +00:00
2e59f86c84 Use the wildcard secret
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-02-25 14:04:19 +00:00
7e10310707 Pin release and bump
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-02-25 12:25:57 +00:00
3705e6c168 Pin bump
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-02-25 12:21:24 +00:00
3cb6b88714 bump and clean
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-02-25 12:16:57 +00:00
3238ae79f6 Remove old shares
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-02-25 12:07:48 +00:00
7a0750c79c Upgrade and colocate with the media
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-02-25 12:04:21 +00:00
6be6475c6e Try and get samba and the disks on the mostly disk node
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-02-25 09:29:20 +00:00
44c78e0687 Well, that didn't work
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-02-25 06:51:36 +00:00
f39e5bf24f Upgrade time
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-02-25 06:40:39 +00:00
47 changed files with 242 additions and 202 deletions

View file

@ -6,7 +6,7 @@ replicaCount: 1
image:
repository: codercom/code-server
tag: '4.93.1'
tag: '4.97.2'
pullPolicy: Always
secret:

View file

@ -0,0 +1,26 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt
external-dns.alpha.kubernetes.io/target: armnleg.martyn.berlin
nginx.ingress.kubernetes.io/proxy-body-size: "0"
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
name: airsonic-advanced
spec:
ingressClassName: nginx
rules:
- host: airsonic.martyn.berlin
http:
paths:
- backend:
service:
name: airsonic-advanced
port:
number: 80
path: /
pathType: Prefix
tls:
- hosts:
- airsonic.martyn.berlin

View file

@ -24,3 +24,11 @@ patches:
version: v1
kind: ConfigMap
name: argocd-cm
- patch: |-
- op: add
path: /spec/template/spec/containers/0/args/-
value: --insecure=true
target:
kind: Deployment
name: argocd-server

View file

@ -33,8 +33,6 @@ spec:
mountPath: /config
- name: series
mountPath: /series
- name: oldseries
mountPath: /oldseries
- name: films
mountPath: /films
volumes:
@ -44,9 +42,6 @@ spec:
- name: series
persistentVolumeClaim:
claimName: smb-series
- name: oldseries
persistentVolumeClaim:
claimName: smb-oldseries
- name: films
persistentVolumeClaim:
claimName: smb-films

View file

@ -12,18 +12,6 @@ spec:
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: smb-oldseries
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: smb-oldseries
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: smb-films
spec:
@ -32,4 +20,4 @@ spec:
resources:
requests:
storage: 1Gi
storageClassName: smb-films
storageClassName: smb-films

View file

@ -34,7 +34,5 @@ spec:
tls:
- hosts:
- files.martyn.berlin
secretName: files-tls
- hosts:
- files-a89a4194-3742-498e-8c6c-37128fdb9291.martyn.berlin
secretName: long-name-files-tls

View file

@ -28,7 +28,6 @@ spec:
tls:
- hosts:
- cryptpad.martyn.berlin
secretName: cryptpad-tls
---
apiVersion: networking.k8s.io/v1
kind: Ingress
@ -60,4 +59,3 @@ spec:
tls:
- hosts:
- cryptpad-safe.martyn.berlin
secretName: cryptpad-safe-tls

View file

@ -17,7 +17,7 @@ spec:
- env:
- name: ESPHOME_DASHBOARD_USE_PING
value: "true"
image: esphome/esphome:2022.12.3
image: esphome/esphome:2022.12.8
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3

View file

@ -4,7 +4,7 @@ kind: Kustomization
helmCharts:
- name: external-dns
repo: https://charts.bitnami.com/bitnami
version: 6.28.4
version: 8.7.6
releaseName: external-dns
namespace: external-dns
valuesInline:

View file

@ -10,7 +10,6 @@ spec:
tls:
- hosts:
- iot.martyn.berlin
secretName: mosquitto-certs
rules:
- host: iot.martyn.berlin
http:

View file

@ -19,7 +19,7 @@ spec:
app: forgejo
spec:
containers:
- image: codeberg.org/forgejo/forgejo:1.21
- image: codeberg.org/forgejo/forgejo:10.0.1
env:
- name: FORGEJO__database__DB_TYPE
value: postgres

View file

@ -26,4 +26,3 @@ spec:
tls:
- hosts:
- git.martyn.berlin
secretName: forgejo-tls

View file

@ -31,7 +31,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
image: docker.io/jellyfin/jellyfin:10.10.5
image: docker.io/jellyfin/jellyfin:10.10.6
imagePullPolicy: Always
name: jellyfin
ports:
@ -49,16 +49,12 @@ spec:
cpu: 163m
# memory: 3861631195
volumeMounts:
- mountPath: /data2/media
name: runningseries
- mountPath: /films
name: films
- mountPath: /config
name: jellyfin-config
- mountPath: /music
name: music
- mountPath: /oldbigseries
name: oldseries
- mountPath: /config/transcodes
name: transcodes
- mountPath: /dev/dri
@ -70,12 +66,9 @@ spec:
dnsPolicy: ClusterFirst
nodeSelector:
intel.feature.node.kubernetes.io/gpu: "true"
oldname: i9worker
kubernetes.io/hostname: talos-llu-kx3
terminationGracePeriodSeconds: 30
volumes:
- persistentVolumeClaim:
claimName: smb-series
name: runningseries
- name: jellyfin-config
persistentVolumeClaim:
claimName: jellyfin-config
@ -88,9 +81,6 @@ spec:
- persistentVolumeClaim:
claimName: smb-films
name: films
- persistentVolumeClaim:
claimName: smb-oldseries
name: oldseries
- hostPath:
path: /dev/dri
type: Directory

View file

@ -1,29 +1,5 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: smb-series
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: smb-series
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: smb-oldseries
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: smb-oldseries
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: smb-music
spec:

View file

@ -23,4 +23,3 @@ spec:
tls:
- hosts:
- requests.martyn.berlin
secretName: requests-tls

View file

@ -32,7 +32,7 @@ spec:
automountServiceAccountToken: false
containers:
- env: []
image: grafana/grafana:9.5.3
image: grafana/grafana:9.5.21
name: grafana
ports:
- containerPort: 3000

View file

@ -18,7 +18,7 @@ spec:
app: lidarr
spec:
containers:
- image: hotio/lidarr:release
- image: hotio/lidarr:release-2.9.6.4552
name: lidarr
resources:
requests:

View file

@ -19,7 +19,7 @@ spec:
app.kubernetes.io/name: logitech-media-server
spec:
containers:
- image: doliana/logitech-media-server:2021_11_06-8.2.0
- image: lmscommunity/lyrionmusicserver:9.1.0
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 10

View file

@ -25,4 +25,3 @@ spec:
tls:
- hosts:
- nextcloud.martyn.berlin
secretName: nextcloud-tls

View file

@ -10,7 +10,7 @@ helmCharts:
includeCRDs: true
namespace: node-feature-discovery
releaseName: node-feature-discovery
version: 0.16.6
version: 0.17.2
repo: https://kubernetes-sigs.github.io/node-feature-discovery/charts
valuesInLine:
master:

View file

@ -16,7 +16,7 @@ spec:
app: prowlarr
spec:
containers:
- image: hotio/prowlarr:release-1.26.1.4844
- image: hotio/prowlarr:release-1.31.2.4975
imagePullPolicy: Always
name: prowlarr
ports:

View file

@ -18,7 +18,7 @@ spec:
app: radarr
spec:
containers:
- image: hotio/radarr:release
- image: hotio/radarr:release-5.19.3.9730
imagePullPolicy: IfNotPresent
name: radarr
ports:

View file

@ -16,7 +16,7 @@ spec:
app: sabnzbd
spec:
containers:
- image: lscr.io/linuxserver/sabnzbd:latest
- image: lscr.io/linuxserver/sabnzbd:4.4.1
imagePullPolicy: Always
name: sabnzbd
terminationMessagePath: /dev/termination-log

View file

@ -38,7 +38,7 @@ metadata:
annotations:
configmap.reloader.stakater.com/reload: "ser2net"
spec:
replicas: 1
replicas: 0
strategy:
type: Recreate
selector:

View file

@ -4,7 +4,7 @@ metadata:
name: smb-films
provisioner: smb.csi.k8s.io
parameters:
source: "//172.20.0.125/films"
source: "//172.20.0.70/films"
csi.storage.k8s.io/node-stage-secret-name: smb-creds
csi.storage.k8s.io/node-stage-secret-namespace: kube-system
reclaimPolicy: Retain

View file

@ -1,17 +0,0 @@
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: smb-oldseries
provisioner: smb.csi.k8s.io
parameters:
source: "//hp40l/disk2/oldseries"
csi.storage.k8s.io/node-stage-secret-name: smb-creds
csi.storage.k8s.io/node-stage-secret-namespace: kube-system
reclaimPolicy: Retain
volumeBindingMode: Immediate
mountOptions:
- dir_mode=0777
- file_mode=0777
- uid=1001
- gid=1001
- noperm

View file

@ -4,7 +4,7 @@ metadata:
name: smb-series
provisioner: smb.csi.k8s.io
parameters:
source: "//hp40l/disk2/series"
source: "//172.20.0.70/series"
csi.storage.k8s.io/node-stage-secret-name: smb-creds
csi.storage.k8s.io/node-stage-secret-namespace: kube-system
reclaimPolicy: Retain

View file

@ -16,7 +16,7 @@ spec:
app: sonarr
spec:
containers:
- image: hotio/sonarr:release-4.0.1.929
- image: hotio/sonarr:release-4.0.13.2932
imagePullPolicy: Always
name: sonarr
ports:
@ -32,8 +32,6 @@ spec:
name: config
- mountPath: /data
name: data
- mountPath: /series
name: series
- mountPath: /combinedseries
name: combinedseries
dnsPolicy: ClusterFirst
@ -44,9 +42,6 @@ spec:
- name: config
persistentVolumeClaim:
claimName: sonarr-config-data
- name: series
persistentVolumeClaim:
claimName: smb-series
- name: combinedseries
persistentVolumeClaim:
claimName: smb-combinedseries

View file

@ -1,17 +1,5 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: smb-series
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: smb-series
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: smb-combinedseries
spec:

View file

@ -0,0 +1,13 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: tailscale-script
data:
script.sh: |
tailscaled --socks5-server=localhost:1055 --outbound-http-proxy-listen=localhost:1055 --tun=userspace-networking &
tailscale up --authkey=$TS_AUTHKEY --advertise-tags=tag:k8s --hostname k8s-tailscale-proxy &
sleep 3
echo "Waiting for $COUNTRY to do something"
while ! tailscale exit-node list 2>/dev/null | grep $COUNTRY >/dev/null; do echo -n . ;sleep 5; done
tailscale set --exit-node $(tailscale exit-node list | grep $COUNTRY | cut -f2 -d' ' | shuf | head -n1)
while true; do sleep 1; done

View file

@ -0,0 +1,100 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: tailscale-proxy
name: tailscale-proxy
spec:
replicas: 1
selector:
matchLabels:
app: tailscale-proxy
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
app: tailscale-proxy
spec:
containers:
- command:
- /bin/sh
- -c
- 'sh /script/script.sh'
env:
- name: TS_KUBE_SECRET
value: tailscale
- name: COUNTRY
value: Switzerland
- name: TS_AUTHKEY
valueFrom:
secretKeyRef:
key: TS_AUTHKEY
name: tailscale-auth
image: ghcr.io/tailscale/tailscale:v1.80.3
imagePullPolicy: IfNotPresent
startupProbe:
exec:
command:
- /bin/sh
- -c
- tailscale ip | grep ^100 > /dev/null
periodSeconds: 30
failureThreshold: 30
livenessProbe:
exec:
command:
- /bin/sh
- -c
- tailscale ip | grep ^100 > /dev/null
periodSeconds: 30
failureThreshold: 2
readinessProbe:
exec:
command:
- /bin/sh
- -c
- http_proxy=127.0.0.1:1055 wget -O- ifconfig.co/country 2>&1 | grep $COUNTRY > /dev/null
initialDelaySeconds: 60
periodSeconds: 60
failureThreshold: 3
name: tailscale
securityContext:
privileged: true
runAsGroup: 0
runAsUser: 0
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-t4rzn
readOnly: true
- mountPath: /script
name: script
serviceAccount: tailscale
serviceAccountName: tailscale
volumes:
- name: script
configMap:
name: tailscale-script
- name: kube-api-access-t4rzn
projected:
defaultMode: 420
sources:
- serviceAccountToken:
expirationSeconds: 3607
path: token
- configMap:
items:
- key: ca.crt
path: ca.crt
name: kube-root-ca.crt
- downwardAPI:
items:
- fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
path: namespace

View file

@ -0,0 +1,4 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: tailscale

View file

@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
labels:
app: tailscale-proxy
app.kubernetes.io/instance: tailscale-proxy
name: tailscale-proxy
spec:
ports:
- port: 1055
protocol: TCP
targetPort: 1055
selector:
app: tailscale-proxy
type: LoadBalancer

View file

@ -14,6 +14,7 @@ spec:
labels:
app: qbittorrent
spec:
initContainers:
containers:
- image: qbittorrentofficial/qbittorrent-nox:latest
name: qbittorrent
@ -34,40 +35,6 @@ spec:
value: "/config"
- name: QBT_DOWNLOADS
value: "/downloads"
- env:
- name: TS_KUBE_SECRET
value: tailscale
- name: TS_USERSPACE
value: "false"
- name: TS_OUTBOUND_HTTP_PROXY_LISTEN
value: "localhost:1055"
- name: TS_SOCKS5_SERVER
value: "localhost:1055"
- name: TS_EXTRA_ARGS
value: "--exit-node=100.90.55.121"
- name: TS_AUTHKEY
valueFrom:
secretKeyRef:
key: TS_AUTHKEY
name: tailscale-auth
optional: true
livenessProbe:
exec:
command:
- ping
- -c1
- 100.100.100.100
initialDelaySeconds: 120
periodSeconds: 5
image: ghcr.io/tailscale/tailscale:latest
name: ts-sidecar
securityContext:
runAsGroup: 1000
runAsUser: 1000
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-t4rzn
readOnly: true
preemptionPolicy: PreemptLowerPriority
priority: 0
serviceAccountName: tailscale

View file

@ -24,7 +24,7 @@ spec:
value: en
- name: WHOOGLE_CONFIG_SEARCH_LANGUAGE
value: en
image: benbusby/whoogle-search@sha256:ecccdb598f890140bf5564ea0307d3a72871ab3d14fbf22e308b904846e5c590
image: benbusby/whoogle-search@sha256:5bbb30fc4cf67563b48529c5291813b3d49c290e1e8b9e3aaa5081e9cb6e40c0
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3

View file

@ -23,4 +23,3 @@ spec:
tls:
- hosts:
- musings.martyn.berlin
secretName: musings-tls

View file

@ -8,4 +8,4 @@ spec:
storageClassName: longhorn-fast
resources:
requests:
storage: 128Mi
storage: 1280Mi

View file

@ -11,9 +11,13 @@ spec:
source:
chart: ingress-nginx
repoURL: https://kubernetes.github.io/ingress-nginx
targetRevision: 4.8.3
targetRevision: 4.12.0
helm:
parameters:
- name: controller.ingressClassResource.default
value: "true"
- name: controller.config.annotations-risk-level
value: "Critical"
- name: controller.service.type
value: LoadBalancer
- name: controller.allowSnippetAnnotations
@ -24,6 +28,15 @@ spec:
value: "351198544"
- name: controller.extraArgs.default-ssl-certificate
value: "cluster-ingress/cluster-ingress-wildcard"
- name: controller.config.http-snippet
value: |-
more_set_headers -a "X-Robots-Tag: noai";
more_set_headers -a "X-Robots-Tag: Google-Extended: none";
more_set_headers -a "X-Robots-Tag: GPTBot: none";
more_set_headers -a "X-Robots-Tag: ChatGPT-User: none";
more_set_headers -a "X-Robots-Tag: anthropic-ai: none";
more_set_headers -a "X-Robots-Tag: CCBot: none";
more_set_headers -a "X-Robots-Tag: semrushbot: none";
syncPolicy:
automated:
selfHeal: true

View file

@ -11,7 +11,7 @@ spec:
source:
chart: cert-manager
repoURL: https://charts.jetstack.io
targetRevision: v1.13.1
targetRevision: v1.17.1
helm:
parameters:
- name: installCRDs

View file

@ -1,45 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: bikerwitch
namespace: argocd
spec:
destination:
namespace: bikerwitch
server: https://kubernetes.default.svc
project: default
source:
helm:
parameters:
- name: service.type
value: LoadBalancer
- name: persistence.enabled
value: "true"
- name: persistence.storageClass
value: "longhorn-fast"
- name: image.repository
value: drupal
- name: image.tag
value: 9.4-php8.0-apache
values: |-
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt
kubernetes.io/ingress.class: nginx
external-dns.alpha.kubernetes.io/target: armnleg.martyn.berlin
hosts:
- host: bikerwitch.martyn.berlin
paths:
- /
- host: www.bikerwitch.org.uk
paths:
- /
tls:
- secretName: bikerwitch-tls
hosts:
- bikerwitch.martyn.berlin
- www.bikerwitch.org.uk
path: apps-helm/drupal
repoURL: https://git.martyn.berlin/martyn/infra4talos.git
targetRevision: HEAD

View file

@ -11,7 +11,7 @@ spec:
source:
chart: csi-driver-smb
repoURL: https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts
targetRevision: v1.13.0
targetRevision: v1.17.0
syncPolicy:
automated:
selfHeal: true

View file

@ -41,7 +41,6 @@ spec:
tls:
- hosts:
- "s3.files.martyn.berlin"
secretName: s3-le-secret
hosts:
- host: s3.files.martyn.berlin
paths:
@ -56,7 +55,6 @@ spec:
tls:
- hosts:
- "files.martyn.berlin"
secretName: files-le-secret
hosts:
- host: files.martyn.berlin
paths:

View file

@ -25,7 +25,7 @@ spec:
value: "false"
chart: longhorn
repoURL: https://charts.longhorn.io
targetRevision: 1.6.0
targetRevision: 1.6.4
syncPolicy:
automated:
selfHeal: true

View file

@ -46,8 +46,7 @@ spec:
- path: /
pathType: Prefix
tls:
- secretName: ntfy-tls
hosts:
- hosts:
- ntfy.martyn.berlin
ntfy:

View file

@ -24,6 +24,16 @@ spec:
users:
- username: martyn
password: "564628"
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
preference:
matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- talos-llu-kx3
persistence:
combineShares: true
sharesToCombine:

View file

@ -0,0 +1,17 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: tailscale-proxy
namespace: argocd
spec:
destination:
namespace: tailscale-proxy
server: https://kubernetes.default.svc
project: apps
source:
path: apps-kustomized/tailscale-proxy
repoURL: https://git.martyn.berlin/martyn/infra4talos
targetRevision: HEAD
syncPolicy:
automated:
selfHeal: true

View file

@ -1,3 +1,12 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"argocd": {
"fileMatch": ["everything-app/.+\\.yaml$"]
},
"kubernetes": {
"fileMatch": [
"apps-kustomized/.+\\.yaml$",
"apps-helm/.+/tempates/.+\\.yaml"
]
}
}