modified: .gitea/workflows/monitoring-deploy.yaml
This commit is contained in:
@@ -38,10 +38,12 @@ jobs:
|
||||
# secrets.LOKI_URL = https://<LOKISERVER>/loki/api/v1/push
|
||||
- name: Deploy promtail
|
||||
shell: bash
|
||||
env:
|
||||
LOKI_URL: "${{ secrets.LOKI_URL }}"
|
||||
run: |
|
||||
# add repo
|
||||
helm repo add grafana https://grafana.github.io/helm-charts
|
||||
# Install & Upgrade
|
||||
helm upgrade --install promtail grafana/promtail --namespace monitoring \
|
||||
--values=./monitoring/promtail/values.yaml --set config.clients.url=${{ secrets.LOKI_URL }} --debug
|
||||
--values=./monitoring/promtail/values.yaml --set config.clients.url=$LOKI_URL --debug
|
||||
|
||||
|
||||
Reference in New Issue
Block a user