production: Add missing string formatter token to nginx.conf config map (#8580)

The `nginx.conf` config map server settings has a `proxy_set_header` line setting the X-Scope-OrgID using the gateway tenant ID. The Jsonnet string formatter is missing the `s` token.

This PR adds the missing formatter token to the `nginx.conf` config map that's causing an `Unrecognized conversion type: ;` when trying to deploy.

Fixes a bug introduced in #7624
pull/8563/head^2
Zach Watson 2 years ago committed by GitHub
parent 6fd4b5e89b
commit d59792ffa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      production/ksonnet/loki/gateway.libsonnet

@ -50,7 +50,7 @@ local k = import 'ksonnet-util/kausal.libsonnet';
listen 80;
auth_basic “Prometheus”;
auth_basic_user_file /etc/nginx/secrets/.htpasswd;
proxy_set_header X-Scope-OrgID %(gateway_tenant_id);
proxy_set_header X-Scope-OrgID %(gateway_tenant_id)s;
location = /api/prom/push {
proxy_pass http://distributor.%(namespace)s.svc.cluster.local:%(http_listen_port)s$request_uri;

Loading…
Cancel
Save