summaryrefslogtreecommitdiff
path: root/kubernetes
diff options
context:
space:
mode:
authorjoffrey-bion <joffrey.bion@gmail.com>2021-02-14 03:05:23 +0100
committerjoffrey-bion <joffrey.bion@gmail.com>2021-02-14 03:08:37 +0100
commita8a2dc9b50eb9f0c067a4524cde9e8a458d5657f (patch)
tree56e9b7e6f464f86d92c28279197c00d294d30ab2 /kubernetes
parentAdd timestamp to logs (diff)
downloadseven-wonders-a8a2dc9b50eb9f0c067a4524cde9e8a458d5657f.tar.gz
seven-wonders-a8a2dc9b50eb9f0c067a4524cde9e8a458d5657f.tar.bz2
seven-wonders-a8a2dc9b50eb9f0c067a4524cde9e8a458d5657f.zip
Use profiles to avoid sending local logs to Loki
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/server.yml3
1 files changed, 3 insertions, 0 deletions
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:
bgstack15