Compare commits
1 commit
3d8cd955f3
...
096534120c
Author | SHA1 | Date | |
---|---|---|---|
096534120c |
6 changed files with 34 additions and 9 deletions
4
cluster/apps/production/radarr/kustomization.yaml
Normal file
4
cluster/apps/production/radarr/kustomization.yaml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- radarr.yaml
|
|
@ -42,7 +42,7 @@ spec:
|
||||||
- name: nas
|
- name: nas
|
||||||
nfs:
|
nfs:
|
||||||
path: /mnt/thePool/thePoolShare
|
path: /mnt/thePool/thePoolShare
|
||||||
server: nas.local.mafyuh.com
|
server: ${NAS_IP}
|
||||||
- name: radarr-config
|
- name: radarr-config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: radarr-config
|
claimName: radarr-config
|
||||||
|
|
|
@ -17,7 +17,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: sonarr
|
- name: sonarr
|
||||||
image: ghcr.io/linuxserver/sonarr@sha256:746601dcc9dd95b3e2703c0244e453653d29b064281f7a9174d2d24d2aba81ef
|
image: ghcr.io/linuxserver/sonarr@sha256:a9f25c54b7eb8ecf11e506e90ee7eab9e9786143e08eeb76d5bfc3e82531eeab
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
- name: PUID
|
- name: PUID
|
||||||
|
|
18
cluster/infra/flux-secret-map.yaml
Normal file
18
cluster/infra/flux-secret-map.yaml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: apps
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 10m0s
|
||||||
|
path: ./cluster/apps/production
|
||||||
|
prune: true
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: kub-repo
|
||||||
|
postBuild:
|
||||||
|
substitute:
|
||||||
|
NAS_IP: 10.0.0.10
|
||||||
|
substituteFrom:
|
||||||
|
- kind: ConfigMap
|
||||||
|
name: global-vars
|
10
cluster/infra/git-repo.yaml
Normal file
10
cluster/infra/git-repo.yaml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: GitRepository
|
||||||
|
metadata:
|
||||||
|
name: kub-repo
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 10m0s
|
||||||
|
url: https://git.mafyuh.dev/mafyuh/kub
|
||||||
|
ref:
|
||||||
|
branch: main
|
|
@ -1,7 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
name: apps
|
|
||||||
namespace: flux-system
|
|
||||||
data:
|
|
||||||
path: /mnt/thePool/thePoolShare
|
|
Loading…
Reference in a new issue