From 6e4017ec15cd042279a7661700fb141b936f192f Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Mon, 9 Dec 2024 12:34:01 +1100 Subject: [PATCH 1/2] PiHole-- --- services/PiHole/_namespace-pihole.yaml | 4 -- services/PiHole/deployment-pihole.yaml | 41 ------------------- services/PiHole/ingressroute-pihole.yaml | 17 -------- ...istentvolume-flexvolsmb-pihole-config.yaml | 18 -------- ...rsistentvolume-flexvolsmb-pihole-data.yaml | 18 -------- ...tvolumeclaim-flexvolsmb-pihole-config.yaml | 12 ------ ...entvolumeclaim-flexvolsmb-pihole-data.yaml | 12 ------ .../sealedsecret-flexvolsmb-credentials.yaml | 17 -------- services/PiHole/service-pihole-tcp.yaml | 15 ------- services/PiHole/service-pihole-udp.yaml | 15 ------- services/PiHole/service-pihole.yaml | 12 ------ 11 files changed, 181 deletions(-) delete mode 100644 services/PiHole/_namespace-pihole.yaml delete mode 100644 services/PiHole/deployment-pihole.yaml delete mode 100644 services/PiHole/ingressroute-pihole.yaml delete mode 100644 services/PiHole/persistentvolume-flexvolsmb-pihole-config.yaml delete mode 100644 services/PiHole/persistentvolume-flexvolsmb-pihole-data.yaml delete mode 100644 services/PiHole/persistentvolumeclaim-flexvolsmb-pihole-config.yaml delete mode 100644 services/PiHole/persistentvolumeclaim-flexvolsmb-pihole-data.yaml delete mode 100644 services/PiHole/sealedsecret-flexvolsmb-credentials.yaml delete mode 100644 services/PiHole/service-pihole-tcp.yaml delete mode 100644 services/PiHole/service-pihole-udp.yaml delete mode 100644 services/PiHole/service-pihole.yaml diff --git a/services/PiHole/_namespace-pihole.yaml b/services/PiHole/_namespace-pihole.yaml deleted file mode 100644 index 9693809..0000000 --- a/services/PiHole/_namespace-pihole.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: pihole diff --git a/services/PiHole/deployment-pihole.yaml b/services/PiHole/deployment-pihole.yaml deleted file mode 100644 index 20b24a3..0000000 --- a/services/PiHole/deployment-pihole.yaml +++ /dev/null @@ -1,41 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: pihole - namespace: pihole - labels: - app: pihole -spec: - replicas: 1 - selector: - matchLabels: - app: pihole - template: - metadata: - labels: - app: pihole - spec: - containers: - - name: pihole - image: pihole/pihole - ports: - - name: web - containerPort: 80 - - name: dns-tcp - containerPort: 53 - protocol: TCP - - name: dns-udp - containerPort: 53 - protocol: UDP - volumeMounts: - - mountPath: /etc/pihole - name: flexvolsmb-pihole-config - - mountPath: /etc/dnsmasq.d - name: flexvolsmb-pihole-data - volumes: - - name: flexvolsmb-pihole-config - persistentVolumeClaim: - claimName: flexvolsmb-pihole-config - - name: flexvolsmb-pihole-data - persistentVolumeClaim: - claimName: flexvolsmb-pihole-data diff --git a/services/PiHole/ingressroute-pihole.yaml b/services/PiHole/ingressroute-pihole.yaml deleted file mode 100644 index ddc7ef2..0000000 --- a/services/PiHole/ingressroute-pihole.yaml +++ /dev/null @@ -1,17 +0,0 @@ -apiVersion: traefik.containo.us/v1alpha1 -kind: IngressRoute -metadata: - name: pihole - namespace: pihole -spec: - entryPoints: - - websecure - routes: - - match: Host(`d.itch.fyi`) - kind: Rule - services: - - name: pihole - port: 80 - middlewares: - - name: security-headers@file - - name: compression@file diff --git a/services/PiHole/persistentvolume-flexvolsmb-pihole-config.yaml b/services/PiHole/persistentvolume-flexvolsmb-pihole-config.yaml deleted file mode 100644 index a19d141..0000000 --- a/services/PiHole/persistentvolume-flexvolsmb-pihole-config.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: v1 -kind: PersistentVolume -metadata: - name: flexvolsmb-pihole-config -spec: - capacity: - storage: 1Gi - accessModes: - - ReadWriteMany - storageClassName: flexvolsmb-pihole-config - flexVolume: - driver: mount/smb - secretRef: - name: flexvolsmb-credentials - options: - opts: file_mode=0777,dir_mode=0777,iocharset=utf8,nobrl - server: 192.168.154.225 - share: /K3s.Volumes/pihole/config diff --git a/services/PiHole/persistentvolume-flexvolsmb-pihole-data.yaml b/services/PiHole/persistentvolume-flexvolsmb-pihole-data.yaml deleted file mode 100644 index 288d23f..0000000 --- a/services/PiHole/persistentvolume-flexvolsmb-pihole-data.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: v1 -kind: PersistentVolume -metadata: - name: flexvolsmb-pihole-data -spec: - capacity: - storage: 1Gi - accessModes: - - ReadWriteMany - storageClassName: flexvolsmb-pihole-data - flexVolume: - driver: mount/smb - secretRef: - name: flexvolsmb-credentials - options: - opts: file_mode=0777,dir_mode=0777,iocharset=utf8 - server: 192.168.154.225 - share: /K3s.Volumes/pihole/data diff --git a/services/PiHole/persistentvolumeclaim-flexvolsmb-pihole-config.yaml b/services/PiHole/persistentvolumeclaim-flexvolsmb-pihole-config.yaml deleted file mode 100644 index c43bd1a..0000000 --- a/services/PiHole/persistentvolumeclaim-flexvolsmb-pihole-config.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: flexvolsmb-pihole-config - namespace: pihole -spec: - accessModes: - - ReadWriteMany - storageClassName: flexvolsmb-pihole-config - resources: - requests: - storage: 1Gi diff --git a/services/PiHole/persistentvolumeclaim-flexvolsmb-pihole-data.yaml b/services/PiHole/persistentvolumeclaim-flexvolsmb-pihole-data.yaml deleted file mode 100644 index 3f4c5c9..0000000 --- a/services/PiHole/persistentvolumeclaim-flexvolsmb-pihole-data.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: flexvolsmb-pihole-data - namespace: pihole -spec: - accessModes: - - ReadWriteMany - storageClassName: flexvolsmb-pihole-data - resources: - requests: - storage: 1Gi diff --git a/services/PiHole/sealedsecret-flexvolsmb-credentials.yaml b/services/PiHole/sealedsecret-flexvolsmb-credentials.yaml deleted file mode 100644 index d6785d7..0000000 --- a/services/PiHole/sealedsecret-flexvolsmb-credentials.yaml +++ /dev/null @@ -1,17 +0,0 @@ -apiVersion: bitnami.com/v1alpha1 -kind: SealedSecret -metadata: - creationTimestamp: null - name: flexvolsmb-credentials - namespace: pihole -spec: - encryptedData: - password: AgCoyz6o9upiAQ5xyiwZuUTTk/bbYD8DxNN1JtiV2lNsh7UMiuresBzrNIEEQvcqGkncNIudHaUIQZrJT8bSZA3bkH9usHPOXlaB8tptun/4Q4QyBDInHi6RSyh4q6Zch7pBPZ5wJpAFTf6ncqC5PaTpdujtrhjQ4AMcuyjtcCXTVoZJDybe+8cizT9ISVLVwYaq06eiCvTDZj397M+v/cWt0fpPwS1/60K5hNJm5/QfLWloE+SqBKZBRUgWIxEbY/CbUfjJHrELPirYJtGcK22EW62bQ7mA0jEUGQOW50aKQrMyyqGTZRfuoFfZ613XCrmiinb7YWgW+V5cUn6xYONUya24J46WfqvqT/Xuc0EVJP+jdUdRpPj60ZuDTbQ3/QjcXZu2wR/3BSc66ETAVnBUSqI78elCvLYhrV44W1C40MX2jFskBygwjR+CClWh9/lW+qaKbVlvTZ2SoKmHP5+QzIlhnQBELnG7Ymhg9SbJ4kIgAqFPuSpx8KVQfhdKGXSL8HWzx6LaYbF5+E+ulUVBbZcWCn8bTR0X1D1CWTs0Jl89fzrwqG50GFXpZy3LSCvPpXwlBllvG7bd/KTJmAcazPacweopfhQrE4DdfgpZpjXda+0RludztWL0OBnRsDlmDOZdyOU7QHUeIokCdfP6+BrRbXmZ1UyP0ZqUutxtjemC21jIC3NhDfCmQQnUl3oKCOKpUQcUjFIOEJkhyFJb - username: AgAvastUnBdsnCNtUqjVPo/zb/fV+Zac/oRNSx5kjM4XeCZ/o70VCYQUiQKrpnHOG3oo3E/RXjjcDynQJzFxixW+wZ2/aIFeOO6an/9zjNvtzOmoOepWqt6M68XV/4GUDds/2qDzHkvunc2PhpkzMQ1r0jyeIJAM/ZZxtjofnUmPbPtQ9eLILWeLdIEPSr3m2vf4Y0tmjqQUZkAVhvz0Vdo6+uqIyd6bVGU5k8W6jx0iUUYrixCTLbpGdHpsYRSMCpW8A0uqi9hHYhWbURYXql3ADgR6AfnCI0JyFC7RU9lIl7mLb+EvJ+UMH02xdm5URKWO8PokfeKcBlFMCIjHoeb1WB8S3kajBwWuZwWyHkheEqSFUk2yFekmqDgzLtOKBgmt88gq7bbTHBMUQiggL8BPft83MvyRSEFAEDafkluvwcMuwPQJQIAfFr4QliIBlJA+HO617Frf51HNi5RiH5GfPE81QqyXhkd9+VPNcedxuFS3AugXIWFUSwJOhC8fVDpd08lsANj8dIh5/Gcqr1pRLPwr9SPBffuClUwNZdHmJFFI6gngsJoNZhjNCFYILzvq2GsOKySCBrBiCSfmA7RaexQByf4fZWnfIrSrwa51DbsLhF3zmpIMR5n/LUreMNLMxkd+vyr7QuTPfTpPJggRq1G8ts6Bi2gf5AQhyT5G5OT7rknhEyZuUX0kh4pZAvGKO2Ab1HA= - template: - data: null - metadata: - creationTimestamp: null - name: flexvolsmb-credentials - namespace: pihole - type: mount/smb diff --git a/services/PiHole/service-pihole-tcp.yaml b/services/PiHole/service-pihole-tcp.yaml deleted file mode 100644 index e87c3df..0000000 --- a/services/PiHole/service-pihole-tcp.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: pihole-tcp - namespace: pihole -spec: - loadBalancerIP: 192.168.154.240 - externalTrafficPolicy: Local - type: LoadBalancer - ports: - - protocol: TCP - name: dns-tcp - port: 53 - selector: - app: pihole diff --git a/services/PiHole/service-pihole-udp.yaml b/services/PiHole/service-pihole-udp.yaml deleted file mode 100644 index 1b6e088..0000000 --- a/services/PiHole/service-pihole-udp.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: pihole-udp - namespace: pihole -spec: - loadBalancerIP: 192.168.154.240 - externalTrafficPolicy: Local - type: LoadBalancer - ports: - - protocol: UDP - name: dns-udp - port: 53 - selector: - app: pihole diff --git a/services/PiHole/service-pihole.yaml b/services/PiHole/service-pihole.yaml deleted file mode 100644 index 83c6332..0000000 --- a/services/PiHole/service-pihole.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: pihole - namespace: pihole -spec: - ports: - - protocol: TCP - name: web - port: 80 - selector: - app: pihole From 30d104623853d769222644325cf6bc8d45d31e80 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Tue, 10 Dec 2024 20:22:20 +1100 Subject: [PATCH 2/2] UptimeKuma-- --- services/UptimeKuma/deploy-UptimeKuma.yml | 90 ----------------------- 1 file changed, 90 deletions(-) delete mode 100644 services/UptimeKuma/deploy-UptimeKuma.yml diff --git a/services/UptimeKuma/deploy-UptimeKuma.yml b/services/UptimeKuma/deploy-UptimeKuma.yml deleted file mode 100644 index 4537a35..0000000 --- a/services/UptimeKuma/deploy-UptimeKuma.yml +++ /dev/null @@ -1,90 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: uptimekuma -spec: - ports: - - protocol: TCP - name: web - port: 3001 - selector: - app: uptimekuma ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app: uptimekuma - name: uptimekuma -spec: - replicas: 1 - selector: - matchLabels: - app: uptimekuma - template: - metadata: - labels: - app: uptimekuma - spec: - containers: - - image: bv11-cr01.bessems.eu/proxy/louislam/uptime-kuma:1-alpine - name: uptimekuma - ports: - - containerPort: 80 - name: web - volumeMounts: - - mountPath: /app/data - name: flexvolsmb-uptimekuma-data - volumes: - - name: flexvolsmb-uptimekuma-data - persistentVolumeClaim: - claimName: flexvolsmb-uptimekuma-data ---- -apiVersion: traefik.containo.us/v1alpha1 -kind: IngressRoute -metadata: - name: uptimekuma -spec: - entryPoints: - - websecure - routes: - - match: Host(`uptime.spamasaurus.com`) - kind: Rule - services: - - name: uptimekuma - port: 3001 - middlewares: - - name: security-headers@file - - name: compression@file ---- -apiVersion: v1 -kind: PersistentVolume -metadata: - name: flexvolsmb-uptimekuma-data -spec: - capacity: - storage: 1Gi - accessModes: - - ReadWriteMany - storageClassName: flexvolsmb-uptimekuma-data - flexVolume: - driver: mount/smb - secretRef: - name: smb-secret - options: - opts: domain=bessems.eu,file_mode=0777,dir_mode=0777,iocharset=utf8,nobrl - server: 192.168.11.225 - share: /K3s.Volumes/uptimekuma/data ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: flexvolsmb-uptimekuma-data - namespace: default -spec: - accessModes: - - ReadWriteMany - storageClassName: flexvolsmb-uptimekuma-data - resources: - requests: - storage: 1Gi