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
|
# secrets.LOKI_URL = https://<LOKISERVER>/loki/api/v1/push
|
||||||
- name: Deploy promtail
|
- name: Deploy promtail
|
||||||
shell: bash
|
shell: bash
|
||||||
|
env:
|
||||||
|
LOKI_URL: "${{ secrets.LOKI_URL }}"
|
||||||
run: |
|
run: |
|
||||||
# add repo
|
# add repo
|
||||||
helm repo add grafana https://grafana.github.io/helm-charts
|
helm repo add grafana https://grafana.github.io/helm-charts
|
||||||
# Install & Upgrade
|
# Install & Upgrade
|
||||||
helm upgrade --install promtail grafana/promtail --namespace monitoring \
|
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