Skip to content

Commit

Permalink
Fix release version collision, vmalert config, cleanup cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Basov committed Dec 5, 2024
1 parent 87f0935 commit 8eea4b4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 33 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,4 @@ jobs:
- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_SKIP_EXISTING: true
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
8 changes: 4 additions & 4 deletions charts/motel-regional/templates/victoria/vmalert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
spec:
configMaps: []
datasource:
url: http://vmselect-cluster.mon.svc:8481/select/0/prometheus
url: http://vmselect-cluster.{{ .Release.Namespace }}.svc:8481/select/0/prometheus
evaluationInterval: 15s
externalLabels: {}
extraArgs:
Expand All @@ -17,11 +17,11 @@ spec:
tag: v1.105.0
license: {}
notifiers:
- url: http://vmalertmanager-cluster-0.vmalertmanager-cluster.mon.svc:9093/
- url: http://vmalertmanager-cluster-0.vmalertmanager-cluster.{{ .Release.Namespace }}.svc:9093/
port: "8080"
remoteRead:
url: {{ .Values.victoriametrics.vmalert.remoteRead | default "http://vmselect-cluster.mon.svc:8481/select/0/prometheus" }}
url: {{ .Values.victoriametrics.vmalert.remoteRead | default (printf "http://vmselect-cluster.%s.svc:8481/select/0/prometheus" .Release.Namespace) }}
remoteWrite:
url: http://vminsert-cluster.mon.svc:8480/insert/0/prometheus/api/v1/write
url: http://vminsert-cluster.{{ .Release.Namespace }}.svc:8480/insert/0/prometheus/api/v1/write
selectAllByDefault: true
{{- end }}
27 changes: 0 additions & 27 deletions demo/README.md

This file was deleted.

0 comments on commit 8eea4b4

Please sign in to comment.