Update: External Ingresses

This commit is contained in:
nold 2022-01-05 21:06:12 +01:00
parent 125bd9708f
commit 119ac6cb92
3 changed files with 5 additions and 27 deletions

View file

@ -24,8 +24,9 @@ service:
ingress: ingress:
enabled: true enabled: true
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt
kubernetes.io/ingress.class: external kubernetes.io/ingress.class: external
traefik.ingress.kubernetes.io/router.tls: 'true'
cert-manager.io/cluster-issuer: letsencrypt
kubernetes.io/tls-acme: "true" kubernetes.io/tls-acme: "true"
hosts: hosts:
- host: drone.nold.in - host: drone.nold.in

View file

@ -41,6 +41,7 @@ ingress:
kubernetes.io/ingress.class: external kubernetes.io/ingress.class: external
kubernetes.io/tls-acme: "true" kubernetes.io/tls-acme: "true"
cert-manager.io/cluster-issuer: letsencrypt cert-manager.io/cluster-issuer: letsencrypt
traefik.ingress.kubernetes.io/router.tls: 'true'
hosts: hosts:
- host: git.nold.in - host: git.nold.in
paths: paths:

View file

@ -50,34 +50,10 @@ nextcloud:
ingress: ingress:
enabled: true enabled: true
annotations: annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 4G #nginx.ingress.kubernetes.io/proxy-body-size: 4G
kubernetes.io/ingress.class: "external"
kubernetes.io/tls-acme: "true" kubernetes.io/tls-acme: "true"
cert-manager.io/cluster-issuer: letsencrypt cert-manager.io/cluster-issuer: letsencrypt
# nginx.ingress.kubernetes.io/server-snippet: |- traefik.ingress.kubernetes.io/router.tls: 'true'
# server_tokens off;
# proxy_hide_header X-Powered-By;
#
# rewrite ^/.well-known/webfinger /public.php?service=webfinger last;
# rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
# rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json;
# location = /.well-known/carddav {
# return 301 $scheme://$host/remote.php/dav;
# }
# location = /.well-known/caldav {
# return 301 $scheme://$host/remote.php/dav;
# }
# location = /robots.txt {
# allow all;
# log_not_found off;
# access_log off;
# }
# location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
# deny all;
# }
# location ~ ^/(?:autotest|occ|issue|indie|db_|console) {
# deny all;
# }
tls: tls:
- secretName: nextcloud-tls - secretName: nextcloud-tls
hosts: hosts: