This commit is contained in:
4
services/PVR/Wizarr/_namespace-wizarr.yaml
Normal file
4
services/PVR/Wizarr/_namespace-wizarr.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: wizarr
|
||||||
18
services/PVR/Wizarr/application-wizarr.yaml
Normal file
18
services/PVR/Wizarr/application-wizarr.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: wizarr
|
||||||
|
namespace: argo-cd
|
||||||
|
spec:
|
||||||
|
destination:
|
||||||
|
namespace: wizarr
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
project: default
|
||||||
|
syncPolicy:
|
||||||
|
automated: {}
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
sources:
|
||||||
|
- repoURL: https://code.spamasaurus.com/djpbessems/Kubernetes.K3s.installLog
|
||||||
|
path: services/PVR/wizarr
|
||||||
|
targetRevision: HEAD
|
||||||
40
services/PVR/Wizarr/deployment-wizarr.yaml
Normal file
40
services/PVR/Wizarr/deployment-wizarr.yaml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: wizarr
|
||||||
|
namespace: wizarr
|
||||||
|
labels:
|
||||||
|
app: wizarr
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: wizarr
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: wizarr
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: wizarr
|
||||||
|
image: ghcr.io/wizarrrr/wizarr:latest
|
||||||
|
imagePullPolicy: Always
|
||||||
|
env:
|
||||||
|
- name: PUID
|
||||||
|
value: '1000'
|
||||||
|
- name: PGID
|
||||||
|
value: '1000'
|
||||||
|
- name: DISABLE_BUILTIN_AUTH
|
||||||
|
value: 'false'
|
||||||
|
- name: TZ
|
||||||
|
value: Australia/Melbourne
|
||||||
|
ports:
|
||||||
|
- name: web
|
||||||
|
containerPort: 5690
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /data
|
||||||
|
name: csismb-wizarr-data
|
||||||
|
volumes:
|
||||||
|
- name: csismb-wizarr-data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: csismb-wizarr-data
|
||||||
18
services/PVR/Wizarr/ingressroute-wizarr.yaml
Normal file
18
services/PVR/Wizarr/ingressroute-wizarr.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: IngressRoute
|
||||||
|
metadata:
|
||||||
|
name: wizarr
|
||||||
|
namespace: wizarr
|
||||||
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- websecure
|
||||||
|
routes:
|
||||||
|
- match: Host(`account.pvr.spamasaurus.com`)
|
||||||
|
kind: Rule
|
||||||
|
services:
|
||||||
|
- name: wizarr
|
||||||
|
port: 5690
|
||||||
|
middlewares:
|
||||||
|
- name: 2fa-authentication@file
|
||||||
|
- name: security-headers@file
|
||||||
|
# - name: compression@file
|
||||||
34
services/PVR/Wizarr/persistentvolume-csismb-wizarr-data.yaml
Normal file
34
services/PVR/Wizarr/persistentvolume-csismb-wizarr-data.yaml
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolume
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
pv.kubernetes.io/provisioned-by: smb.csi.k8s.io
|
||||||
|
name: csismb-wizarr-data
|
||||||
|
spec:
|
||||||
|
capacity:
|
||||||
|
storage: 1Gi
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
persistentVolumeReclaimPolicy: Retain
|
||||||
|
storageClassName: csismb-wizarr-data
|
||||||
|
mountOptions:
|
||||||
|
- dir_mode=0777
|
||||||
|
- file_mode=0777
|
||||||
|
- uid=1000
|
||||||
|
- gid=1000
|
||||||
|
- nobrl
|
||||||
|
- cache=strict
|
||||||
|
- iocharset=utf8
|
||||||
|
- mfsymlinks
|
||||||
|
- noserverino # required to prevent data corruption
|
||||||
|
csi:
|
||||||
|
driver: smb.csi.k8s.io
|
||||||
|
# volumeHandle format: {smb-server-address}#{sub-dir-name}#{share-name}
|
||||||
|
# make sure this value is unique for every share in the cluster
|
||||||
|
volumeHandle: 192.168.154.195#wizarr#data
|
||||||
|
volumeAttributes:
|
||||||
|
source: //192.168.154.195/K3s.Volumes
|
||||||
|
subDir: wizarr/data
|
||||||
|
nodeStageSecretRef:
|
||||||
|
name: smb-credentials
|
||||||
|
namespace: wizarr
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: csismb-wizarr-data
|
||||||
|
namespace: wizarr
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
storageClassName: csismb-wizarr-data
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
14
services/PVR/Wizarr/sealedsecret-smb-credentials.yaml
Normal file
14
services/PVR/Wizarr/sealedsecret-smb-credentials.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
apiVersion: bitnami.com/v1alpha1
|
||||||
|
kind: SealedSecret
|
||||||
|
metadata:
|
||||||
|
name: smb-credentials
|
||||||
|
namespace: wizarr
|
||||||
|
spec:
|
||||||
|
encryptedData:
|
||||||
|
password: AgAFPVyGCmZtPcMq5/BUWuAHWBBTXTRbMfS0iFTKCZiuKz0GmuKjjQ6XHfpMo3LvSs2TJD0Dzh/SjwqhnW4VA/xwH5BeBEn8hB5LS3FTN41MoJeH6PxY+be3FqMVLFkfZi7ae37D49qQkSb09FVd5cK/iy18ikDRR+sbr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4UJJJXbVS2IRTufmLzAOk6ejf3WySP1/Cu5ik0/+2/5D7Ct/uraz+269YfbE8gz9wWMD4kU/EjoTAkfGZ8xuRso8hxKVOh4bXsgCCi0HT3MUJfE82crkKQxCIBzTPOYjreveZzL1TBtb9BQTaa7Cj8S2wNgrhGG9zAavpOMOGg4VtBuCBa9J6Vgw1EzS3vT/MjLMlo9JQGp8smH1kqNos=
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
name: smb-credentials
|
||||||
|
namespace: wizarr
|
||||||
|
type: Opaque
|
||||||
12
services/PVR/Wizarr/service-wizarr.yaml
Normal file
12
services/PVR/Wizarr/service-wizarr.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: wizarr
|
||||||
|
namespace: wizarr
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
name: web
|
||||||
|
port: 5690
|
||||||
|
selector:
|
||||||
|
app: wizarr
|
||||||
Reference in New Issue
Block a user