From b617576d64b1f5da5215facdf872dfc6cd260e3c Mon Sep 17 00:00:00 2001 From: Carlos de Paula Date: Mon, 15 Jun 2020 18:28:46 -0300 Subject: [PATCH] Fix TLS secret name --- .gitignore | 1 + utils.libsonnet | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 8b2091a..4b36962 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ vendor auth server.crt server.key +.idea diff --git a/utils.libsonnet b/utils.libsonnet index 45482ff..b4f8545 100644 --- a/utils.libsonnet +++ b/utils.libsonnet @@ -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(