Skip to content

Commit

Permalink
feat(nginx): Make the annotations go away
Browse files Browse the repository at this point in the history
  • Loading branch information
kireque committed Dec 13, 2024
1 parent 71a0e5c commit 5b2e50d
Show file tree
Hide file tree
Showing 31 changed files with 7 additions and 62 deletions.
2 changes: 0 additions & 2 deletions .archive/music-assistant/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ spec:
ingress:
app:
className: "internal-nginx"
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
hosts:
- host: music-assistant.econline.nl
paths:
Expand Down
6 changes: 0 additions & 6 deletions .archive/victoria-metrics/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ spec:
ingress:
enabled: true
ingressClassName: internal-nginx
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
hosts:
- victoria-metrics.econline.nl

Expand Down Expand Up @@ -74,8 +72,6 @@ spec:
ingress:
enabled: true
ingressClassName: internal-nginx
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
hosts:
- vmalert.econline.nl

Expand Down Expand Up @@ -105,8 +101,6 @@ spec:
ingress:
enabled: true
ingressClassName: internal-nginx
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
hosts:
- vmagent.econline.nl

Expand Down
2 changes: 0 additions & 2 deletions kubernetes/main/apps/database/emqx/cluster/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: emqx-dashboard
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
spec:
ingressClassName: internal-nginx
rules:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ spec:
ingress:
app:
enabled: true
annotations:
external-dns.alpha.kubernetes.io/target: ingress-ext.econline.nl
className: "external-nginx"
hosts:
- host: gh-safe-settings.econline.nl
Expand Down
2 changes: 0 additions & 2 deletions kubernetes/main/apps/downloads/prowlarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ spec:
ingress:
app:
className: "internal-nginx"
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
hosts:
- host: prowlarr.econline.nl
paths:
Expand Down
2 changes: 0 additions & 2 deletions kubernetes/main/apps/downloads/radarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ spec:
ingress:
app:
className: "internal-nginx"
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
hosts:
- host: radarr.econline.nl
paths:
Expand Down
2 changes: 0 additions & 2 deletions kubernetes/main/apps/downloads/sabnzbd/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ spec:
ingress:
app:
className: "internal-nginx"
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
hosts:
- host: sabnzbd.econline.nl
paths:
Expand Down
2 changes: 0 additions & 2 deletions kubernetes/main/apps/downloads/sonarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ spec:
ingress:
app:
className: "internal-nginx"
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
hosts:
- host: sonarr.econline.nl
paths:
Expand Down
2 changes: 0 additions & 2 deletions kubernetes/main/apps/family/sabnzbd/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ spec:
sabnzbd:
className: "external-nginx"
annotations:
external-dns.alpha.kubernetes.io/target: ingress-ext.econline.nl
nginx.ingress.kubernetes.io/auth-method: GET
nginx.ingress.kubernetes.io/auth-url: https://auth.econline.nl/api/verify
nginx.ingress.kubernetes.io/auth-signin: https://auth.econline.nl/?rm=$request_method
Expand All @@ -140,7 +139,6 @@ spec:
filebrowser:
className: "external-nginx"
annotations:
external-dns.alpha.kubernetes.io/target: ingress-ext.econline.nl
nginx.ingress.kubernetes.io/auth-method: GET
nginx.ingress.kubernetes.io/auth-url: https://auth.econline.nl/api/verify
nginx.ingress.kubernetes.io/auth-signin: https://auth.econline.nl/?rm=$request_method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ spec:
ingress:
app:
className: "internal-nginx"
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
hosts:
- host: dsmr-reader.econline.nl
paths:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ spec:
app:
className: "internal-nginx"
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
nginx.ingress.kubernetes.io/rewrite-target: /$1
hosts:
- host: esphome.econline.nl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ spec:
enabled: true
className: "internal-nginx"
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
nginx.ingress.kubernetes.io/rewrite-target: /$1
hosts:
- host: hass.econline.nl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ spec:
ingress:
app:
className: "internal-nginx"
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
hosts:
- host: scrypted.econline.nl
paths:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ spec:
app:
className: internal-nginx
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
nginx.ingress.kubernetes.io/rewrite-target: /$1
hosts:
- host: zigbee2mqtt.econline.nl
Expand Down
2 changes: 0 additions & 2 deletions kubernetes/main/apps/kube-system/cilium/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ spec:
ingress:
enabled: true
className: "internal-nginx"
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
hosts:
- &host hubble-main.econline.nl
tls:
Expand Down
2 changes: 0 additions & 2 deletions kubernetes/main/apps/media/jellyfin/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ spec:

