diff --git a/helm/cv-app/templates/NOTES.txt b/helm/cv-app/templates/NOTES.txt new file mode 100644 index 0000000..96fc479 --- /dev/null +++ b/helm/cv-app/templates/NOTES.txt @@ -0,0 +1,27 @@ +Your CV application has been deployed! + +Access your application at: +{{- if .Values.ingress.enabled }} +{{- range $host := .Values.ingress.hosts }} + http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }} +{{- end }} +{{- else }} + Frontend: http://{{ include "cv-app.fullname" . }}-frontend.{{ .Release.Namespace }}.svc.cluster.local + Backend API: http://{{ include "cv-app.fullname" . }}-backend.{{ .Release.Namespace }}.svc.cluster.local:3001 +{{- end }} + +{{- if eq .Values.backend.auth.mode "simple" }} +Get the admin password: + kubectl logs deployment/{{ include "cv-app.fullname" . }}-backend | grep "ADMIN PASSWORD" +{{- end }} + +API Documentation: +{{- if .Values.ingress.enabled }} +{{- if .Values.ingress.tls }} + https://{{ (index .Values.ingress.hosts 0).host }}/api/docs +{{- else }} + http://{{ (index .Values.ingress.hosts 0).host }}/api/docs +{{- end }} +{{- else }} + http://{{ include "cv-app.fullname" . }}-backend.{{ .Release.Namespace }}.svc.cluster.local:3001/api/docs +{{- end }}