mirror of
				https://github.com/optim-enterprises-bv/homelab.git
				synced 2025-10-31 09:57:59 +00:00 
			
		
		
		
	chore(kustomize): Cleaning up resource definitions
This commit is contained in:
		| @@ -1,7 +1,6 @@ | |||||||
| apiVersion: traefik.containo.us/v1alpha1 | apiVersion: traefik.containo.us/v1alpha1 | ||||||
| kind: IngressRoute | kind: IngressRoute | ||||||
| metadata: | metadata: | ||||||
|   namespace: arr |  | ||||||
|   name: ingressroute-arr |   name: ingressroute-arr | ||||||
| spec: | spec: | ||||||
|   entryPoints: |   entryPoints: | ||||||
|   | |||||||
| @@ -1,19 +1,13 @@ | |||||||
| kind: Deployment | kind: Deployment | ||||||
| apiVersion: apps/v1 | apiVersion: apps/v1 | ||||||
| metadata: | metadata: | ||||||
|   namespace: arr |  | ||||||
|   name: lidarr |   name: lidarr | ||||||
|   labels: |  | ||||||
|     app: lidarr |  | ||||||
| spec: | spec: | ||||||
|   replicas: 1 |   replicas: 1 | ||||||
|   selector: |   selector: | ||||||
|     matchLabels: |     matchLabels: | ||||||
|       app: lidarr |       app: lidarr | ||||||
|   template: |   template: | ||||||
|     metadata: |  | ||||||
|       labels: |  | ||||||
|         app: lidarr |  | ||||||
|     spec: |     spec: | ||||||
|       volumes: |       volumes: | ||||||
|         - name: lidarr-config |         - name: lidarr-config | ||||||
|   | |||||||
| @@ -1,7 +1,6 @@ | |||||||
| apiVersion: v1 | apiVersion: v1 | ||||||
| kind: Service | kind: Service | ||||||
| metadata: | metadata: | ||||||
|   namespace: arr |  | ||||||
|   name: lidarr |   name: lidarr | ||||||
| spec: | spec: | ||||||
|   type: LoadBalancer |   type: LoadBalancer | ||||||
|   | |||||||
| @@ -1,19 +1,13 @@ | |||||||
| kind: Deployment | kind: Deployment | ||||||
| apiVersion: apps/v1 | apiVersion: apps/v1 | ||||||
| metadata: | metadata: | ||||||
|   namespace: arr |  | ||||||
|   name: prowlarr |   name: prowlarr | ||||||
|   labels: |  | ||||||
|     app: prowlarr |  | ||||||
| spec: | spec: | ||||||
|   replicas: 1 |   replicas: 1 | ||||||
|   selector: |   selector: | ||||||
|     matchLabels: |     matchLabels: | ||||||
|       app: prowlarr |       app: prowlarr | ||||||
|   template: |   template: | ||||||
|     metadata: |  | ||||||
|       labels: |  | ||||||
|         app: prowlarr |  | ||||||
|     spec: |     spec: | ||||||
|       volumes: |       volumes: | ||||||
|         - name: prowlarr-config |         - name: prowlarr-config | ||||||
|   | |||||||
| @@ -1,7 +1,6 @@ | |||||||
| apiVersion: v1 | apiVersion: v1 | ||||||
| kind: Service | kind: Service | ||||||
| metadata: | metadata: | ||||||
|   namespace: arr |  | ||||||
|   name: prowlarr |   name: prowlarr | ||||||
| spec: | spec: | ||||||
|   type: LoadBalancer |   type: LoadBalancer | ||||||
|   | |||||||
| @@ -1,19 +1,13 @@ | |||||||
| kind: Deployment | kind: Deployment | ||||||
| apiVersion: apps/v1 | apiVersion: apps/v1 | ||||||
| metadata: | metadata: | ||||||
|   namespace: arr |  | ||||||
|   name: qbittorrent |   name: qbittorrent | ||||||
|   labels: |  | ||||||
|     app: qbittorrent |  | ||||||
| spec: | spec: | ||||||
|   replicas: 1 |   replicas: 1 | ||||||
|   selector: |   selector: | ||||||
|     matchLabels: |     matchLabels: | ||||||
|       app: qbittorrent |       app: qbittorrent | ||||||
|   template: |   template: | ||||||
|     metadata: |  | ||||||
|       labels: |  | ||||||
|         app: qbittorrent |  | ||||||
|     spec: |     spec: | ||||||
|       volumes: |       volumes: | ||||||
|         - name: qbittorrent-config |         - name: qbittorrent-config | ||||||
|   | |||||||
| @@ -1,7 +1,6 @@ | |||||||
| apiVersion: v1 | apiVersion: v1 | ||||||
| kind: Service | kind: Service | ||||||
| metadata: | metadata: | ||||||
|   namespace: arr |  | ||||||
|   name: qbittorrent |   name: qbittorrent | ||||||
| spec: | spec: | ||||||
|   type: LoadBalancer |   type: LoadBalancer | ||||||
|   | |||||||
| @@ -1,19 +1,13 @@ | |||||||
| kind: Deployment | kind: Deployment | ||||||
| apiVersion: apps/v1 | apiVersion: apps/v1 | ||||||
| metadata: | metadata: | ||||||
|   namespace: arr |  | ||||||
|   name: radarr |   name: radarr | ||||||
|   labels: |  | ||||||
|     app: radarr |  | ||||||
| spec: | spec: | ||||||
|   replicas: 1 |   replicas: 1 | ||||||
|   selector: |   selector: | ||||||
|     matchLabels: |     matchLabels: | ||||||
|       app: radarr |       app: radarr | ||||||
|   template: |   template: | ||||||
|     metadata: |  | ||||||
|       labels: |  | ||||||
|         app: radarr |  | ||||||
|     spec: |     spec: | ||||||
|       volumes: |       volumes: | ||||||
|         - name: radarr-config |         - name: radarr-config | ||||||
|   | |||||||
| @@ -1,7 +1,6 @@ | |||||||
| apiVersion: v1 | apiVersion: v1 | ||||||
| kind: Service | kind: Service | ||||||
| metadata: | metadata: | ||||||
|   namespace: arr |  | ||||||
|   name: radarr |   name: radarr | ||||||
| spec: | spec: | ||||||
|   type: LoadBalancer |   type: LoadBalancer | ||||||
|   | |||||||
| @@ -1,19 +1,13 @@ | |||||||
| kind: Deployment | kind: Deployment | ||||||
| apiVersion: apps/v1 | apiVersion: apps/v1 | ||||||
| metadata: | metadata: | ||||||
|   namespace: arr |  | ||||||
|   name: sonarr |   name: sonarr | ||||||
|   labels: |  | ||||||
|     app: sonarr |  | ||||||
| spec: | spec: | ||||||
|   replicas: 1 |   replicas: 1 | ||||||
|   selector: |   selector: | ||||||
|     matchLabels: |     matchLabels: | ||||||
|       app: sonarr |       app: sonarr | ||||||
|   template: |   template: | ||||||
|     metadata: |  | ||||||
|       labels: |  | ||||||
|         app: sonarr |  | ||||||
|     spec: |     spec: | ||||||
|       volumes: |       volumes: | ||||||
|         - name: sonarr-config |         - name: sonarr-config | ||||||
|   | |||||||
| @@ -1,7 +1,6 @@ | |||||||
| apiVersion: v1 | apiVersion: v1 | ||||||
| kind: Service | kind: Service | ||||||
| metadata: | metadata: | ||||||
|   namespace: arr |  | ||||||
|   name: sonarr |   name: sonarr | ||||||
| spec: | spec: | ||||||
|   type: LoadBalancer |   type: LoadBalancer | ||||||
|   | |||||||
| @@ -2,8 +2,6 @@ apiVersion: apps/v1 | |||||||
| kind: Deployment | kind: Deployment | ||||||
| metadata: | metadata: | ||||||
|   name: traefik-forward-auth |   name: traefik-forward-auth | ||||||
|   labels: |  | ||||||
|     app: traefik-forward-auth |  | ||||||
| spec: | spec: | ||||||
|   replicas: 1 |   replicas: 1 | ||||||
|   selector: |   selector: | ||||||
| @@ -12,9 +10,6 @@ spec: | |||||||
|   strategy: |   strategy: | ||||||
|     type: Recreate |     type: Recreate | ||||||
|   template: |   template: | ||||||
|     metadata: |  | ||||||
|       labels: |  | ||||||
|         app: traefik-forward-auth |  | ||||||
|     spec: |     spec: | ||||||
|       terminationGracePeriodSeconds: 60 |       terminationGracePeriodSeconds: 60 | ||||||
|       containers: |       containers: | ||||||
|   | |||||||
| @@ -8,17 +8,11 @@ resources: | |||||||
|   - service.yaml |   - service.yaml | ||||||
|   - middleware.yaml |   - middleware.yaml | ||||||
|  |  | ||||||
| # |  | ||||||
| # Configs |  | ||||||
| # |  | ||||||
| configMapGenerator: | configMapGenerator: | ||||||
|   - name: configs |   - name: configs | ||||||
|     files: |     files: | ||||||
|       - configs/traefik-forward-auth.ini |       - configs/traefik-forward-auth.ini | ||||||
|  |  | ||||||
| # |  | ||||||
| # Secrets |  | ||||||
| # |  | ||||||
| secretGenerator: | secretGenerator: | ||||||
|   - name: traefik-forward-auth-secrets |   - name: traefik-forward-auth-secrets | ||||||
|     envs: |     envs: | ||||||
|   | |||||||
| @@ -1,12 +1,7 @@ | |||||||
| # |  | ||||||
| # Auth Service |  | ||||||
| # |  | ||||||
| apiVersion: v1 | apiVersion: v1 | ||||||
| kind: Service | kind: Service | ||||||
| metadata: | metadata: | ||||||
|   name: traefik-forward-auth |   name: traefik-forward-auth | ||||||
|   labels: |  | ||||||
|     app: traefik-forward-auth |  | ||||||
| spec: | spec: | ||||||
|   type: ClusterIP |   type: ClusterIP | ||||||
|   selector: |   selector: | ||||||
|   | |||||||
| @@ -1,19 +1,13 @@ | |||||||
| kind: Deployment | kind: Deployment | ||||||
| apiVersion: apps/v1 | apiVersion: apps/v1 | ||||||
| metadata: | metadata: | ||||||
|   namespace: plex |  | ||||||
|   name: plex |   name: plex | ||||||
|   labels: |  | ||||||
|     app: plex |  | ||||||
| spec: | spec: | ||||||
|   replicas: 1 |   replicas: 1 | ||||||
|   selector: |   selector: | ||||||
|     matchLabels: |     matchLabels: | ||||||
|       app: plex |       app: plex | ||||||
|   template: |   template: | ||||||
|     metadata: |  | ||||||
|       labels: |  | ||||||
|         app: plex |  | ||||||
|     spec: |     spec: | ||||||
|       volumes: |       volumes: | ||||||
|         - name: plex-config |         - name: plex-config | ||||||
|   | |||||||
| @@ -2,7 +2,6 @@ apiVersion: traefik.containo.us/v1alpha1 | |||||||
| kind: IngressRoute | kind: IngressRoute | ||||||
| metadata: | metadata: | ||||||
|   name: ingressroute-plex |   name: ingressroute-plex | ||||||
|   namespace: plex |  | ||||||
| spec: | spec: | ||||||
|   entryPoints: |   entryPoints: | ||||||
|     - websecure |     - websecure | ||||||
|   | |||||||
| @@ -1,11 +1,11 @@ | |||||||
| apiVersion: kustomize.config.k8s.io/v1beta1 | apiVersion: kustomize.config.k8s.io/v1beta1 | ||||||
| kind: Kustomization | kind: Kustomization | ||||||
| namespace: arr | namespace: plex | ||||||
|  |  | ||||||
| resources: | resources: | ||||||
|   - namespace.yaml |   - namespace.yaml | ||||||
| #  - pv.yaml |   #  - pv.yaml | ||||||
| #  - pvc.yaml |   #  - pvc.yaml | ||||||
|   - service.yaml |   - service.yaml | ||||||
|   - deployment.yaml |   - deployment.yaml | ||||||
|   - ingress.yaml |   - ingress.yaml | ||||||
|   | |||||||
| @@ -2,5 +2,3 @@ apiVersion: v1 | |||||||
| kind: Namespace | kind: Namespace | ||||||
| metadata: | metadata: | ||||||
|   name: plex |   name: plex | ||||||
|   labels: |  | ||||||
|     name: plex |  | ||||||
| @@ -1,7 +1,6 @@ | |||||||
| apiVersion: v1 | apiVersion: v1 | ||||||
| kind: Service | kind: Service | ||||||
| metadata: | metadata: | ||||||
|   namespace: plex |  | ||||||
|   name: plex |   name: plex | ||||||
| spec: | spec: | ||||||
|   type: LoadBalancer |   type: LoadBalancer | ||||||
|   | |||||||
| @@ -9,17 +9,11 @@ resources: | |||||||
|   - ingress.yaml |   - ingress.yaml | ||||||
|   - middleware.yaml |   - middleware.yaml | ||||||
|  |  | ||||||
| # |  | ||||||
| # Configs |  | ||||||
| # |  | ||||||
| configMapGenerator: | configMapGenerator: | ||||||
|   - name: configs |   - name: configs | ||||||
|     files: |     files: | ||||||
|       - configs/traefik-forward-auth.ini |       - configs/traefik-forward-auth.ini | ||||||
|  |  | ||||||
| # |  | ||||||
| # Secrets |  | ||||||
| # |  | ||||||
| secretGenerator: | secretGenerator: | ||||||
|   - name: traefik-forward-auth-secrets |   - name: traefik-forward-auth-secrets | ||||||
|     envs: |     envs: | ||||||
|   | |||||||
| @@ -2,8 +2,6 @@ apiVersion: apps/v1 | |||||||
| kind: Deployment | kind: Deployment | ||||||
| metadata: | metadata: | ||||||
|   name: whoami |   name: whoami | ||||||
|   labels: |  | ||||||
|     app: whoami |  | ||||||
| spec: | spec: | ||||||
|   replicas: 1 |   replicas: 1 | ||||||
|   selector: |   selector: | ||||||
|   | |||||||
| @@ -2,8 +2,6 @@ apiVersion: traefik.containo.us/v1alpha1 | |||||||
| kind: IngressRoute | kind: IngressRoute | ||||||
| metadata: | metadata: | ||||||
|   name: whoami |   name: whoami | ||||||
|   labels: |  | ||||||
|     app: whoami |  | ||||||
| spec: | spec: | ||||||
|   entryPoints: |   entryPoints: | ||||||
|     - websecure |     - websecure | ||||||
|   | |||||||
| @@ -2,8 +2,6 @@ apiVersion: v1 | |||||||
| kind: Service | kind: Service | ||||||
| metadata: | metadata: | ||||||
|   name: whoami |   name: whoami | ||||||
|   labels: |  | ||||||
|     app: whoami |  | ||||||
| spec: | spec: | ||||||
|   type: ClusterIP |   type: ClusterIP | ||||||
|   ports: |   ports: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Vegard Hagen
					Vegard Hagen