mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-29 19:07:49 +01:00
Fix TLS secret name
This commit is contained in:
parent
0d8368b29f
commit
b617576d64
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ vendor
|
|||||||
auth
|
auth
|
||||||
server.crt
|
server.crt
|
||||||
server.key
|
server.key
|
||||||
|
.idea
|
||||||
|
@ -130,7 +130,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
|
|||||||
newTLSSecret(name, namespace, crt, key):: (
|
newTLSSecret(name, namespace, crt, key):: (
|
||||||
local secret = k.core.v1.secret;
|
local secret = k.core.v1.secret;
|
||||||
|
|
||||||
secret.new('ingress-secret') +
|
secret.new(name) +
|
||||||
secret.mixin.metadata.withNamespace(namespace) +
|
secret.mixin.metadata.withNamespace(namespace) +
|
||||||
secret.withType('kubernetes.io/tls') +
|
secret.withType('kubernetes.io/tls') +
|
||||||
secret.withData(
|
secret.withData(
|
||||||
|
Loading…
Reference in New Issue
Block a user