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