Fix TLS secret name

This commit is contained in:
Carlos de Paula 2020-06-15 18:28:46 -03:00
parent 0d8368b29f
commit b617576d64
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ vendor
auth
server.crt
server.key
.idea

View File

@ -130,7 +130,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
newTLSSecret(name, namespace, crt, key):: (
local secret = k.core.v1.secret;
secret.new('ingress-secret') +
secret.new(name) +
secret.mixin.metadata.withNamespace(namespace) +
secret.withType('kubernetes.io/tls') +
secret.withData(