Redirect HTTP to HTTPS

This commit is contained in:
L0g4n 2020-03-01 18:14:06 +01:00
parent 2ba0bc0834
commit fef4b2bb01

View File

@ -100,6 +100,10 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
ingress.new()
+ ingress.mixin.metadata.withName(name)
+ ingress.mixin.metadata.withNamespace(namespace)
+ ingress.mixin.spec.withTls(
ingressTls.new()
+ ingressTls.withHosts(host)
)
+ ingress.mixin.spec.withRules(
ingressRule.new()
+ ingressRule.withHost(host)