Skip to content

Commit

Permalink
chore: clean up ingresses (#7391)
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <[email protected]>
  • Loading branch information
onedr0p authored Apr 16, 2024
1 parent 933fa5a commit 5718ba1
Show file tree
Hide file tree
Showing 35 changed files with 38 additions and 119 deletions.
4 changes: 1 addition & 3 deletions kubernetes/main/apps/database/emqx/cluster/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
spec:
ingressClassName: internal
rules:
- host: &host emqx.devbu.io
- host: emqx.devbu.io
http:
paths:
- path: /
Expand All @@ -16,5 +16,3 @@ spec:
name: emqx-dashboard
port:
number: 18083
tls:
- hosts: [*host]
4 changes: 1 addition & 3 deletions kubernetes/main/apps/default/atuin/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,12 @@ spec:
app:
className: internal
hosts:
- host: &host sh.devbu.io
- host: sh.devbu.io
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts: [*host]
persistence:
config:
type: emptyDir
4 changes: 1 addition & 3 deletions kubernetes/main/apps/default/authelia/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,12 @@ spec:
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
hosts:
- host: &host auth.devbu.io
- host: auth.devbu.io
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts: [*host]
persistence:
config:
type: configMap
Expand Down
4 changes: 1 addition & 3 deletions kubernetes/main/apps/default/autobrr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,9 @@ spec:
app:
className: internal
hosts:
- host: &host "{{ .Release.Name }}.devbu.io"
- host: "{{ .Release.Name }}.devbu.io"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts: [*host]
4 changes: 1 addition & 3 deletions kubernetes/main/apps/default/frigate/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,12 @@ spec:
app:
className: internal
hosts:
- host: &host "{{ .Release.Name }}.devbu.io"
- host: "{{ .Release.Name }}.devbu.io"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts: [*host]
persistence:
config:
existingClaim: frigate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,12 @@ spec:
annotations:
external-dns.alpha.kubernetes.io/target: external.devbu.io
hosts:
- host: &host hass.devbu.io
- host: hass.devbu.io
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts: [*host]
persistence:
config:
existingClaim: home-assistant
Expand Down
4 changes: 1 addition & 3 deletions kubernetes/main/apps/default/miniflux/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,9 @@ spec:
annotations:
external-dns.alpha.kubernetes.io/target: external.devbu.io
hosts:
- host: &host "{{ .Release.Name }}.devbu.io"
- host: "{{ .Release.Name }}.devbu.io"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts: [*host]
4 changes: 1 addition & 3 deletions kubernetes/main/apps/default/overseerr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,12 @@ spec:
annotations:
external-dns.alpha.kubernetes.io/target: external.devbu.io
hosts:
- host: &host requests.devbu.io
- host: requests.devbu.io
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts: [*host]
persistence:
config:
existingClaim: overseerr
Expand Down
4 changes: 1 addition & 3 deletions kubernetes/main/apps/default/plex/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,12 @@ spec:
external-dns.alpha.kubernetes.io/target: external.devbu.io
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
hosts:
- host: &host "{{ .Release.Name }}.devbu.io"
- host: "{{ .Release.Name }}.devbu.io"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts: [*host]
persistence:
config:
existingClaim: plex
Expand Down
4 changes: 1 addition & 3 deletions kubernetes/main/apps/default/prowlarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,12 @@ spec:
app:
className: internal
hosts:
- host: &host "{{ .Release.Name }}.devbu.io"
- host: "{{ .Release.Name }}.devbu.io"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts: [*host]
persistence:
config:
type: emptyDir
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,12 @@ spec:
app:
className: internal
hosts:
- host: &host qb.devbu.io
- host: qb.devbu.io
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts: [*host]
persistence:
config:
existingClaim: qbittorrent
Expand Down
4 changes: 1 addition & 3 deletions kubernetes/main/apps/default/radarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,12 @@ spec:
app:
className: internal
hosts:
- host: &host "{{ .Release.Name }}.devbu.io"
- host: "{{ .Release.Name }}.devbu.io"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts: [*host]
persistence:
config:
existingClaim: radarr
Expand Down
4 changes: 1 addition & 3 deletions kubernetes/main/apps/default/sabnzbd/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,12 @@ spec:
app:
className: internal
hosts:
- host: &host sab.devbu.io
- host: sab.devbu.io
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts: [*host]
persistence:
config:
existingClaim: sabnzbd
Expand Down
4 changes: 1 addition & 3 deletions kubernetes/main/apps/default/sonarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,12 @@ spec:
app:
className: internal
hosts:
- host: &host "{{ .Release.Name }}.devbu.io"
- host: "{{ .Release.Name }}.devbu.io"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts: [*host]
persistence:
config:
existingClaim: sonarr
Expand Down
4 changes: 1 addition & 3 deletions kubernetes/main/apps/default/tautulli/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,12 @@ spec:
app:
className: internal
hosts:
- host: &host "{{ .Release.Name }}.devbu.io"
- host: "{{ .Release.Name }}.devbu.io"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts: [*host]
persistence:
config:
existingClaim: tautulli
Expand Down
4 changes: 1 addition & 3 deletions kubernetes/main/apps/default/thelounge/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,12 @@ spec:
app:
className: internal
hosts:
- host: &host "{{ .Release.Name }}.devbu.io"
- host: "{{ .Release.Name }}.devbu.io"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts: [*host]
persistence:
config:
existingClaim: thelounge
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,12 @@ spec:
app:
className: internal
hosts:
- host: &host zigbee.devbu.io
- host: zigbee.devbu.io
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts: [*host]
persistence:
config:
existingClaim: zigbee2mqtt
4 changes: 1 addition & 3 deletions kubernetes/main/apps/default/zwave/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,12 @@ spec:
app:
className: internal
hosts:
- host: &host "{{ .Release.Name }}.devbu.io"
- host: "{{ .Release.Name }}.devbu.io"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts: [*host]
persistence:
config:
existingClaim: zwave
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,12 @@ spec:
app:
className: internal
hosts:
- host: &host "{{ .Release.Name }}.devbu.io"
- host: "{{ .Release.Name }}.devbu.io"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts: [*host]
persistence:
config:
type: emptyDir
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
spec:
ingressClassName: external
rules:
- host: &host flux-webhook.devbu.io
- host: flux-webhook.devbu.io
http:
paths:
- path: /hook/
Expand All @@ -18,5 +18,3 @@ spec:
name: webhook-receiver
port:
number: 80
tls:
- hosts: [*host]
5 changes: 1 addition & 4 deletions kubernetes/main/apps/kube-system/cilium/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,7 @@ spec:
ingress:
enabled: true
className: internal
hosts:
- &host hubble.devbu.io
tls:
- hosts: [*host]
hosts: ["hubble.devbu.io"]
operator:
prometheus:
enabled: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,9 @@ spec:
annotations:
external-dns.alpha.kubernetes.io/target: external.devbu.io
hosts:
- host: &host "{{ .Release.Name }}.devbu.io"
- host: "{{ .Release.Name }}.devbu.io"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts: [*host]
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,12 @@ spec:
annotations:
external-dns.alpha.kubernetes.io/target: external.devbu.io
hosts:
- host: &host status.devbu.io
- host: status.devbu.io
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts: [*host]
serviceAccount:
create: true
name: gatus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -416,10 +416,7 @@ spec:
ingress:
enabled: true
ingressClassName: internal
hosts:
- &host grafana.devbu.io
tls:
- hosts: [*host]
hosts: ["grafana.devbu.io"]
persistence:
enabled: false
testFramework:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,12 @@ spec:
annotations:
external-dns.alpha.kubernetes.io/target: external.devbu.io
hosts:
- host: &host "{{ .Release.Name }}.devbu.io"
- host: "{{ .Release.Name }}.devbu.io"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts: [*host]
persistence:
config-file:
type: configMap
Expand Down
Loading

0 comments on commit 5718ba1

Please sign in to comment.