mirror of
https://github.com/nold360/hive-apps
synced 2024-11-16 02:29:34 +00:00
Add: Ingress External labelSelector
This commit is contained in:
parent
437e9db830
commit
9f9f6a9359
5 changed files with 23 additions and 0 deletions
|
@ -5,6 +5,8 @@ ingressClass:
|
||||||
providers:
|
providers:
|
||||||
kubernetesCRD:
|
kubernetesCRD:
|
||||||
ingressClass: external
|
ingressClass: external
|
||||||
|
kubernetesIngress:
|
||||||
|
labelSelector: environment=external
|
||||||
|
|
||||||
globalArguments: []
|
globalArguments: []
|
||||||
|
|
||||||
|
|
|
@ -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'
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
15
resources/manifests/traefik-tls.yaml
Normal file
15
resources/manifests/traefik-tls.yaml
Normal 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
|
Loading…
Reference in a new issue