diff --git a/charts/smarter-cloud/Chart.yaml b/charts/smarter-cloud/Chart.yaml index dcad7a1..7426b35 100644 --- a/charts/smarter-cloud/Chart.yaml +++ b/charts/smarter-cloud/Chart.yaml @@ -17,7 +17,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.3 +version: 0.1.4 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/smarter-cloud/templates/NOTES.txt b/charts/smarter-cloud/templates/NOTES.txt index 5eb9e49..b9ed3db 100644 --- a/charts/smarter-cloud/templates/NOTES.txt +++ b/charts/smarter-cloud/templates/NOTES.txt @@ -2,5 +2,5 @@ Your SMARTER cloud instance has been deployed. Next deploy an edge server and e For more details and instructions go to https://getsmarter.io If you deployed your instance correctly, you should be able to log into grafana at -https://grafana.{{ .Values.domain }} with the username admin and the password {{ .Values.prometheus.grafana.adminPassword }} +https://{{ .Values.host }}.{{ .Values.domain }} with the username admin and the password {{ .Values.prometheus.grafana.adminPassword }} diff --git a/charts/smarter-cloud/templates/grafana-ingress.yaml b/charts/smarter-cloud/templates/grafana-ingress.yaml index 775bb9f..c92a412 100644 --- a/charts/smarter-cloud/templates/grafana-ingress.yaml +++ b/charts/smarter-cloud/templates/grafana-ingress.yaml @@ -7,7 +7,7 @@ metadata: cert-manager.io/cluster-issuer: cert-manager-acme-issuer spec: rules: - - host: grafana.{{ .Values.domain }} + - host: {{ .Values.host }}.{{ .Values.domain }} http: paths: - path: / @@ -20,4 +20,4 @@ spec: tls: - secretName: {{ .Release.Name }}-grafana-tls hosts: - - grafana.{{ .Values.domain }} \ No newline at end of file + - {{ .Values.host }}.{{ .Values.domain }} diff --git a/charts/smarter-cloud/values.yaml b/charts/smarter-cloud/values.yaml index ef4a01d..a4eb93f 100644 --- a/charts/smarter-cloud/values.yaml +++ b/charts/smarter-cloud/values.yaml @@ -2,6 +2,7 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. +host: grafana domain: example.com cert-manager: