Add: Ingress External labelSelector

This commit is contained in:
nold 2022-01-06 11:17:45 +01:00
parent 437e9db830
commit 9f9f6a9359
5 changed files with 23 additions and 0 deletions

View file

@ -5,6 +5,8 @@ ingressClass:
providers: providers:
kubernetesCRD: kubernetesCRD:
ingressClass: external ingressClass: external
kubernetesIngress:
labelSelector: environment=external
globalArguments: [] globalArguments: []

View file

@ -23,6 +23,8 @@ service:
ingress: ingress:
enabled: true enabled: true
labels:
environment: external
annotations: annotations:
# kubernetes.io/ingress.class: ingress-external-traefik # kubernetes.io/ingress.class: ingress-external-traefik
traefik.ingress.kubernetes.io/router.tls: 'true' traefik.ingress.kubernetes.io/router.tls: 'true'

View file

@ -37,6 +37,8 @@ service:
ingress: ingress:
enabled: true enabled: true
labels:
environment: external
annotations: annotations:
# kubernetes.io/ingress.class: ingress-external-traefik # kubernetes.io/ingress.class: ingress-external-traefik
kubernetes.io/tls-acme: "true" kubernetes.io/tls-acme: "true"

View file

@ -49,6 +49,8 @@ nextcloud:
ingress: ingress:
enabled: true enabled: true
labels:
environment: external
annotations: annotations:
#nginx.ingress.kubernetes.io/proxy-body-size: 4G #nginx.ingress.kubernetes.io/proxy-body-size: 4G
kubernetes.io/tls-acme: "true" kubernetes.io/tls-acme: "true"

View file

@ -0,0 +1,15 @@
apiVersion: traefik.containo.us/v1alpha1
kind: TLSOption
metadata:
name: default
namespace: kube-system
spec:
minVersion: VersionTLS12
sniStrict: true
cipherSuites:
- TLS_AES_128_GCM_SHA256
- TLS_AES_256_GCM_SHA384
- TLS_CHACHA20_POLY1305_SHA256
- TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
- TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
- TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384