mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-20 19:07:17 +01:00
commit
11b4b0f11b
@ -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)
|
||||||
@ -237,4 +241,4 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user