diff --git a/examples/ingress.jsonnet b/examples/ingress.jsonnet index cfc6dbbf43b1ea43996621feeae3c6de402457e6..7b89094fbfec4ea3842eaf00981f475685fd1310 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',