Compare commits
20 commits
68b6c98ea6
...
096534120c
Author | SHA1 | Date | |
---|---|---|---|
096534120c | |||
d8bc1b0846 | |||
fdc5f9c013 | |||
d23065af9e | |||
dc93791c99 | |||
e813e5a3a9 | |||
d0a631d430 | |||
6598e55d95 | |||
3ea1d2feee | |||
594c5c618f | |||
c2fb8c2864 | |||
24a60c6c1f | |||
7a96b01ac1 | |||
2fce057054 | |||
87fa9d0efa | |||
a3bdedc3df | |||
da0ad97810 | |||
89b093b947 | |||
03b2c2b14f | |||
9335c045cd |
9 changed files with 53 additions and 15 deletions
|
@ -1,3 +1,4 @@
|
|||
# all invalid values, pushed to git for testing with flux.
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
|
|
|
@ -74,26 +74,30 @@ spec:
|
|||
protocol: TCP
|
||||
type: ClusterIP
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: bazarr
|
||||
namespace: default
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: traefik-external
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`bazarr.${LOCAL_DOMAIN}`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: headless-bazarr
|
||||
port: 6767
|
||||
middlewares:
|
||||
- name: default-headers
|
||||
rules:
|
||||
- host: "bazarr.mafyuh.com"
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: headless-bazarr
|
||||
port:
|
||||
number: 6767
|
||||
tls:
|
||||
- hosts:
|
||||
- "bazarr.local.mafyuh.com"
|
||||
secretName: local-mafyuh-com-production-tls
|
||||
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
|
|
|
@ -6,3 +6,4 @@ metadata:
|
|||
data:
|
||||
LOCAL_DOMAIN: "local.mafyuh.com"
|
||||
PUBLIC_DOMAIN: "mafyuh.com"
|
||||
NAS_IP: "10.0.0.10"
|
||||
|
|
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
|
||||
nfs:
|
||||
path: /mnt/thePool/thePoolShare
|
||||
server: 10.0.0.10
|
||||
server: ${NAS_IP}
|
||||
- name: radarr-config
|
||||
persistentVolumeClaim:
|
||||
claimName: radarr-config
|
||||
|
|
|
@ -17,7 +17,7 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- name: sonarr
|
||||
image: ghcr.io/linuxserver/sonarr@sha256:8414846e440ca34c1cbed96daf7d5b3bcde20aab79761aaaaef496f24cec8d20
|
||||
image: ghcr.io/linuxserver/sonarr@sha256:a9f25c54b7eb8ecf11e506e90ee7eab9e9786143e08eeb76d5bfc3e82531eeab
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- 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
|
Loading…
Reference in a new issue