ingress:
app:
annotations:
external-dns.alpha.kubernetes.io/target: ingress-ext.econline.nl
className: "external-nginx"
hosts:
- host: jellyfin.econline.nl
Expand Down
3 changes: 0 additions & 3 deletions kubernetes/main/apps/media/piped/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ spec:
ingress:
backend:
annotations:
external-dns.alpha.kubernetes.io/target: ingress-ext.econline.nl
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/cors-allow-origin: "https://piped.econline.nl, https://piped-api.econline.nl, https://piped-proxy.econline.nl"
className: "external-nginx"
Expand All @@ -181,7 +180,6 @@ spec:
port: http
frontend:
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/cors-allow-origin: "https://piped.econline.nl, https://piped-api.econline.nl, https://piped-proxy.econline.nl"
className: "internal-nginx"
Expand All @@ -194,7 +192,6 @@ spec:
port: http
ytproxy:
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/cors-allow-origin: "https://piped.econline.nl, https://piped-api.econline.nl, https://piped-proxy.econline.nl"
className: "internal-nginx"
Expand Down
1 change: 0 additions & 1 deletion kubernetes/main/apps/media/plex/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ spec:
ingress:
app:
annotations:
external-dns.alpha.kubernetes.io/target: ingress-ext.econline.nl
nginx.ingress.kubernetes.io/backend-protocol: HTTPS
className: "external-nginx"
hosts:
Expand Down
2 changes: 0 additions & 2 deletions kubernetes/main/apps/minio/minio/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ spec:
ingress:
app:
className: "internal-nginx"
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
hosts:
- host: minio.econline.nl
paths:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ spec:
ingress:
enabled: true
className: internal-nginx
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
hosts:
- host: &host "blackbox-exporter.econline.nl"
paths:
Expand Down
2 changes: 0 additions & 2 deletions kubernetes/main/apps/monitoring/kromgo/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ spec:
ingress:
app:
className: "external-nginx"
annotations:
external-dns.alpha.kubernetes.io/target: ingress-ext.econline.nl
hosts:
- host: &host kromgo.econline.nl
paths:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ spec:
ingress:
enabled: true
ingressClassName: internal-nginx
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
hosts:
- prometheus.econline.nl
pathType: Prefix
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ spec:
app:
className: "external-nginx"
annotations:
external-dns.alpha.kubernetes.io/target: ingress-ext.econline.nl
nginx.ingress.kubernetes.io/auth-method: GET
nginx.ingress.kubernetes.io/auth-url: https://auth.econline.nl/api/verify
nginx.ingress.kubernetes.io/auth-signin: https://auth.econline.nl/?rm=$request_method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ spec:
enabled: true
type: LoadBalancer
annotations:
external-dns.alpha.kubernetes.io/hostname: "ingress-ext.econline.nl"
lbipam.cilium.io/ips: "10.1.1.132"
external-dns.alpha.kubernetes.io/hostname: &hostname ingress-ext.econline.nl
lbipam.cilium.io/ips: 10.1.1.132

publishService:
enabled: true
enabled: false

ingressClassResource:
name: external-nginx
Expand Down Expand Up @@ -87,6 +87,7 @@ spec:

extraArgs:
default-ssl-certificate: "network/econline-nl-tls"
publish-status-address: *hostname

topologySpreadConstraints:
- maxSkew: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ spec:
enabled: true
type: LoadBalancer
annotations:
external-dns.alpha.kubernetes.io/hostname: "ingress-int.econline.nl"
external-dns.alpha.kubernetes.io/hostname: &hostname ingress-int.econline.nl
lbipam.cilium.io/ips: 10.1.1.131

publishService:
enabled: true
enabled: false

ingressClassResource:
name: internal-nginx
Expand Down Expand Up @@ -87,6 +87,7 @@ spec:

extraArgs:
default-ssl-certificate: "network/econline-nl-tls"
publish-status-address: *hostname

topologySpreadConstraints:
- maxSkew: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ spec:
app:
className: "external-nginx"
annotations:
external-dns.alpha.kubernetes.io/target: ingress-ext.econline.nl
nginx.ingress.kubernetes.io/configuration-snippet: |
add_header Cache-Control "no-store";
add_header Pragma "no-cache";
Expand Down
2 changes: 0 additions & 2 deletions kubernetes/main/apps/security/lldap/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ spec:
ingress:
app:
className: "internal-nginx"
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
hosts:
- host: lldap.econline.nl
paths:
Expand Down
2 changes: 0 additions & 2 deletions kubernetes/main/apps/selfhosted/actual/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ spec:
ingress:
app:
className: "internal-nginx"
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
hosts:
- host: actual.econline.nl
paths:
Expand Down
2 changes: 0 additions & 2 deletions kubernetes/main/apps/selfhosted/atuin/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ spec:
app:
enabled: true
className: "internal-nginx"
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
hosts:
- host: atuin.econline.nl
paths:
Expand Down
2 changes: 0 additions & 2 deletions kubernetes/main/apps/selfhosted/it-tools/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ spec:
ingress:
app:
className: "internal-nginx"
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
hosts:
- host: it-tools.econline.nl
paths:
Expand Down
2 changes: 0 additions & 2 deletions kubernetes/main/apps/selfhosted/searxng/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ spec:
ingress:
app:
className: "internal-nginx"
annotations:
external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl
hosts:
- host: search.econline.nl
paths:
Expand Down

0 comments on commit 5b2e50d

Please sign in to comment.