Skip to content

Commit

Permalink
Merge pull request #1 from neticdk/fix-single-node-grafana-read-url
Browse files Browse the repository at this point in the history
fix single node grafana read url when auth is disabled
  • Loading branch information
netic-rkm authored Dec 5, 2023
2 parents 9da926b + cc00762 commit ffbc2e9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: aoi
description: A Helm chart for Netic application operations infrastructure
type: application
version: 0.1.0
version: 0.1.1
dependencies:
- name: grafana
version: 7.0.9
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# aoi

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

A Helm chart for Netic application operations infrastructure

Expand Down Expand Up @@ -167,4 +167,4 @@ A Helm chart for Netic application operations infrastructure
| victoria-metrics-single-2.server.serviceMonitor.extraLabels."netic.dk/monitoring" | string | `"true"` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Autogenerated from chart metadata using [helm-docs v1.11.3](https://github.com/norwoodj/helm-docs/releases/v1.11.3)
4 changes: 2 additions & 2 deletions templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,6 @@ Grafana read url
{{- if .Values.authProxy.enabled }}
{{- printf "http://%s-auth-proxy.%s.svc.%s:8080" (include "aoi.name" . ) .Release.Namespace .Values.global.clusterDomain }}
{{- else }}
{{- printf "http://%s-promxy.%s.svc.%s:8082" (include "aoi.name" . ) .Release.Namespace .Values.global.clusterDomain }}
{{- printf "http://%s-%s.%s.svc.%s:8082" (include "aoi.name" . ) (include "aoi.readHost" . ) .Release.Namespace .Values.global.clusterDomain (include "aoi.readPort" . ) }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit ffbc2e9

Please sign in to comment.