This commit is contained in:
subochev 2026-02-20 16:32:21 +03:00
parent 745988f46d
commit 8f6f6239fc
3 changed files with 3 additions and 1 deletions

View File

@ -68,7 +68,7 @@ jobs:
pathToHelm='./helms/${{ github.event.inputs.repo_path }}' pathToHelm='./helms/${{ github.event.inputs.repo_path }}'
releaseName=$(basename "$pathToHelm") releaseName=$(basename "$pathToHelm")
echo "Release Name: $releaseName" echo "Release Name: $releaseName"
helm upgrade --install --force "$releaseName" "$pathToHelm" \ helm upgrade --install "$releaseName" "$pathToHelm" \
--namespace devx \ --namespace devx \
--kubeconfig ./ku.yaml \ --kubeconfig ./ku.yaml \
--create-namespace \ --create-namespace \

View File

@ -28,6 +28,7 @@ spec:
template: template:
metadata: metadata:
annotations: annotations:
rollme: {{ .Release.Revision | quote }}
metric.binom.pw/enabled: '{{$.Values.metrics}}' metric.binom.pw/enabled: '{{$.Values.metrics}}'
{{ if ($.Values.metrics) }} {{ if ($.Values.metrics) }}
metric.binom.pw/url: ":9090/prometheus" metric.binom.pw/url: ":9090/prometheus"

View File

@ -28,6 +28,7 @@ spec:
template: template:
metadata: metadata:
annotations: annotations:
rollme: {{ .Release.Revision | quote }}
metric.binom.pw/enabled: '{{$.Values.metrics}}' metric.binom.pw/enabled: '{{$.Values.metrics}}'
{{ if ($.Values.metrics) }} {{ if ($.Values.metrics) }}
metric.binom.pw/url: ":9090/prometheus" metric.binom.pw/url: ":9090/prometheus"