Merge pull request #29 from L0g4n/master

Redirect HTTP to HTTPS
This commit is contained in:
Carlos Eduardo 2020-03-02 16:45:23 -03:00 committed by GitHub
commit 11b4b0f11b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)
@ -237,4 +241,4 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
},
}}
),
}
}