Compare commits

..

6 Commits

Author SHA1 Message Date
Renovate bot 28f9cc1a7e Update Helm release external-dns to v8 2024-10-29 00:00:31 +00:00
Martyn d598aa415a No need to try and mount something here
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2024-10-19 20:20:10 +00:00
Martyn 169d16eca3 And use it
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2024-10-19 20:17:18 +00:00
Martyn 7dc56b0174 And use it
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2024-10-19 20:15:24 +00:00
Martyn c4f5a81b7a Overlayfs ftw
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2024-10-19 20:11:15 +00:00
Martyn 5a175191d1 Don't overwrite the running config
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2024-10-18 09:34:13 +00:00
5 changed files with 24 additions and 8 deletions

View File

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

View File

@ -0,0 +1,17 @@
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: smb-combinedseries
provisioner: smb.csi.k8s.io
parameters:
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
volumeBindingMode: Immediate
mountOptions:
- dir_mode=0777
- file_mode=0777
- uid=1001
- gid=1001
- noperm

View File

@ -34,8 +34,8 @@ spec:
name: data name: data
- mountPath: /series - mountPath: /series
name: series name: series
- mountPath: /oldseries - mountPath: /combinedseries
name: oldseries name: combinedseries
dnsPolicy: ClusterFirst dnsPolicy: ClusterFirst
restartPolicy: Always restartPolicy: Always
schedulerName: default-scheduler schedulerName: default-scheduler
@ -47,9 +47,9 @@ spec:
- name: series - name: series
persistentVolumeClaim: persistentVolumeClaim:
claimName: smb-series claimName: smb-series
- name: oldseries - name: combinedseries
persistentVolumeClaim: persistentVolumeClaim:
claimName: smb-oldseries claimName: smb-combinedseries
- name: data - name: data
persistentVolumeClaim: persistentVolumeClaim:
claimName: smb-usenet claimName: smb-usenet

View File

@ -13,14 +13,14 @@ spec:
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
metadata: metadata:
name: smb-oldseries name: smb-combinedseries
spec: spec:
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce
resources: resources:
requests: requests:
storage: 1Gi storage: 1Gi
storageClassName: smb-oldseries storageClassName: smb-combinedseries
--- ---
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim

View File

@ -31,7 +31,6 @@ spec:
- command: - command:
- /bin/sh - /bin/sh
- -c - -c
- cp /configs/configuration.yaml /data/;
- cp /configs/ledvanceA60S.js /data/; - cp /configs/ledvanceA60S.js /data/;
image: alpine:latest image: alpine:latest
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent