adds helm chart
This commit is contained in:
39
timetracker-chart/templates/NOTES.txt
Normal file
39
timetracker-chart/templates/NOTES.txt
Normal file
@@ -0,0 +1,39 @@
|
||||
CHART NAME: {{ .Chart.Name }}
|
||||
CHART VERSION: {{ .Chart.Version }}
|
||||
APP VERSION: {{ .Chart.AppVersion }}
|
||||
|
||||
** Please be patient while the chart is being deployed **
|
||||
|
||||
1. Get the application URL by running these commands:
|
||||
{{- if .Values.ingress.enabled }}
|
||||
- http{{ if .Values.ingress.tls.enabled }}s{{ end }}://{{ (index .Values.ingress.hosts 0).host }}
|
||||
{{- else if contains "NodePort" .Values.frontend.service.type }}
|
||||
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "timetracker.fullname" . }}-frontend)
|
||||
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
|
||||
echo http://$NODE_IP:$NODE_PORT
|
||||
{{- else if contains "LoadBalancer" .Values.frontend.service.type }}
|
||||
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
|
||||
You can watch the status by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "timetracker.fullname" . }}-frontend'
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "timetracker.fullname" . }}-frontend --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
|
||||
echo http://$SERVICE_IP
|
||||
{{- else if contains "ClusterIP" .Values.frontend.service.type }}
|
||||
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ include "timetracker.fullname" . }}-frontend 8080:80
|
||||
echo "Visit http://127.0.0.1:8080 to use your application"
|
||||
{{- end }}
|
||||
|
||||
2. Check the status of the pods:
|
||||
kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "timetracker.name" . }},app.kubernetes.io/instance={{ .Release.Name }}"
|
||||
|
||||
3. PostgreSQL Credentials:
|
||||
Username: {{ .Values.postgresql.auth.username }}
|
||||
Password: {{ .Values.postgresql.auth.password }}
|
||||
Database: {{ .Values.postgresql.auth.database }}
|
||||
|
||||
IMPORTANT NOTES:
|
||||
- Make sure to change the OIDC configuration in values.yaml
|
||||
- Change the SESSION_SECRET from the default value for production
|
||||
- Configure ingress host and TLS settings for your environment
|
||||
|
||||
OIDC Configuration Required:
|
||||
issuerUrl: {{ .Values.backend.oidc.issuerUrl | default "NOT SET - REQUIRED" }}
|
||||
clientId: {{ .Values.backend.oidc.clientId | default "NOT SET - REQUIRED" }}
|
||||
Reference in New Issue
Block a user