gateway: fix regression in tanka jsonnet (#2899)

Seeing the following when importing loki...

evaluating jsonnet: RUNTIME ERROR: {snip}everquoteinc/loki-du/tanka/vendor/loki/gateway.libsonnet:97:5-6 Unexpected: "$" while parsing field definition

Related to:

https://github.com/grafana/loki/pull/2852
cb383d6906
pull/2901/head
Matt Young 5 years ago committed by GitHub
parent 070a145ea6
commit 80539a296a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      production/ksonnet/loki/gateway.libsonnet

@ -93,7 +93,7 @@
]) +
deployment.mixin.spec.template.metadata.withAnnotationsMixin({
config_hash: std.md5(std.toString($.gateway_config)),
}),
}) +
$.util.configVolumeMount('gateway-config', '/etc/nginx') +
$.util.secretVolumeMount('gateway-secret', '/etc/nginx/secrets', defaultMode=420) +
$.util.antiAffinity,

Loading…
Cancel
Save