mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-20 19:07:17 +01:00
Redirect HTTP to HTTPS
This commit is contained in:
parent
2ba0bc0834
commit
fef4b2bb01
@ -100,6 +100,10 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
|
|||||||
ingress.new()
|
ingress.new()
|
||||||
+ ingress.mixin.metadata.withName(name)
|
+ ingress.mixin.metadata.withName(name)
|
||||||
+ ingress.mixin.metadata.withNamespace(namespace)
|
+ ingress.mixin.metadata.withNamespace(namespace)
|
||||||
|
+ ingress.mixin.spec.withTls(
|
||||||
|
ingressTls.new()
|
||||||
|
+ ingressTls.withHosts(host)
|
||||||
|
)
|
||||||
+ ingress.mixin.spec.withRules(
|
+ ingress.mixin.spec.withRules(
|
||||||
ingressRule.new()
|
ingressRule.new()
|
||||||
+ ingressRule.withHost(host)
|
+ ingressRule.withHost(host)
|
||||||
|
Loading…
Reference in New Issue
Block a user