From 5eec3fc643d2a52bc5ff4b7caee47163a7824f30 Mon Sep 17 00:00:00 2001 From: Karl Skewes <karl.skewes@gmail.com> Date: Mon, 29 Oct 2018 22:00:35 +1300 Subject: [PATCH] Correct ingress jsonnet object naming to match projects general naming convention --- examples/ingress.jsonnet | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/ingress.jsonnet b/examples/ingress.jsonnet index cfc6dbbf..7b89094f 100644 --- a/examples/ingress.jsonnet +++ b/examples/ingress.jsonnet @@ -37,7 +37,7 @@ local kp = }, // Create ingress objects per application ingress+:: { - alertmanager: + 'alertmanager-main': ingress.new() + ingress.mixin.metadata.withName('alertmanager-main') + ingress.mixin.metadata.withNamespace($._config.namespace) + @@ -73,9 +73,9 @@ local kp = httpIngressPath.mixin.backend.withServicePort('http') ), ), - prometheus: + 'prometheus-k8s': ingress.new() + - ingress.mixin.metadata.withName('prometheus') + + ingress.mixin.metadata.withName('prometheus-k8s') + ingress.mixin.metadata.withNamespace($._config.namespace) + ingress.mixin.metadata.withAnnotations({ 'nginx.ingress.kubernetes.io/auth-type': 'basic', -- GitLab