From a8a2dc9b50eb9f0c067a4524cde9e8a458d5657f Mon Sep 17 00:00:00 2001 From: joffrey-bion Date: Sun, 14 Feb 2021 03:05:23 +0100 Subject: Use profiles to avoid sending local logs to Loki --- kubernetes/server.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kubernetes/server.yml') diff --git a/kubernetes/server.yml b/kubernetes/server.yml index 3838bdfb..e9ef25ff 100644 --- a/kubernetes/server.yml +++ b/kubernetes/server.yml @@ -16,6 +16,9 @@ spec: containers: - name: seven-wonders-server env: + # Profile "prod" is used in particular to enable sending logs to Loki + - name: SPRING_PROFILES_ACTIVE + value: prod - name: LOKI_USERNAME valueFrom: secretKeyRef: -- cgit