Compare commits

...

20 commits

Author SHA1 Message Date
096534120c ⬆️ Update ghcr.io/linuxserver/sonarr Docker digest to a9f25c5 2024-07-13 00:01:56 +00:00
d8bc1b0846 never thought i would spend 4 days trying to figure out variable substitution but here we are 2024-07-11 22:20:53 -04:00
fdc5f9c013 test 2024-07-11 21:58:45 -04:00
d23065af9e test 2024-07-11 21:54:03 -04:00
dc93791c99 test 2024-07-11 21:50:02 -04:00
e813e5a3a9 testing 2024-07-09 20:48:02 -04:00
d0a631d430 testing 2024-07-09 20:44:28 -04:00
6598e55d95 testing 2024-07-09 20:41:32 -04:00
3ea1d2feee testing 2024-07-09 20:34:50 -04:00
594c5c618f testing 2024-07-09 20:32:46 -04:00
c2fb8c2864 testing 2024-07-09 20:28:02 -04:00
24a60c6c1f testing 2024-07-09 20:24:12 -04:00
7a96b01ac1 testing 2024-07-09 20:22:28 -04:00
2fce057054 testing 2024-07-08 23:26:00 -04:00
87fa9d0efa whoops 2024-07-08 23:09:24 -04:00
a3bdedc3df testing 2024-07-08 23:03:37 -04:00
da0ad97810 testing 2024-07-08 23:01:02 -04:00
89b093b947 Merge branch 'main' of https://git.mafyuh.dev/mafyuh/kub 2024-07-08 22:31:03 -04:00
03b2c2b14f testing 2024-07-08 22:30:58 -04:00
9335c045cd Merge pull request '⬆️ Update ghcr.io/linuxserver/sonarr Docker digest to 8414846' (#8) from renovate/ghcr.io-linuxserver-sonarr into main
Reviewed-on: #8
2024-07-08 20:37:00 -04:00
9 changed files with 53 additions and 15 deletions

View file

@ -1,3 +1,4 @@
# all invalid values, pushed to git for testing with flux.
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:

View file

@ -74,26 +74,30 @@ spec:
protocol: TCP protocol: TCP
type: ClusterIP type: ClusterIP
--- ---
apiVersion: traefik.io/v1alpha1 apiVersion: networking.k8s.io/v1
kind: IngressRoute kind: Ingress
metadata: metadata:
name: bazarr name: bazarr
namespace: default namespace: default
annotations: annotations:
kubernetes.io/ingress.class: traefik-external kubernetes.io/ingress.class: traefik-external
spec: spec:
entryPoints: rules:
- websecure - host: "bazarr.mafyuh.com"
routes: http:
- match: Host(`bazarr.${LOCAL_DOMAIN}`) paths:
kind: Rule - path: /
services: pathType: Prefix
- name: headless-bazarr backend:
port: 6767 service:
middlewares: name: headless-bazarr
- name: default-headers port:
number: 6767
tls: tls:
- hosts:
- "bazarr.local.mafyuh.com"
secretName: local-mafyuh-com-production-tls secretName: local-mafyuh-com-production-tls
--- ---
apiVersion: traefik.io/v1alpha1 apiVersion: traefik.io/v1alpha1
kind: IngressRoute kind: IngressRoute

View file

@ -6,3 +6,4 @@ metadata:
data: data:
LOCAL_DOMAIN: "local.mafyuh.com" LOCAL_DOMAIN: "local.mafyuh.com"
PUBLIC_DOMAIN: "mafyuh.com" PUBLIC_DOMAIN: "mafyuh.com"
NAS_IP: "10.0.0.10"

View file

@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- radarr.yaml

View file

@ -42,7 +42,7 @@ spec:
- name: nas - name: nas
nfs: nfs:
path: /mnt/thePool/thePoolShare path: /mnt/thePool/thePoolShare
server: 10.0.0.10 server: ${NAS_IP}
- name: radarr-config - name: radarr-config
persistentVolumeClaim: persistentVolumeClaim:
claimName: radarr-config claimName: radarr-config

View file

@ -17,7 +17,7 @@ spec:
spec: spec:
containers: containers:
- name: sonarr - name: sonarr
image: ghcr.io/linuxserver/sonarr@sha256:8414846e440ca34c1cbed96daf7d5b3bcde20aab79761aaaaef496f24cec8d20 image: ghcr.io/linuxserver/sonarr@sha256:a9f25c54b7eb8ecf11e506e90ee7eab9e9786143e08eeb76d5bfc3e82531eeab
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
env: env:
- name: PUID - name: PUID

View 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

View 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