mirror of
https://github.com/rtomik/helm-charts.git
synced 2026-04-05 09:40:38 +00:00
75 lines
3.4 KiB
Plaintext
75 lines
3.4 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 }} -n {{ .Release.Namespace }}
|
|
$ helm get all {{ .Release.Name }} -n {{ .Release.Namespace }}
|
|
|
|
{{- if .Values.ingress.enabled }}
|
|
|
|
Application URL:
|
|
{{- range .Values.ingress.hosts }}
|
|
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ .host }}{{ range .paths }}{{ .path }}{{ end }}
|
|
{{- end }}
|
|
{{- else }}
|
|
|
|
Get the application URL by running these commands:
|
|
{{- if contains "NodePort" .Values.service.type }}
|
|
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "norish.fullname" . }})
|
|
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.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 "norish.fullname" . }}'
|
|
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "norish.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
|
|
echo http://$SERVICE_IP:{{ .Values.service.port }}
|
|
{{- else if contains "ClusterIP" .Values.service.type }}
|
|
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "norish.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
|
|
export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
|
|
echo "Visit http://127.0.0.1:8080 to use your application"
|
|
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT
|
|
{{- end }}
|
|
{{- end }}
|
|
|
|
IMPORTANT CONFIGURATION NOTES:
|
|
|
|
1. Database Configuration:
|
|
{{- if .Values.database.host }}
|
|
Using external PostgreSQL at: {{ .Values.database.host }}:{{ .Values.database.port }}
|
|
{{- else }}
|
|
⚠️ WARNING: Database host is not configured!
|
|
Configure database.host to point to your PostgreSQL server.
|
|
{{- end }}
|
|
|
|
2. Master Key:
|
|
{{- if .Values.config.masterKey.existingSecret }}
|
|
Using existing secret: {{ .Values.config.masterKey.existingSecret }}
|
|
{{- else }}
|
|
{{- if not .Values.config.masterKey.value }}
|
|
⚠️ WARNING: Master key is not set! Generate one with: openssl rand -base64 32
|
|
{{- else }}
|
|
Master key configured from values.yaml
|
|
{{- end }}
|
|
{{- end }}
|
|
|
|
3. Authentication:
|
|
{{- if or .Values.config.auth.oidc.enabled .Values.config.auth.github.enabled .Values.config.auth.google.enabled }}
|
|
{{- if .Values.config.auth.oidc.enabled }}
|
|
- OIDC provider: {{ .Values.config.auth.oidc.name }}
|
|
{{- end }}
|
|
{{- if .Values.config.auth.github.enabled }}
|
|
- GitHub OAuth enabled
|
|
{{- end }}
|
|
{{- if .Values.config.auth.google.enabled }}
|
|
- Google OAuth enabled
|
|
{{- end }}
|
|
After first login, configure additional providers in Settings → Admin
|
|
{{- else }}
|
|
⚠️ WARNING: No authentication provider configured!
|
|
Configure ONE provider (OIDC, GitHub, or Google) to create your admin account.
|
|
{{- end }}
|
|
|
|
For more information, visit: https://github.com/norishapp/norish
|