diff --git a/manifests/monitoring/inges.yaml b/manifests/monitoring/inges.yaml index 3b9bead..4df5e89 100644 --- a/manifests/monitoring/inges.yaml +++ b/manifests/monitoring/inges.yaml @@ -77,6 +77,7 @@ metadata: nginx.ingress.kubernetes.io/force-ssl-redirect: "true" nginx.ingress.kubernetes.io/auth-type: basic nginx.ingress.kubernetes.io/auth-secret: prometheus-credentials + nginx.ingress.kubernetes.io/auth-secret-type: auth-file spec: ingressClassName: nginx tls: diff --git a/manifests/monitoring/promtail.yaml b/manifests/monitoring/promtail.yaml index 27394ba..011887a 100644 --- a/manifests/monitoring/promtail.yaml +++ b/manifests/monitoring/promtail.yaml @@ -60,6 +60,10 @@ data: filename: /run/promtail/positions.yaml server: http_listen_port: 3101 + clients: + - url: http://loki.auth-proxy.svc:80/loki/api/v1/push + external_labels: + kubernetes_cluster: scaleway target_config: sync_period: 10s scrape_configs: @@ -578,8 +582,6 @@ spec: imagePullPolicy: IfNotPresent args: - "-config.file=/etc/promtail/promtail.yaml" - - "-client.url=http://loki.auth-proxy.svc:80/loki/api/v1/push" - - "-client.external-labels=kubernetes_cluster=scaleway" volumeMounts: - name: config mountPath: /etc/promtail