39 lines
1.5 KiB
Plaintext
39 lines
1.5 KiB
Plaintext
Thank you for installing {{ .Chart.Name }}!
|
|
|
|
Your release is named {{ .Release.Name }}.
|
|
|
|
To learn more about the release, try:
|
|
|
|
$ helm status {{ .Release.Name }}
|
|
$ helm get all {{ .Release.Name }}
|
|
|
|
{{- if .Values.frontend.ingress.enabled }}
|
|
|
|
Application URLs:
|
|
{{- range .Values.frontend.ingress.hosts }}
|
|
Frontend: https://{{ .host }}
|
|
{{- end }}
|
|
{{- range .Values.backend.ingress.hosts }}
|
|
Backend API: https://{{ .host }}
|
|
{{- end }}
|
|
{{- else }}
|
|
|
|
To access your application:
|
|
|
|
1. Get the frontend URL:
|
|
export POD_NAME=$(kubectl get pods --namespace {{ .Values.global.namespace }} -l "app.kubernetes.io/name={{ include "invy.name" . }},app.kubernetes.io/instance={{ .Release.Name }},app.kubernetes.io/component=frontend" -o jsonpath="{.items[0].metadata.name}")
|
|
kubectl --namespace {{ .Values.global.namespace }} port-forward $POD_NAME 8080:80
|
|
echo "Visit http://127.0.0.1:8080 to use your application"
|
|
|
|
2. Get the backend URL:
|
|
export POD_NAME=$(kubectl get pods --namespace {{ .Values.global.namespace }} -l "app.kubernetes.io/name={{ include "invy.name" . }},app.kubernetes.io/instance={{ .Release.Name }},app.kubernetes.io/component=backend" -o jsonpath="{.items[0].metadata.name}")
|
|
kubectl --namespace {{ .Values.global.namespace }} port-forward $POD_NAME 8000:8000
|
|
echo "Visit http://127.0.0.1:8000 to access the API"
|
|
{{- end }}
|
|
|
|
Database connection:
|
|
Host: {{ include "invy.fullname" . }}-db
|
|
Port: {{ .Values.postgres.port }}
|
|
Database: {{ .Values.postgres.database }}
|
|
User: {{ .Values.postgres.user }}
|