Skip to content
Snippets Groups Projects
Commit 8f041871 authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

clean the hostname also in NOTES.txt

parent c1c17b3d
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ type: application ...@@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # 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. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.6.0 version: 0.6.1
# This is the version number of the application being deployed. This version number should be # 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 # incremented each time you make changes to the application. Versions are not expected to
......
The application will be up shortly at: The application will be up shortly at:
https://{{ .Values.ingress.hostname }} https://{{ include "chart.hostnameCleaned" . }}
Settings: Settings:
- Image used: {{ .Values.imageFullNameAndTag }} - Image used: {{ .Values.imageFullNameAndTag }}
......
...@@ -49,3 +49,7 @@ Selector labels ...@@ -49,3 +49,7 @@ Selector labels
app.kubernetes.io/name: {{ include "chart.name" . }} app.kubernetes.io/name: {{ include "chart.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }} {{- end }}
{{- define "chart.hostnameCleaned" -}}
{{- .Values.ingress.hostname | replace "_" "-" | replace "--" "-" | quote }}
{{- end }}
\ No newline at end of file
...@@ -8,7 +8,7 @@ metadata: ...@@ -8,7 +8,7 @@ metadata:
spec: spec:
ingressClassName: {{ .Values.ingress.className | quote }} ingressClassName: {{ .Values.ingress.className | quote }}
rules: rules:
- host: {{ .Values.ingress.hostname | replace "_" "-" | replace "--" "-" | quote }} - host: {{ include "chart.hostnameCleaned" . }}
http: http:
paths: paths:
- path: / - path: /
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment