Redirect HTTP to HTTPS
parent
2ba0bc0834
commit
fef4b2bb01
|
@ -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)
|
||||
|
@ -237,4 +241,4 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
|
|||
},
|
||||
}}
|
||||
),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue