chore(kustomize): Cleaning up resource definitions

This commit is contained in:
Vegard Hagen
2022-10-16 19:51:32 +02:00
parent eab83202de
commit ca2e083aeb
23 changed files with 6 additions and 80 deletions

View File

@@ -1,7 +1,6 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
namespace: arr
name: ingressroute-arr
spec:
entryPoints:

View File

@@ -1,19 +1,13 @@
kind: Deployment
apiVersion: apps/v1
metadata:
namespace: arr
name: lidarr
labels:
app: lidarr
spec:
replicas: 1
selector:
matchLabels:
app: lidarr
template:
metadata:
labels:
app: lidarr
spec:
volumes:
- name: lidarr-config

View File

@@ -1,7 +1,6 @@
apiVersion: v1
kind: Service
metadata:
namespace: arr
name: lidarr
spec:
type: LoadBalancer

View File

@@ -1,19 +1,13 @@
kind: Deployment
apiVersion: apps/v1
metadata:
namespace: arr
name: prowlarr
labels:
app: prowlarr
spec:
replicas: 1
selector:
matchLabels:
app: prowlarr
template:
metadata:
labels:
app: prowlarr
spec:
volumes:
- name: prowlarr-config

View File

@@ -1,7 +1,6 @@
apiVersion: v1
kind: Service
metadata:
namespace: arr
name: prowlarr
spec:
type: LoadBalancer

View File

@@ -1,19 +1,13 @@
kind: Deployment
apiVersion: apps/v1
metadata:
namespace: arr
name: qbittorrent
labels:
app: qbittorrent
spec:
replicas: 1
selector:
matchLabels:
app: qbittorrent
template:
metadata:
labels:
app: qbittorrent
spec:
volumes:
- name: qbittorrent-config

View File

@@ -1,7 +1,6 @@
apiVersion: v1
kind: Service
metadata:
namespace: arr
name: qbittorrent
spec:
type: LoadBalancer

View File

@@ -1,19 +1,13 @@
kind: Deployment
apiVersion: apps/v1
metadata:
namespace: arr
name: radarr
labels:
app: radarr
spec:
replicas: 1
selector:
matchLabels:
app: radarr
template:
metadata:
labels:
app: radarr
spec:
volumes:
- name: radarr-config

View File

@@ -1,7 +1,6 @@
apiVersion: v1
kind: Service
metadata:
namespace: arr
name: radarr
spec:
type: LoadBalancer

View File

@@ -1,19 +1,13 @@
kind: Deployment
apiVersion: apps/v1
metadata:
namespace: arr
name: sonarr
labels:
app: sonarr
spec:
replicas: 1
selector:
matchLabels:
app: sonarr
template:
metadata:
labels:
app: sonarr
spec:
volumes:
- name: sonarr-config

View File

@@ -1,7 +1,6 @@
apiVersion: v1
kind: Service
metadata:
namespace: arr
name: sonarr
spec:
type: LoadBalancer

View File

@@ -2,8 +2,6 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: traefik-forward-auth
labels:
app: traefik-forward-auth
spec:
replicas: 1
selector:
@@ -12,9 +10,6 @@ spec:
strategy:
type: Recreate
template:
metadata:
labels:
app: traefik-forward-auth
spec:
terminationGracePeriodSeconds: 60
containers:

View File

@@ -8,18 +8,12 @@ resources:
- service.yaml
- middleware.yaml
#
# Configs
#
configMapGenerator:
- name: configs
files:
- configs/traefik-forward-auth.ini
#
# Secrets
#
secretGenerator:
- name: traefik-forward-auth-secrets
envs:
- secrets/traefik-forward-auth.env
- secrets/traefik-forward-auth.env

View File

@@ -1,12 +1,7 @@
#
# Auth Service
#
apiVersion: v1
kind: Service
metadata:
name: traefik-forward-auth
labels:
app: traefik-forward-auth
spec:
type: ClusterIP
selector:

View File

@@ -1,19 +1,13 @@
kind: Deployment
apiVersion: apps/v1
metadata:
namespace: plex
name: plex
labels:
app: plex
spec:
replicas: 1
selector:
matchLabels:
app: plex
template:
metadata:
labels:
app: plex
spec:
volumes:
- name: plex-config

View File

@@ -2,7 +2,6 @@ apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: ingressroute-plex
namespace: plex
spec:
entryPoints:
- websecure

View File

@@ -1,11 +1,11 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: arr
namespace: plex
resources:
- namespace.yaml
# - pv.yaml
# - pvc.yaml
# - pv.yaml
# - pvc.yaml
- service.yaml
- deployment.yaml
- ingress.yaml

View File

@@ -2,5 +2,3 @@ apiVersion: v1
kind: Namespace
metadata:
name: plex
labels:
name: plex

View File

@@ -1,7 +1,6 @@
apiVersion: v1
kind: Service
metadata:
namespace: plex
name: plex
spec:
type: LoadBalancer

View File

@@ -9,18 +9,12 @@ resources:
- ingress.yaml
- middleware.yaml
#
# Configs
#
configMapGenerator:
- name: configs
files:
- configs/traefik-forward-auth.ini
#
# Secrets
#
secretGenerator:
- name: traefik-forward-auth-secrets
envs:
- secrets/traefik-forward-auth.env
- secrets/traefik-forward-auth.env

View File

@@ -2,8 +2,6 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: whoami
labels:
app: whoami
spec:
replicas: 1
selector:

View File

@@ -2,8 +2,6 @@ apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: whoami
labels:
app: whoami
spec:
entryPoints:
- websecure

View File

@@ -2,8 +2,6 @@ apiVersion: v1
kind: Service
metadata:
name: whoami
labels:
app: whoami
spec:
type: ClusterIP
ports: