Skip to content

Commit

Permalink
Merge pull request #43 from neticdk/KAMSTRUPKUB-1650
Browse files Browse the repository at this point in the history
KAMSTRUPKUB-1650
  • Loading branch information
Jolo1993 authored Apr 5, 2024
2 parents be9b36a + 684bab6 commit cf4fa82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/aoi/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Create the hostname for the read path to tsdb.
{{- if .Values.global.tsdb.high_availability.enabled }}
{{- printf "promxy" }}
{{- else }}
{{- printf "aoi-victoria-metrics-single-1-server" }}
{{- printf "victoria-metrics-single-1-server" }}
{{- end }}
{{- end }}

Expand Down
4 changes: 2 additions & 2 deletions charts/aoi/templates/auth-proxy/_helpers-authProxy.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ priorityClassName: {{ $pcn }}
authProxy upstreamUrl
*/}}
{{- define "aoi.upstreamUrl" -}}
{{- printf "http://%s.%s.svc.%s:%s" (include "aoi.readHost" . ) .Release.Namespace .Values.global.clusterDomain (include "aoi.readPort" . ) }}
{{- end }}
{{- printf "http://%s-%s.%s.svc.%s:%s" (include "aoi.name" . ) (include "aoi.readHost" . ) .Release.Namespace .Values.global.clusterDomain (include "aoi.readPort" . ) }}
{{- end }}

0 comments on commit cf4fa82

Please sign in to comment.