mirror of
https://github.com/optim-enterprises-bv/homelab.git
synced 2025-11-01 02:18:01 +00:00
feat(unrar): add an image for unrar tool
This commit is contained in:
@@ -9,6 +9,8 @@ spec:
|
|||||||
destinations:
|
destinations:
|
||||||
- namespace: 'argocd'
|
- namespace: 'argocd'
|
||||||
server: '*'
|
server: '*'
|
||||||
|
- namespace: 'unrar'
|
||||||
|
server: '*'
|
||||||
- namespace: 'whoami'
|
- namespace: 'whoami'
|
||||||
server: '*'
|
server: '*'
|
||||||
clusterResourceWhitelist:
|
clusterResourceWhitelist:
|
||||||
|
|||||||
43
k8s/apps/dev/unrar/deployment.yaml
Normal file
43
k8s/apps/dev/unrar/deployment.yaml
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: unrar
|
||||||
|
namespace: unrar
|
||||||
|
labels:
|
||||||
|
app: unrar
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: unrar
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
namespace: unrar
|
||||||
|
labels:
|
||||||
|
app: unrar
|
||||||
|
spec:
|
||||||
|
nodeSelector:
|
||||||
|
topology.kubernetes.io/zone: cantor
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 2501
|
||||||
|
runAsGroup: 2501
|
||||||
|
fsGroup: 2501
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
|
containers:
|
||||||
|
- name: unrar
|
||||||
|
image: ghcr.io/nzrsky/unrar:main
|
||||||
|
command: [ "sleep", "1d" ]
|
||||||
|
volumeMounts:
|
||||||
|
- name: tmp
|
||||||
|
mountPath: /tmp
|
||||||
|
- name: data
|
||||||
|
mountPath: /mnt/data
|
||||||
|
volumes:
|
||||||
|
- name: tmp
|
||||||
|
emptyDir: { }
|
||||||
|
- name: data
|
||||||
|
nfs:
|
||||||
|
server: 192.168.1.117
|
||||||
|
path: /mnt/pool-0/data
|
||||||
6
k8s/apps/dev/unrar/kustomization.yaml
Normal file
6
k8s/apps/dev/unrar/kustomization.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- ns.yaml
|
||||||
|
- deployment.yaml
|
||||||
4
k8s/apps/dev/unrar/ns.yaml
Normal file
4
k8s/apps/dev/unrar/ns.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: unrar
|
||||||
Reference in New Issue
Block a user