Skip to content

Commit

Permalink
Merge pull request #1102 from DSD-DBS/fix-loki-live-and-bump-loki-ver…
Browse files Browse the repository at this point in the history
…sion

fix: Properly set loki header in proxy and bump helm chart to 5.30.0
  • Loading branch information
MoritzWeber0 authored Oct 16, 2023
2 parents 0dbc3cc + 744aa5b commit 74e2137
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 9 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,7 @@ jobs:
--set docker.images.backend="/backend:$TAG" \
--set docker.images.guacamole.guacamole="ghcr.io/dsd-dbs/capella-collab-manager/guacamole:$TAG" \
--set docker.images.docs="/docs:$TAG" \
--set loki.loki.read.persistence.size="500Mi" \
--set loki.loki.write.persistence.size="500Mi" \
--set loki.minio.persistence.size="500Mi" \
--set loki.enabled=False \
--set cluster.pvc.storageClassName="standard" \
--set cluster.imagePullSecret="github" \
--set promtail.storageClassName="standard" \
Expand Down
6 changes: 3 additions & 3 deletions helm/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: loki
repository: https://grafana.github.io/helm-charts/
version: 3.10.0
digest: sha256:61a7869029f0f6ba5e1c07ff7608ecc96f51f4d6d4329a0007fcbccc2296384d
generated: "2023-01-17T10:43:28.957955005+01:00"
version: 5.30.0
digest: sha256:afdc744b3c8e3b9f5c6caf9858de7b6c70e5f97c178c9728828d5fcd713dc20d
generated: "2023-10-16T13:58:40.468168+02:00"
2 changes: 1 addition & 1 deletion helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ dependencies:
- name: loki
alias: loki
condition: loki.enabled
version: 3.10.0
version: 5.30.0
repository: https://grafana.github.io/helm-charts/
2 changes: 2 additions & 0 deletions helm/config/nginx-grafana.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ http {
location /grafana/ {
auth_request /auth;
rewrite ^/grafana/(.*) /$1 break;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
proxy_set_header X-WEBAUTH-USER "admin";
proxy_pass http://{{ .Release.Name }}-grafana-server:3118;
Expand Down
11 changes: 9 additions & 2 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -270,14 +270,21 @@ loki:
# Minimum 2 is required
replicas: 2

# We don't want to limit to specific noeds
# We don't want to limit to specific nodes
affinity: ""
resources: *resourcesLoki
write:
# Minimum 2 is required
replicas: 2

# We don't want to limit to specific noeds
# We don't want to limit to specific nodes
affinity: ""
resources: *resourcesLoki
backend:
# Minimum 2 is required
replicas: 2

# We don't want to limit to specific nodes
affinity: ""
resources: *resourcesLoki
serviceAccount:
Expand Down

0 comments on commit 74e2137

Please sign in to comment.